Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

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

GPlet
Beginner
1,675 Views

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
MuhammadAr_U_Intel
877 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/solutions/rd07062010_692.html

 

Thanks,

Arslan

 

0 Kudos
GPlet
Beginner
877 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​

0 Kudos
MuhammadAr_U_Intel
877 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

 

0 Kudos
GPlet
Beginner
877 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​

0 Kudos
MuhammadAr_U_Intel
877 Views

Hi,

 

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

 

Thanks,

Arslan

 

0 Kudos
GPlet
Beginner
877 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

0 Kudos
Reply