comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Getting started with bare-board development
Date: Sun, 13 Nov 2016 14:04:59 -0700
Date: 2016-11-13T14:04:59-07:00	[thread overview]
Message-ID: <o0akh0$fp4$1@dont-email.me> (raw)
In-Reply-To: <o0agtr$2gg$1@dont-email.me>

On 11/13/2016 01:03 PM, Adam Jensen wrote:
>
> When writing device drivers, how do you mock the memory map of the
> target hardware?
>
> In the mocked the hardware, how is timing controlled?
>
> When extending and mapping run-time support to the mocked hardware, how
> does that fit into the run-time system for the native platform (your
> workstation)?

You seem to be thinking at too low a level. There isn't any "mocked H/W", only 
mocked behavior. The H/W simulation bodies give the information or have the 
effect expected of the devices given the state of the reality modeled in the 
environment pkg, but they need have no similarity to the real bodies, and 
usually don't. The device may be memory mapped, but there's no reason for the 
simulation to be. If access the device takes appreciable time, that's usually 
simulated using a delay. There's usually no reason to limit these parts of the 
S/W to the constraints of the target run time.

-- 
Jeff Carter
"Beyond 100,000 lines of code you
should probably be coding in Ada."
P. J. Plauger
26

  reply	other threads:[~2016-11-13 21:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 22:19 Getting started with bare-board development Adam Jensen
2016-11-11 22:43 ` Maciej Sobczak
2016-11-12  9:45 ` G.B.
2016-11-12 16:14   ` Adam Jensen
2016-11-12 19:15     ` artium
2016-11-12 21:37       ` Adam Jensen
2016-11-13  4:01     ` Jeffrey R. Carter
2016-11-13 20:03       ` Adam Jensen
2016-11-13 21:04         ` Jeffrey R. Carter [this message]
2016-11-13 22:00           ` Adam Jensen
2016-11-14  8:11             ` Paul Rubin
2016-11-14 23:03               ` Adam Jensen
2016-11-14  9:04             ` Dmitry A. Kazakov
2016-11-14 23:35               ` Adam Jensen
2016-11-15  8:38                 ` Dmitry A. Kazakov
2016-11-15  9:58                   ` Niklas Holsti
2016-11-15 17:32                   ` Adam Jensen
2016-11-16  9:30                     ` Dmitry A. Kazakov
2016-11-15  0:06             ` Jeffrey R. Carter
2016-11-14 18:17     ` Simon Wright
2016-11-14 22:52       ` Adam Jensen
2016-11-12 20:59 ` Brian Drummond
2016-11-15  1:14 ` antispam
2016-11-15  4:20   ` Adam Jensen
2016-11-19 22:46     ` antispam
2016-11-15 19:34 ` Robert Eachus
2016-11-15 22:07   ` Adam Jensen
replies disabled

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