Commit 26e99818 authored by Dimitris Lampridis's avatar Dimitris Lampridis

hdl: disable show-ahead legacy mode for UART fifo

With this flag, the full UART FIFO will be used and the 'full' flag will be properly raised.

See also the relevant comments in the general-cores module.
parent 7e10d2db
......@@ -410,11 +410,11 @@ begin -- arch
U_Uart_Message_FIFO : generic_sync_fifo
generic map (
g_DATA_WIDTH => 8,
g_SIZE => c_MT_UART_MESSAGE_FIFO_SIZE,
g_SHOW_AHEAD => TRUE,
g_WITH_COUNT => TRUE)
g_DATA_WIDTH => 8,
g_SIZE => c_MT_UART_MESSAGE_FIFO_SIZE,
g_SHOW_AHEAD_LEGACY_MODE => FALSE,
g_SHOW_AHEAD => TRUE,
g_WITH_COUNT => TRUE)
port map (
rst_n_i => uart_fifo_reset_n,
clk_i => clk_sys_i,
......
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