V
Vadim Rusu
Guest
Hi all,
I have the following SM construct in VHDL. The implementation is on a
APEX20K BGA. My SM gets to checkevnull_state, the EvNull is set, enters
the if cycle, asserts EnableEmptytoRAM but RAMClear never goes high and
the SM is stuck to that state. I have no clue what is going on, any help
will be appreciated.
V.
when checkevnull_state =>
RAMAdvance <= '0';
if (EvNull = '1') then
next_state <= write_null_state;
RAMClear <= '1';
EnableEmptytoRAM <= '1';
else
next_state <= ReadL1A_state;
end if;
when write_null_state =>
SM1Test <= '1';
next_state <= wait_null_state;
when wait_null_state =>
RAMClear<='0';
RAMWrite <= '1';
next_state <= null_state;
I have the following SM construct in VHDL. The implementation is on a
APEX20K BGA. My SM gets to checkevnull_state, the EvNull is set, enters
the if cycle, asserts EnableEmptytoRAM but RAMClear never goes high and
the SM is stuck to that state. I have no clue what is going on, any help
will be appreciated.
V.
when checkevnull_state =>
RAMAdvance <= '0';
if (EvNull = '1') then
next_state <= write_null_state;
RAMClear <= '1';
EnableEmptytoRAM <= '1';
else
next_state <= ReadL1A_state;
end if;
when write_null_state =>
SM1Test <= '1';
next_state <= wait_null_state;
when wait_null_state =>
RAMClear<='0';
RAMWrite <= '1';
next_state <= null_state;