comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada automatic code generation for Simulink models
Date: 31 May 2002 21:59:04 +0100
Date: 2002-05-31T21:59:04+01:00	[thread overview]
Message-ID: <x7vk7pkhw4n.fsf@pushface.org> (raw)
In-Reply-To: 3CF7DADA.77DB9166@NOSPAM.visteon.com

John Kern <jkern3@NOSPAM.visteon.com> writes (reordered to convention):

> Simon Wright wrote:
> > 
> > John Kern <jkern3@NOSPAM.visteon.com> writes:
> > 
> > > I see that the Mathworks is dropping support for automatically
> > > generating Ada code from Simulink models.  Has anyone from this
> > > group tried this product for developing control software and found
> > > it to be less than useful?  There seems to be a big push in the
> > > automotive industry for auto code generation of embedded
> > > controllers.  Too bad that we seem to be stuck with C.
> > 
> > I don't see quite why it matters, if you trust the generator? The C is
> > likely to be pretty readable (well, I guess I mean regularly
> > structured). Unless you get to modify the generated code ..
> 
> I guess what your are saying is to go ahead and allow code generators to
> use the "Universal Assembly" language, and use Ada for only the parts
> that cannot be modeled.  The auto industry is endeavoring to model the
> whole ECU in either Simulink or UML, leaving no room or need for
> generated Ada code.  However we still get bogged down with the
> standardization and modeling of the tasking kernel, the unsafe C
> constructs and MISRA compliance, weak typing and the representations of
> variables, etc. which didn't seem to be that big a problem when using
> Ada.

I did say "if you trust the generator". Clearly generating Ada
provides some external check on the generated code.

I would personally have little problem with a generated C model called
up by Ada (though your mention of "tasking kernel" does give me
pause. Does the generated code use this tasking kernel? perhaps that's
a new can of worms).



  reply	other threads:[~2002-05-31 20:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 20:27 Ada automatic code generation for Simulink models John Kern
2002-05-30  6:35 ` Robert C. Leif
2002-05-30  8:59 ` Rod Chapman
2002-05-30 15:20 ` Stephen Leake
2002-05-31 19:21 ` Simon Wright
2002-05-31 20:19   ` John Kern
2002-05-31 20:59     ` Simon Wright [this message]
2002-06-01 15:11     ` Stephen Leake
2002-06-01 17:09       ` Simon Wright
2002-06-01 18:23         ` Vinzent Hoefler
2002-06-01 19:38           ` Stephen Leake
2002-06-03  9:41       ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox