EmbDev.net

Forum: FPGA, VHDL & Verilog Simulation Problems


Author: dhootha adhi (Company: Student) (gollum)
Posted on:

Rate this post
0 useful
not useful
When i tried to simulate my code(vhdl) , it says Isim doesn't support 
traceable variables and shows an error
at 0 ps: Error: :fixed_pkg:READ(sfixed) Decimal point does not match 
number format some hundred times.
I am using fixed points and therefore fixed_pkg and fixed_float_types 
packages.

What does that error mean??

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
> it says Isim doesn't support traceable variables
Correct, it does not support viewing of variables. Thats a pity.

> fixed_pkg:READ(sfixed) Decimal point does not match number format
Then have a look, how the function READ is defined in the fixed_pkg.
I assume, that the number of leading and trailing digits in the stimuli 
file does not fit the format you told the function READ...
http://www.eda-stds.org/vhdl-200x/vhdl-200x-ft/pac...

Author: dhootha adhi (Company: Student) (gollum)
Posted on:
Attached files:

Rate this post
0 useful
not useful
I am couldn't figure out my mistake :(

Here I attach one of my files. I used the fixed point in the same way in 
the other files too.

Author: dhootha adhi (Company: Student) (gollum)
Posted on:

Rate this post
0 useful
not useful
Hi Miller. I could solve that error after staring at the same code for 
three hours :P . I was taking the real type values from a txt file which 
i assigned to sfixed type variable.
Reading the package helped me gain some knowledge :) Thanks

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
dhootha adhi wrote:
> Hi Miller. I could solve that error after staring at the same code for
> three hours :P .
Nice to hear.
> I was taking the real type values from a txt file which i assigned to
> sfixed type variable.
That was what i assumed and the simulator said:
Decimal point does not match number format
> Reading the package helped me gain some knowledge :) Thanks
De nada. And good luck.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.