OpenCores
URL https://opencores.org/ocsvn/spacewiresystemc/spacewiresystemc/trunk

Subversion Repositories spacewiresystemc

[/] [spacewiresystemc/] [trunk/] [work/] [run_stress_test.sh] - Blame information for rev 40

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 redbear
 
2 40 redbear
# export SC_SIGNAL_WRITE_CHECK=DISABLE
3 5 redbear
 
4 40 redbear
#SYSTEMC_HOME=/opt/systemc
5
 
6
#g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib64 -Wall -Wreorder -Wextra -std=c++11 -fPIC -shared -fpermissive -lsystemc `pkg-config gtkmm-3.0 --cflags --libs` -lboost_thread -lboost_system  ../systemC/main.cc -o final_spw.so
7
 
8
#g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux64 -std=c++11 -fPIC -shared -fpermissive -lsystemc ../systemC/main.cc -o final_spw.so
9
 
10
g++ -c -ldl -fpic ../vpi/vpi_test_stress/env_global_spw.cpp -Wall -Wextra  -std=c++11 -Wwrite-strings -fpermissive
11
 
12
g++ -shared  -Wall -Wextra -oenv_global_spw.vpi env_global_spw.o -lvpi -std=c++11 -Wwrite-strings -fpermissive
13
 
14
#EXECUTE LOOPBACK IP
15
#OBS: CHANGE on file env_global_spw.cpp variable LOOPBACK_VLOG_EN to 1
16
#iverilog -oenv_global_spw.vvp -D VERILOG_B ../rtl/RTL_VB/*.v ../testbench/module_tb.v
17
 
18
#EXECUTE WITH SYSTEMC
19
#OBS: CHANGE on file env_global_spw.cpp variable LOOPBACK_VLOG_EN to 0
20 5 redbear
iverilog -oenv_global_spw.vvp ../rtl/RTL_VB/*.v ../testbench/module_tb.v
21
 
22
vvp -M. -menv_global_spw env_global_spw.vvp

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.