Basic operations

Run & pause

First run a simics simulator by simics

continue or c
stop

Checkpoint

Save all status in simics

write-configuration after_boot.conf 

To load this checkpoint, select File → Open Checkpoint and open after_boot.conf created earlier

Hindsight

Need special license.
Allow one “backward” simulator

set-bookmark booted 
skip-to bookmark = booted 

Tracing


Create a module

cd ${workspace}
${simics}/bin/workspace-setup --c-device=$MODULE

Module will be ${workspace}/modules/$MODULE

C Device module API

  • struct $MODULE_t
  • new_instance
  • new_instance
  • set_value_attribute
  • get_value_attribute
  • init_local

DML


Preinstall craff image

https://www.simics.net/mwf/vh?34#Linux%20on%20x86a
Put the download images to ${simics}/targets/<arch>/images/


Some philosophies in simics

Simics is a pure functional simulator, it has very simple timing model. It assumes that each instruction takes one time tick to execute and the processor execute all instructions in a sequential order.


CMP related topic: https://www.simics.net/mwf/topic_show.pl?tid=11658

 
parallelize_application/parallelize_application/simics.txt · Last modified: 2010/05/22 09:20 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki