Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

ModelSim 6.6d Radix->Fixed Point

Hi all

I found this what looked like very useful command in ModelSim 6.6d Wave

When I right click a signal I get the Radix->Fixed Point. There I can select how many bits are the fractional part. How ever when I do this on any signal then I always get 11111.11 even if the bits where 1000110... I was hoping I would see something like 12.50, 13.25 etc...

Also ModelSim has crashed 2 times now when I have been trying this out... Is this a bug or is there any way to work around this? Or am I misunderstanding something...

Cheers

Stefan

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I get the same bug. It may be fixed in modelsim 10.

    However if I use fixed point types it works fine (I dont use decimal representation of fixed point - I just stick with hex).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The crash was fixed in 6.6f.

    To get the numbers displayed in decimal fractions, you need to set the default radix to decimal.