Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32639

Re: essential features of modern day CPU architecure modeling technology

From mag <mag@nospam.com>
Newsgroups comp.arch
Message-ID <2016011008362014292-mag@nospam.com> (permalink)
References <20160108095238799-mag@nospam.com> <9b950e94-28d4-4a0a-ac19-868f60f21921@googlegroups.com>
Subject Re: essential features of modern day CPU architecure modeling technology
Organization http://www.panic.com/unison/
Date 2016-01-10 08:36 -0800

Show all headers | View raw


On 2016-01-09 00:31:41 +0000, MitchAlsup said:

> When:: I have been writing those kinds of things for 40-odd years.
> .......I start writing the code before the microarchitecture is even firm.
> 
> Speed:: No OS excursions:: a good metric is DIV 1000, that is simulation of
>         a single instruction should take no more than 1000 native instructions.
>         With OS excursions:: DIV 2000.
> 
> Accuracy:: Not-Bit-Level:: DIV 1000
>            Bit-Level    :: DIV 1200
> 
> Asynchronous:: This has more to do with determining when to see the 
> external event. This typically adds little, but requires running an OS 
> excursion capable Simulator. DIV 2000.
> 
> Cycle approximate: why bother

For performance reasons. Cycle accuracy entails slow down in my 
experience, but you get better results as you're usually modeling the 
pipeline accurately and thus have a clearer picture of what design 
you're actually going to implement. Likely you don't have a product 
until you can model at the cycle accurate level and do benchmarking 
therewith.

> Cycle accurate DIV 1000 or DIV 200 depending on OS excursions
> 
> Portable:: Academic: sure
>            Industrial:: Only from the designted tools given the 
> simulation team to the actual machine being simulated. No other 
> portability is required. Good programming practices should not prevent 
> portability, but when you get into bit munging for device control 
> registers in the OS capable simulators, crap happens that harms 
> portability.

In my experience portability has more to do with how well the model 
integrates well with the simulation tool(s) (can it run natively or 
does the simulator have to stop and run some other runtime 
environment/framework in which the model was created over some [usually 
inefficient and difficult to maintain] back-plane), with the foreign 
computer languages it has to talk to (preferebly we all use the same 
language that can model hardware at sufficiently required levels of 
abstraction, but often it's not the case yet [SystemC doesn't seem to 
have permeated all architectural modeling groups yet]), so 
alternatively it at least has the same ability to model hardware as a 
mature hardware modeling language but maybe using different (but 
hopefully similar) language expressions.

Also does it have the API to lend itself easily to multiple use cases: 
Can the hardware team use it easily for testing (there are many 
different ways but at a high level testing in simulation, testing in 
emulation, and testing in prototyping contexts), can the SW team use it 
to do many things for example easily create a tool chain that targets 
the hardware.

> 
> Be able to access the native OS disk storage, and environment variables.


Can you describe some modeling technology that meets these requirements 
with which you are familiar?

Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-08 09:52 -0800
  Re: essential features of modern day CPU architecure modeling technology MitchAlsup <MitchAlsup@aol.com> - 2016-01-08 16:31 -0800
    Re: essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-10 08:36 -0800
      Re: essential features of modern day CPU architecure modeling technology Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-01-12 18:58 +0000
        Re: essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-28 05:32 -0800

csiph-web