vardan
Member level 1
virtual type modelsim
Hi all,
I used virtual signals for debugging FSM in ModelSim SE Plus 5.8a simulator. In the following example 2'bxx state is seen like IDLE.
virtual type {{2'b00 IDLE} {2'b01 READ } {2'b10 WRITE} {default Wrong_State}} fsm_state
virtual function {(fsm_state)State} STATE_virt
add wave STATE_virt
I prefer to see Wrong_State for all states except {2'b00 2'b01 2'b10}. How can it be coded?
Thanks in advance,
Vardan
Hi all,
I used virtual signals for debugging FSM in ModelSim SE Plus 5.8a simulator. In the following example 2'bxx state is seen like IDLE.
virtual type {{2'b00 IDLE} {2'b01 READ } {2'b10 WRITE} {default Wrong_State}} fsm_state
virtual function {(fsm_state)State} STATE_virt
add wave STATE_virt
I prefer to see Wrong_State for all states except {2'b00 2'b01 2'b10}. How can it be coded?
Thanks in advance,
Vardan