H
Hawker
Guest
Can someone please help me on this please?
Xilinx tools report
WARNING:Xst:736 - Found 8-bit latch for signal <Mtridata_PSRAM_DATA>
created at line 185.
WARNING:Xst:736 - Found 1-bit latch for signal <Mtrien_PSRAM_DATA>
created at line 185.
PSRAM_DATA should not be latched at any time. Just buffered and passed
through. Perhaps I should use a CASE statement with a "when others" but
then I have to create a variable that encompasses all these terms.
Here is what I have.
DB_handler: process ( FX2_MA_nSL, PSRAM_DATA, MI_DATA, MA_current_state,
FX2_MA_CNT_nUPDN ) -- Data Bus and OE handler
begin
if MA_current_state = RESET then
FX2_DATA <= "ZZZZZZZZ";
PSRAM_DATA <= "ZZZZZZZZ"; -- this is line 185
MI_OE <= '1';
PSRAM_nOE <= '1';
elsif FX2_MA_nSL = '0' then
FX2_DATA <= MI_DATA;
PSRAM_DATA <= "ZZZZZZZZ";
MI_OE <= '0';
PSRAM_nOE <= '1';
elsif FX2_MA_CNT_nUPDN = '0' THEN
PSRAM_DATA <= MI_DATA;
FX2_DATA <= "ZZZZZZZZ";
MI_OE <= '0';
PSRAM_nOE <= '1';
ELSE
FX2_DATA <= PSRAM_DATA;
MI_OE <= '1';
PSRAM_nOE <= '0';
END IF;
end process DB_handler;
Xilinx tools report
WARNING:Xst:736 - Found 8-bit latch for signal <Mtridata_PSRAM_DATA>
created at line 185.
WARNING:Xst:736 - Found 1-bit latch for signal <Mtrien_PSRAM_DATA>
created at line 185.
PSRAM_DATA should not be latched at any time. Just buffered and passed
through. Perhaps I should use a CASE statement with a "when others" but
then I have to create a variable that encompasses all these terms.
Here is what I have.
DB_handler: process ( FX2_MA_nSL, PSRAM_DATA, MI_DATA, MA_current_state,
FX2_MA_CNT_nUPDN ) -- Data Bus and OE handler
begin
if MA_current_state = RESET then
FX2_DATA <= "ZZZZZZZZ";
PSRAM_DATA <= "ZZZZZZZZ"; -- this is line 185
MI_OE <= '1';
PSRAM_nOE <= '1';
elsif FX2_MA_nSL = '0' then
FX2_DATA <= MI_DATA;
PSRAM_DATA <= "ZZZZZZZZ";
MI_OE <= '0';
PSRAM_nOE <= '1';
elsif FX2_MA_CNT_nUPDN = '0' THEN
PSRAM_DATA <= MI_DATA;
FX2_DATA <= "ZZZZZZZZ";
MI_OE <= '0';
PSRAM_nOE <= '1';
ELSE
FX2_DATA <= PSRAM_DATA;
MI_OE <= '1';
PSRAM_nOE <= '0';
END IF;
end process DB_handler;