Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

modelsim compile error with systemC

Status
Not open for further replies.

fazal_ece

Newbie level 6
Joined
Aug 1, 2006
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,366
Hi,

I followed modeltech6.1d--> example-->sc_vlog--> test_ringbuf

and written a testbench.cpp.

As mentioned in the example i used

SC_MODULE_EXPORT(testbench);


while compiling with modelsim..... sccom -g testbench.cpp

i am getting the following error:

testbench.cpp: In function `void* mti__testbench(const char*, int)':
# testbench.cpp:12: parse error before `sc_module_name'
# ** Error: (sccom-6142) Compilation failed.


What is the meaning of the above errors???how to solve it??

regards.
fazal
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top