Skip to content

Commit abcd4cb

Browse files
committed
Add compilation script (pending to test)
1 parent 450dd04 commit abcd4cb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
echo 'Compiling *.c *cpp files'
3+
rm -rf unification.o
4+
#export SYSTEMC_HOME=/usr/local/systemc-3.0.0/
5+
#export LD_LIBRARY_PATH=$SYSTEMC_HOME/lib-linux64
6+
g++ -I$SYSTEMC_HOME/include -L$SYSTEMC_HOME/lib-linux64 unification_tb.cpp unification_pv_model.cpp -lsystemc -lm -o unification.o
7+
echo 'Simulation Started'
8+
./unification.o
9+
echo 'Simulation Ended'

0 commit comments

Comments
 (0)