controller: support for reset into debug mode

parent dc5ededc
...@@ -215,7 +215,11 @@ begin ...@@ -215,7 +215,11 @@ begin
begin begin
if rising_edge(clk_i) then if rising_edge(clk_i) then
if reset_i = '1' then if reset_i = '1' then
state <= SC_NEWCHANNEL; if freeze_req_i = '1' then
state <= FREEZE;
else
state <= SC_NEWCHANNEL;
end if;
else else
case state is case state is
when SC_NEWCHANNEL => when SC_NEWCHANNEL =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment