1/1

|
problem with cycle-accurate simulation
by Jenny1990 on Apr 16, 2012 |
Jenny1990
Posts: 3 Joined: Dec 6, 2011 Last seen: Jan 6, 2013 |
||
|
hello everyone,
I have installed the systemC,the verilog-perl ,the system-perl and the verilator successfully and test all of them without any error.But when I want to follow the steps in the orpsocv2 user guide of the cycle-accurate simulation,there are some errors. make[2]: æ£å�¨è¿�å�¥ç�®å½� `/home/hcy/orpsocv2/sim/vlt' g++ -I. -MMD -I/home/hcy/verilator/include -I/home/hcy/verilator/include/vltstd -DVL_PRINTF=printf -DVM_TRACE=1 -DVM_COVERAGE=0 -fprofile-use -Wcoverage-mismatch -O3 -I/home/hcy/orpsocv2/sim/run/../../bench/sysc/include -I/home/hcy/systemC/systemc-2.2.0/include -c -o OrpsocAccess.o OrpsocAccess.cpp OrpsocAccess.cpp:43:54: error: Vorpsoc_top_ram_wb__A20_D20_M800000_MB17.h: 没æ��é�£ä¸ªæ��ä»¶æ��ç�®å½� OrpsocAccess.cpp:45:40: error: Vorpsoc_top_ram_wb_b3__pi3.h: 没æ��é�£ä¸ªæ��ä»¶æ��ç�®å½� OrpsocAccess.cpp: In constructor â��OrpsocAccess::OrpsocAccess(Vorpsoc_top*)â��: OrpsocAccess.cpp:64: error: invalid use of incomplete type â��struct Vorpsoc_top_ram_wb__M800000_MB17â�� Vorpsoc_top_orpsoc_top.h:13: error: forward declaration of â��struct Vorpsoc_top_ram_wb__M800000_MB17â�� OrpsocAccess.cpp: In member function â��uint32_t OrpsocAccess::get_mem32(uint32_t)â��: OrpsocAccess.cpp:187: error: invalid use of incomplete type â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.h:44: error: forward declaration of â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.cpp: In member function â��uint8_t OrpsocAccess::get_mem8(uint32_t)â��: OrpsocAccess.cpp:206: error: invalid use of incomplete type â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.h:44: error: forward declaration of â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.cpp: In member function â��void OrpsocAccess::set_mem32(uint32_t, uint32_t)â��: OrpsocAccess.cpp:235: error: invalid use of incomplete type â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.h:44: error: forward declaration of â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.cpp: In member function â��void OrpsocAccess::do_ram_readmemh()â��: OrpsocAccess.cpp:243: error: invalid use of incomplete type â��struct Vorpsoc_top_ram_wb_b3__pi3â�� OrpsocAccess.h:44: error: forward declaration of â��struct Vorpsoc_top_ram_wb_b3__pi3â�� make[2]: *** [OrpsocAccess.o] é��误 1 make[2]:æ£å�¨ç¦»å¼�ç�®å½� `/home/hcy/orpsocv2/sim/vlt' It seems like the "vlt" don't include some files.I felt very confused because my partner do the same thing as me with no error at all. Thanks a lot in advance. Jenny |
|||
|
RE: problem with cycle-accurate simulation
by Jenny1990 on Apr 16, 2012 |
Jenny1990
Posts: 3 Joined: Dec 6, 2011 Last seen: Jan 6, 2013 |
||
|
I felt very sorry there are some messy codes because in my ubuntu it is Chinese.Now I reconfigure it.
make[2]: Entering directory `/home/hcy/orpsocv2/sim/vlt' g++ -I. -MMD -I/home/hcy/verilator/include -I/home/hcy/verilator/include/vltstd -DVL_PRINTF=printf -DVM_TRACE=1 -DVM_COVERAGE=0 -fprofile-use -Wcoverage-mismatch -O3 -I/home/hcy/orpsocv2/sim/run/../../bench/sysc/include -I/home/hcy/systemC/systemc-2.2.0/include -c -o OrpsocAccess.o OrpsocAccess.cpp OrpsocAccess.cpp:43:54: error: Vorpsoc_top_ram_wb__A20_D20_M800000_MB17.h: No such file or directory OrpsocAccess.cpp:45:40: error: Vorpsoc_top_ram_wb_b3__pi3.h: No such file or directory OrpsocAccess.cpp: In constructor �OrpsocAccess::OrpsocAccess(Vorpsoc_top*)�: OrpsocAccess.cpp:64: error: invalid use of incomplete type �struct Vorpsoc_top_ram_wb__M800000_MB17� Vorpsoc_top_orpsoc_top.h:13: error: forward declaration of �struct Vorpsoc_top_ram_wb__M800000_MB17� OrpsocAccess.cpp: In member function �uint32_t OrpsocAccess::get_mem32(uint32_t)�: OrpsocAccess.cpp:187: error: invalid use of incomplete type �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.h:44: error: forward declaration of �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.cpp: In member function �uint8_t OrpsocAccess::get_mem8(uint32_t)�: OrpsocAccess.cpp:206: error: invalid use of incomplete type �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.h:44: error: forward declaration of �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.cpp: In member function �void OrpsocAccess::set_mem32(uint32_t, uint32_t)�: OrpsocAccess.cpp:235: error: invalid use of incomplete type �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.h:44: error: forward declaration of �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.cpp: In member function �void OrpsocAccess::do_ram_readmemh()�: OrpsocAccess.cpp:243: error: invalid use of incomplete type �struct Vorpsoc_top_ram_wb_b3__pi3� OrpsocAccess.h:44: error: forward declaration of �struct Vorpsoc_top_ram_wb_b3__pi3� make[2]: *** [OrpsocAccess.o] Error 1 make[2]: Leaving directory `/home/hcy/orpsocv2/sim/vlt' Or1200MonitorSC.cpp:(.text+0x5c49): undefined reference to `OrpsocAccess::setGpr(unsigned int, unsigned int)' Or1200MonitorSC.cpp:(.text+0x5d08): undefined reference to `OrpsocAccess::getGpr(unsigned int)' Or1200MonitorSC.cpp:(.text+0x5dac): undefined reference to `OrpsocAccess::getGpr(unsigned int)' Or1200MonitorSC.cpp:(.text+0x5dfa): undefined reference to `OrpsocAccess::getGpr(unsigned int)' Or1200MonitorSC.cpp:(.text+0x5e12): undefined reference to `OrpsocAccess::getGpr(unsigned int)' Or1200MonitorSC.cpp:(.text+0x5e3d): undefined reference to `OrpsocAccess::getGpr(unsigned int)' collect2: ld returned 1 exit status make[1]: *** [/home/hcy/orpsocv2/sim/run/../../sim/vlt/Vorpsoc_top] Error 1 make[1]: Leaving directory `/home/hcy/orpsocv2/sim/run' |
|||
|
RE: problem with cycle-accurate simulation
by olof on Apr 17, 2012 |
olof
Posts: 218 Joined: Feb 10, 2010 Last seen: Dec 17, 2018 |
||
|
Hi Jenny,
Can you give us the command line you used to run the tests. That will make it easier to reproduce the issue here -- Olof Kindgren ______________________________________________ ORSoC Website: www.orsoc.se Email: olof.kindgren@orsoc.se ______________________________________________ FPGA, ASIC, DSP - embedded SoC design |
|||
|
RE: problem with cycle-accurate simulation
by Jenny1990 on Apr 17, 2012 |
Jenny1990
Posts: 3 Joined: Dec 6, 2011 Last seen: Jan 6, 2013 |
||
|
I type in "make vlt-tests" under the /home/hcy/orpsocv2/sim/run directory.
And I found that under my "vlt" directory there are some files similar to the missing files.Their names are "Vorpsoc_top_ram_wb_b3__M800000_MB17.h" and "Vorpsoc_top_ram_wb__M800000_MB17.h". So I once tried to modify the files' name in the "OrpsocAccess.cpp",but still express me different errors. |
|||
1/1

