Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - [Systemc-forum] Running Specman,SystemC and Verilog integrated env Message Thread: Previous | Next
  • To: systemc-forum@xxxxxxxxxxx
  • From: Darshan Sheth <darshan@xxxxxxxxxxxxxx>
  • Date: Wed, 26 May 2004 14:51:45 -0500
Send Email to
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: and <sc module>.o
>make dynamic // Makefile is derived from located at `ncroot`/tools.sun4v/systemc/files/make/

3)rename .o file to .so //ncelab_specman needs .so
mv sc module.o sc

4)compile verilog files.
>ncvlog -f run.f -mess -work worklib -update

5)elaborate only SystemC
ncelab -sconly -loadsc -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
Standard Output:
ncelab: *F,SCILDD: Could not load SystemC model library <sc module>.so ( 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,

By Date: Previous | Next Current Thread By Thread: Previous | Next

  Mail converted by the most-excellent MHonArc 2.6.10