setting text aliases to signal values in modelsim waveforms

M

Mahurshi Akilla

Guest
is there a way in modelsim to set a desired binary signal to display
as text ?

for example:
whenever a signal (say, op_code) is 0110, i would like it to show up
as BLT in the waveform instead of 0110. this would be very easy on my
eyes.

is there a way to do that?

Mahurshi Akilla
 
Hi!
One of the ways in verilog i suppose you are using verilog, is to have
a code
which would assign the string to a variable and dump this variable in
the waveform.

Rajkumar...

Mahurshi Akilla wrote:
is there a way in modelsim to set a desired binary signal to display
as text ?

for example:
whenever a signal (say, op_code) is 0110, i would like it to show up
as BLT in the waveform instead of 0110. this would be very easy on my
eyes.

is there a way to do that?

Mahurshi Akilla
 
On 11 May 2007 21:45:51 -0700, Mahurshi Akilla <mahurshi@gmail.com>
wrote:

is there a way in modelsim to set a desired binary signal to display
as text ?

for example:
whenever a signal (say, op_code) is 0110, i would like it to show up
as BLT in the waveform instead of 0110.
Check out the commands [virtual signal] and [virtual type] in the
ModelSim command reference.

Alternatively, use VHDL enumerated types :)
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top