fazal_ece
Newbie level 6
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
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