Dear Don Cragun,
Thank you very much for your reply.
I am using C macro to accomplish this. I can not pass states to remove from
as I am not aware of previous state. What I want is their should always have no more than one of the three low order bits set.
Example :- If I am in
currently then my state variable would be
. Now If I want to set state to
then my state variable should become
Thank you.
Hi I wanted to call the AutoFsm function (given below) in vim to generate a code something like:
**********verilog code to generate *************
always @(posedge clk or negedge rst_n) begin
if(!rst_n) begin
state_r <= #1 next_stateascii_r; ... (0 Replies)