Forum Discussion

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

Using different color of signals in ModelSim

Hello everyone, I have a simple (4x1) multiplexer that I want to simulate with modelsim. Now, I have given each input signal a different color and I want the output to be of different color each time a channel is selected. For example, if channel 1 is red then when the (select) signal is (00) and channel one is chosen the output is also red and when (01) the output switches to a different channel of a different color. Is it possible to accomplish this task? Thank you for your help. Of course for a (4x1) system it is easy to distinguish the channels, but difficulties arise when I want to use an (8x1) and (16x1) systems.

1 Reply

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

    This is something you may be able to do by defining custom types in modelsim.

    Look at the radix-define entry in the command reference manual.