From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cec20777e0d41ea0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 02:49:17 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!skynet.be!fu-berlin.de!uni-berlin.de!193.114.91.187!not-for-mail From: Peter Amey Newsgroups: comp.lang.ada Subject: Re: Increased Interest In Ada? Date: Thu, 22 Feb 2001 10:43:42 +0000 Organization: Praxis Critical Systems Message-ID: <3A94ED5E.4FF1E8EB@praxis-cs.co.uk> References: <3A82EFA2.C8756B09@acm.org> <970ma1$1l7$1@nh.pace.co.uk> <9719vr$8a2$1@nh.pace.co.uk> NNTP-Posting-Host: 193.114.91.187 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 982838625 23993319 193.114.91.187 (16 [69815]) X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:5424 Date: 2001-02-22T10:43:42+00:00 List-Id: Marin David Condic wrote: > > It occurrs to me that much of the embedded programming experience could be > simulated in software. Obviously, you wouldn't get the "Real World" > experience of dealing with actual physical entities, but, for example, > actuators could be displayed on a screen and made to move much as they would > in the physical world. The software interface to such simulated sensors and > actuators wouldn't be quite the same thing as having to deal with actual > ports, memory addresses, etc., but it might be made close enough to be a > useful experience. Providing such a simulation in Ada would certainly be a > lot easier to achieve than finding an appropriate embedded target & compiler > port. > > Question: Given that a simulation like this would lack certain important > aspects of the embedded, realtime programming experience (having to somehow > work with a cross-compilation environment, dealing with linkage issues, > memory mapping, physical reality, etc.) might it still be useful as a > teaching tool? I think a simulation in conjunction with hardware would be > useful, but I'm wondering about finding a way around the problem of compiler > and hardware availability? > We have done something like this for the SPARK course. We have a visual basic :-( on-screen emulation of a hardware device and students can drive it from their SPARK code using interface packages we provide. The link between SPARK and VB is done with David Botton's excellent COM stuff. Peter