B
Bob Perlman
Guest
On Mon, 21 Nov 2005 04:44:45 -0800, "Georgios Sidiropoulos"
<me00569@cc.uoi.gr> wrote:
place and route simulation? I find it more convienient to see the
state names than the values of the chosen fsm encoding type.
In each FSM I include a special section of code that assigns an ASCII
string with the name of the current state to a reg variable. I then
display the reg variable in the Modelsim waveform viewer in ASCII
format. This section of code is inside an 'ifdef statement that is
visible to the simulation tool but not the synthesizer. In Verilog
it'd look like this:
`ifdef synthesis
`else
//---- ASCII string code goes here
`endif
Bob Perlman
Cambrian Design Works
<me00569@cc.uoi.gr> wrote:
names (i.e. reset_state,idle_state,run_state)in the modelsim postI would like to monitor the functionality of a state machine
I have designed using ISE 7.1. Is there a way to retain the state
place and route simulation? I find it more convienient to see the
state names than the values of the chosen fsm encoding type.
In each FSM I include a special section of code that assigns an ASCII
string with the name of the current state to a reg variable. I then
display the reg variable in the Modelsim waveform viewer in ASCII
format. This section of code is inside an 'ifdef statement that is
visible to the simulation tool but not the synthesizer. In Verilog
it'd look like this:
`ifdef synthesis
`else
//---- ASCII string code goes here
`endif
Bob Perlman
Cambrian Design Works