Community
cancel
Showing results for 
Search instead for 
Did you mean: 
GPlet
Beginner
853 Views

Error Messages from Modelsim Starter Edition : # ** Error: ERROR: .\RTL_simulation\adapted\result.vcd(2440): illegal value

The error is related to a real value in the VCD file :

line 2440 : r2.1e-09 signal1

Older Versions did not show this error.

0 Kudos
6 Replies
55 Views

Hi,

 

May I know how was the VCD generated in first place ?

 

In order to open a waveform using VCD, you need to convert VCD to WLF first.

 

Refer to KDB

 

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/soluti...

 

Thanks,

Arslan

 

GPlet
Beginner
55 Views

Hi,

 

thanks for your answer.

 

The VCD file comes from a SystemC Simulation. I would like to see this file together with a VCD file from a modelsim Simulation. BTW: The error message Comes from the vcd -> wlf conversion. Have a look to the attached VCD file.

 

Best regards

 

GPle​

55 Views

Hi,

 

Thanks for sharing the VCD file.

 

Looking at your .vcd file

line 14 $var real  1 aaaal VIO    $end It seems like bit width is set to 1.

$var type bitwidth id name

 

Try to increase the bit width to fix the issue.

 

Thanks,

Arslan

 

GPlet
Beginner
55 Views

 

Hi MUsman,

 

thanks for your reply ...

 

Unfortunately the SystemC VCD writer is writing the file in this way. Older Version of Modelsim did not have this Problem.

 

Best regards

 

GPK​

55 Views

Hi,

 

Per my understanding it is a problem from VCD writer side not Modelsim Intel side.

 

Thanks,

Arslan

 

GPlet
Beginner
55 Views

Hi Arslan,

 

I found a solution for may Problem.

 

$var real 1 aaaal test $end

 

When I delete the ​width defintion of the real variable it works fine. Question is why ?

 

Best regards

 

GPK

Reply