Solve modelsim error: (vish-4014) No objects found matching ‘sim:/test/tb_top/xxx/xxx/xxx’.

created at 11-08-2021 views: 38

error

This problem is mainly due to the addition of waveforms. That is, we added some waveforms before modifying the code and saved them in the simulation script, which is the file with the suffix of .do. When our test architecture is changed, some signals have also changed. At this time, An error will be reported, indicating that the signal in single quotes cannot be matched.
The simplest solution is to regenerate a do file. Or open the do file and delete or comment out part of the code that adds the waveform.
The corresponding code for adding the waveform part is as follows:

add wave -position insertpoint  \
sim:/test/tb_top/xxx/xxx/xxx \
sim:/test/tb_top/xxx/xxx/xxx

solution

Just delete all the corresponding places. It is from add to the last line of sim:/test/tb_top/xxx/xxx/xxx. Note that there is no sign of \ after the last signal. (That is, it starts with add and ends with a sim: without the \ symbol)
Corresponding annotation method:

#add wave -position insertpoint  \
sim:/test/tb_top/xxx/xxx/xxx \
sim:/test/tb_top/xxx/xxx/xxx

That is, you only need to add a # in front of add.

created at:11-08-2021
edited at: 11-08-2021: