Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15470 Discussions

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

GPlet
Beginner
944 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
146 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
146 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​

MuhammadAr_U_Intel
146 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
146 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​

MuhammadAr_U_Intel
146 Views

Hi,

 

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

 

Thanks,

Arslan

 

GPlet
Beginner
146 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