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