Our forums have moved! Please go to http://forums.accellera.org for the new forums. The forums you see here will remain open for browsing, but are no longer open to new posts.
View email archives for the history of this mailing list.
systemc-forum - [Systemc-forum] Running Specman,SystemC and Verilog integrated env
- To: systemc-forum@xxxxxxxxxxx
- From: Darshan Sheth <darshan@xxxxxxxxxxxxxx>
- Date: Wed, 26 May 2004 14:51:45 -0500
- Send Email to firstname.lastname@example.org:
- Send new message
- Reply to this message
I am trying to integrate SystemC,Specman(eVC) and verilog modules.
Following are the steps of command I have executed:
1)make cds.lib, hdl.var and INCA_libs/worklib
>ncprep +overwrite -f run.f //run.f has all verilog file included, stubs
file from specman and verilog shell of SystemC module are also added
2)Generate Object file for SystemC module. Ouput files are: systemc.so
and <sc module>.o
>make dynamic // Makefile is derived from Makefiles.sc.template located
3)rename .o file to .so //ncelab_specman needs .so
mv sc module.o sc module.so
4)compile verilog files.
>ncvlog -f run.f -mess -work worklib -update
5)elaborate only SystemC
ncelab -sconly -loadsc systemc.so -work worklib <sc module>.so
****ERROR: Missing NCSC_MODULE_EXPORT macro for: <sc module>.so
Though I have defined the NCSC_MODULE_EXPORT(<sc module>)
6)elaborate with specman
ncelab_specman -loadsc <sc module>.so -mess -access +rwc -DRESOLUTION
pcietop specman specman_wave
ncelab: *F,SCILDD: Could not load SystemC model library <sc module>.so
(ld.so.1: ncelab_specman: fatal: relocation error: file <sc module>.so:
symbol write__t8sc_inout1ZbRCb: referenced symbol not found).
Can anybody help me in finding out what could be the possible reasons why
I am getting errors in steps 5 and 6.
(I have also set the LD_LIBRARY_PATH pointing to `ncroot`/tools.sun4v/systemc/lib)
Anybody needs further information, let me know.
If anybody has other idea/ have script to run integrated environment of specman,systemc
and verilog that would be of great help.
Thanks in advance,
Mail converted by the most-excellent MHonArc 2.6.10