F
FP
Guest
I have an input pulse which can be high for more than one clock cycle.
I want to stay in wait state after i detect the posedge and switch to
armed state after i detect the negative edge. How do I do this in
verilog? I dont want to use wait statements as they are not
synthesizable. I am using an FSM to do this. I have tried using if
statements but it wont work.
Thanks in advance
I want to stay in wait state after i detect the posedge and switch to
armed state after i detect the negative edge. How do I do this in
verilog? I dont want to use wait statements as they are not
synthesizable. I am using an FSM to do this. I have tried using if
statements but it wont work.
Thanks in advance