OpenCores
no use no use 1/1 no use no use
Can not build cycle-accurate model of orpsocv2
by Kuoping on Feb 19, 2010
Kuoping
Posts: 26
Joined: Mar 27, 2009
Last seen: Feb 8, 2012
I can not find the files 'SpTraceVcdC.h' and 'SpTraceVcdC.cpp' on current SVN repository. It said following error messages when I build the cycle-accurate model.

\tSpTraceVcdC

make[1]: Entering directory `/home/anserine/IP/openrisc/orpsocv2/sim/vlt'
make[1]: *** No rule to make target `SpTraceVcdC.o'. Stop.
make[1]: Leaving directory `/home/anserine/IP/openrisc/orpsocv2/sim/vlt'
make: *** [vlt-modules-compile] Error 2
RE: Can not build cycle-accurate model of orpsocv2
by julius on Feb 19, 2010
julius
Posts: 323
Joined: Jul 1, 2008
Last seen: Feb 8, 2012
I can not find the files 'SpTraceVcdC.h' and 'SpTraceVcdC.cpp' on current SVN repository. It said following error messages when I build the cycle-accurate model.

\tSpTraceVcdC

make[1]: Entering directory `/home/anserine/IP/openrisc/orpsocv2/sim/vlt'
make[1]: *** No rule to make target `SpTraceVcdC.o'. Stop.
make[1]: Leaving directory `/home/anserine/IP/openrisc/orpsocv2/sim/vlt'
make: *** [vlt-modules-compile] Error 2


I take it you have just downloaded the latest version of Verilator (3.800) to use with ORPSoCv2?

I suggest doing an svn update - I fixed this today. Revision 70 of ORPSoCv2 will work with the latest verilator:

r70 | julius | 2010-02-19 14:22:14 +1000 (Fri, 19 Feb 2010) | 1 line
ORPSoC cycle accurate trace generation now compatible with latest version of Verilator \(3.800\) - This will break VCD generation on systems which earlier verilator versions\!

RE: Can not build cycle-accurate model of orpsocv2
by Kuoping on Feb 21, 2010
Kuoping
Posts: 26
Joined: Mar 27, 2009
Last seen: Feb 8, 2012
When I build the cycle-accurate model, it can not find the sram.vmem files to build the testbench. This is the patch file for Cygwin with verilator 3.80.
patch.cygwin (1 kb)
RE: Can not build cycle-accurate model of orpsocv2
by julius on Feb 22, 2010
julius
Posts: 323
Joined: Jul 1, 2008
Last seen: Feb 8, 2012
It is assumed you that the user is in the sim/run dir when running any of those tests. Are you trying to run the tests from the sim/bin path? The scripts are not designed to do that.
RE: Can not build cycle-accurate model of orpsocv2
by Kuoping on Feb 22, 2010
Kuoping
Posts: 26
Joined: Mar 27, 2009
Last seen: Feb 8, 2012
I just type 'make vlt-tests'. It will build the cycle-accurate model, and run the testbench in the meanwhile. It reports that it can not find the sram.vmem file.
RE: Can not build cycle-accurate model of orpsocv2
by julius on Feb 22, 2010
julius
Posts: 323
Joined: Jul 1, 2008
Last seen: Feb 8, 2012
It's working fine for me. Can you confirm you are doing a "make vlt-tests" under the sim/run path?
If you are still having issues, can you give me more information such as which test it is trying to run (it will print "Current test:" for each one) and any output indicating an error occurred.
RE: Can not build cycle-accurate model of orpsocv2
by Kuoping on Feb 23, 2010
Kuoping
Posts: 26
Joined: Mar 27, 2009
Last seen: Feb 8, 2012
Sorry, it's my fault. I run the "make vlt-tests" under the sim/bin path.
no use no use 1/1 no use no use
© copyright 1999-2012 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.