Y
yiannis
Guest
Hi everybody,
I have a project consisted of FSM's and i want to add enable signal. My
FSM's are in the following format...
always@(posedge clk)
begin
state <= next_state;
output<= n_output;
...
...
end
always@ (input1,input2.....)
begin
next_staste <= state;
case ( something)
A:
begin
next_state <= x;
n_output <= y;
end
B:
.....
endcase
end
Where do i have to put the enable signal?
Also, in cases that i want to power off some modules (for power
efficience), can i do this using the enable signal?
Thanks in advance,
Yiannis
I have a project consisted of FSM's and i want to add enable signal. My
FSM's are in the following format...
always@(posedge clk)
begin
state <= next_state;
output<= n_output;
...
...
end
always@ (input1,input2.....)
begin
next_staste <= state;
case ( something)
A:
begin
next_state <= x;
n_output <= y;
end
B:
.....
endcase
end
Where do i have to put the enable signal?
Also, in cases that i want to power off some modules (for power
efficience), can i do this using the enable signal?
Thanks in advance,
Yiannis