baver
Newbie level 2
systemc port
I have a model of a design I'm working on in SystemC. I'm trying to use Modelsim to debug it.
It currently consists of two submodules, each instantiated in the top level module. All of these are in their respective header files.
The top level module is then instantiated in a test.cpp file.
After compiling, linking, and starting vsim, the signals in the test.cpp file appear correctly. However, any of the signals/ports of my top level entity and the submodules are called "signal_1", or "port_1", etc.
I have SC_MODULE_EXPORT(toplevel), and tried with SC_MODULE_EXPORT(child1) (and for child2), but none of this helped.
Anyone have any suggestions?
I attached a screenshot illustrating what I'm referring to, which also has the console output from vsim.
Thanks,
baver
I have a model of a design I'm working on in SystemC. I'm trying to use Modelsim to debug it.
It currently consists of two submodules, each instantiated in the top level module. All of these are in their respective header files.
The top level module is then instantiated in a test.cpp file.
After compiling, linking, and starting vsim, the signals in the test.cpp file appear correctly. However, any of the signals/ports of my top level entity and the submodules are called "signal_1", or "port_1", etc.
I have SC_MODULE_EXPORT(toplevel), and tried with SC_MODULE_EXPORT(child1) (and for child2), but none of this helped.
Anyone have any suggestions?
I attached a screenshot illustrating what I'm referring to, which also has the console output from vsim.
Thanks,
baver