wiki:Usage

Version 3 (modified by buchmann, 17 years ago) (diff)

--

SystemCASS is a library you have to link with your hardware description in SystemC language. When you run the simulation, SystemCASS extracts options starting with -- :

==General==

  • --usage : print simulation performance (cycle per second) at the simulation end
  • --help : print available options
  • --nobanner : do not print SystemCASS splash screen
  • --nodynamiclink : do not link dynamically scheduling code
  • --nosim : run until elaboration stage. Don't simulate
  • --v : print internal SystemCASS kernel options (stderr)

==Tracing==

  • --tracestart n : start tracing functions at #n cycle
  • --notrace : disable all tracing functions (sc_trace). Usefull to gain a significant simulation speed up

==Debug==

  • --i : print all the sc_module instances, and all the sc_signal signals
  • --c : print schedule at simulation time (stderr)
  • --d : check port dependencies (stderr)
  • --f : print function list (stderr)
  • --modules filename : dump module hierarchy graph into specified dot file (tons of bugs inside)

==Scheduling==

  • --t : dump signal dependency or module dependency graph into a dot file
  • --edit : edit schedule before simulation (run $EDITOR or vim by default)
  • --a : use almost static scheduling (use sensitivity list instead of port dependency information) [default]
  • --m : use Mouchard's static scheduling (use port dependency information instead of sensitivity list)
  • --p : use entirely static scheduling (use port dependency information instead of sensitivity list) [best scheduling method]
  • --c : print scheduling at run/simulation time (stderr)

==Other==

  • save_on_exit <name> : save simulation state saved into <name> file when SystemCASS exits (SOCVIEW format)

Examples :

system.x --t --tracestart 1000000