Forum Discussion
error in ModelSim?
- 1 year ago
Hi,
Inside the testbench myProject_tb_1.v, make sure the module name also myProject_tb_1.
Thanks,
Regards,
Sheng
Hi,
Inside the testbench myProject_tb_1.v, make sure the module name also myProject_tb_1.
Thanks,
Regards,
Sheng
Hi,
From your hint I compared my successful test bench myProject_tb.v with myProject_tb_1.v and found following difference:
myProject_tb.v: module myProject_tb ;
myProject_tb_1.v: \module myProject_tb_1.v ;
After editing in myProject_tb_1.v: \module myProject_tb_1.v to module myProject_tb_1
and compiling again it works
It is essential that after changing the name of the test bench the design shall be compiled!
Nevertheless, I find it astonishing that modelsim generated a faulty myProject_tb_1.v. Well, now I will check every new test bench file.
Thank you very much. I appreciate your excellent support.
With best regards
Niko3