source: sources/src/How-to-Use.txt @ 5

Last change on this file since 5 was 1, checked in by buchmann, 17 years ago

Initial import from CVS repository

File size: 849 bytes
Line 
1How To Use SystemCASS
2=====================
3--   in 4 steps    --
4---------------------
5
61) Have the right models and the right top-level
7------------------------------------------------
8
9Models should be described as finite state machines.
10See details in SystemCASS documentation.
11
12SOCLIB models work fine.
13
142) Compile
15----------
16
17You need to set the include path.
18For example :
19g++ -c main.cc -I/users/outil/systemc/systemcass/systemcass/latest/include
20
213) Link
22-------
23
24You need to set the library path, specify the library and enable the shared library loader.
25For example :
26g++ -o main.x main.o -L/users/outil/systemc/systemcass/systemcass/latest/lib-SLA4x -lsystemc -rdynamic
27
284) Execution
29------------
30
31Set SYSTEMCASS environment before executing the simulator.
32For exemple :
33export SYSTEMC=/users/outil/systemc/systemcass/systemcass/latest
34
Note: See TracBrowser for help on using the repository browser.