Forum Discussion

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

Question about Modelsim user defined radix

Hi,

In Modelsim wave view window, is it possible to set the radix for separate bit(s) in the signal. For example:

0000000010101100 (binary radix), instead of showing '172' in decimal radix, I'd like to see the decimal radix for each byte, namely {0,172}?

Thanks

1 Reply

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

    you can separate out and group each byte yourself, and then show each byte as decimal. This might be the easiest. The only way I know to define custom radix is define each state separately, which in your case is 2^16, which would mean way to much to code.