FSM goes into invalid state after reset...
- From: "akun" <akun.cheng@xxxxxxxxxxxx>
- Date: 29 Dec 2005 00:48:19 -0800
I have a design that is a one hot FSM.
Sometime the FSM was locked up invalid state after reset. But I had set
the default state.
Does anyone have any idea on how this could happen ?
Thanks
My design is as follows,
-------------------------------------------------
always @(posedge clk or negedge rst_n) begin
if (!rst_n)
cur_state <= IDLE;
else
cur_state <= next_state;
end
always @(*) beign
case (cur_state)
IDLE: next_state = ST1;
.
.
.
default: next_state = IDLE;
endcase
end
.
- Follow-Ups:
- Re: FSM goes into invalid state after reset...
- From: John Adair
- Re: FSM goes into invalid state after reset...
- From: francesco_poderico
- Re: FSM goes into invalid state after reset...
- Prev by Date: Re: USB Printer Interface
- Next by Date: Re: PCI interface on CYCLONE(ep1c6)
- Previous by thread: USB Printer Interface
- Next by thread: Re: FSM goes into invalid state after reset...
- Index(es):
Relevant Pages
|
|