M
Matt Clement
Guest
Hello
I have a design that has a state machine with 39 states. I would like to
start the state machine at state 39 rather than the left most state in the
type list. I have seen this done online and in many tutorials however it
doesnt simulate correctly in Quartus II. Is this the proper way to define
the initial state to start on power up?
.....more vhdl.
ARCHITECTURE ONE OF HALF_CLONE IS
TYPE STATE_TYPE IS
(IDLE,S0,S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,S11,S12,S13,S14,S15,S16,S17,S18,S19,S20,S21,S22,S23,S24,S25,S26,S27,S28,S29,S30,S31,S32,S33,S34,S35,S36,S37,S38,S39);
SIGNAL STATE1: STATE_TYPE;
SIGNAL STATE: STATE_TYPE := S39;
SIGNAL TEMP : STD_LOGIC_VECTOR(31 DOWNTO 0);
......more vhdl.
Thanks for any help.
Matt
I have a design that has a state machine with 39 states. I would like to
start the state machine at state 39 rather than the left most state in the
type list. I have seen this done online and in many tutorials however it
doesnt simulate correctly in Quartus II. Is this the proper way to define
the initial state to start on power up?
.....more vhdl.
ARCHITECTURE ONE OF HALF_CLONE IS
TYPE STATE_TYPE IS
(IDLE,S0,S1,S2,S3,S4,S5,S6,S7,S8,S9,S10,S11,S12,S13,S14,S15,S16,S17,S18,S19,S20,S21,S22,S23,S24,S25,S26,S27,S28,S29,S30,S31,S32,S33,S34,S35,S36,S37,S38,S39);
SIGNAL STATE1: STATE_TYPE;
SIGNAL STATE: STATE_TYPE := S39;
SIGNAL TEMP : STD_LOGIC_VECTOR(31 DOWNTO 0);
......more vhdl.
Thanks for any help.
Matt