add exec state to FSM

This commit is contained in:
Mario Hüttel 2017-11-23 00:33:15 +01:00
parent 7dec75c52e
commit 27b97dce01

View File

@ -36,7 +36,7 @@ end entity config_top;
architecture RTL of config_top is
type fsm_state_t is (IDLE, CMD, REPLY, HANG);
type fsm_state_t is (IDLE, CMD, EXEC, REPLY, HANG);
@ -187,6 +187,8 @@ begin -- architecture RTL
if byte_ready_rx = '1' then
-- TODO: Byte received. Do something
end if;
when EXEC =>
null; -- TODO: handle Wishbone communication
when REPLY =>
-- TODO: if reply_is_error = '1' then: wait for response that
-- indicates that the error is handled. Then switch back to command