Simulation Problems

OP (Company: Student) #2761176
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??
Moderator (Company: Titel) #2761184
> 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/packages_old/Fixed_ug.pdf
OP (Company: Student) #2761928
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
Moderator (Company: Titel) #2762117
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

A question of your own? This thread is over 14 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.