From 2dfd2ab38721ce5a6f8117ce59cbc21883b1d62a Mon Sep 17 00:00:00 2001 From: stnolting <22944758+stnolting@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:24:40 +0100 Subject: [PATCH] minor edits --- rtl/core/neorv32_fifo.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/core/neorv32_fifo.vhd b/rtl/core/neorv32_fifo.vhd index d0d624412..95e22899f 100644 --- a/rtl/core/neorv32_fifo.vhd +++ b/rtl/core/neorv32_fifo.vhd @@ -149,7 +149,7 @@ begin -- Read Data ------------------------------------------------------------------------------ -- ------------------------------------------------------------------------------------------- fifo_read_async: -- asynchronous read - if (FIFO_RSYNC = false) generate + if not FIFO_RSYNC generate rdata_o <= fifo_mem(to_integer(unsigned(r_pnt(r_pnt'left-1 downto 0)))); -- status -- free_o <= free; @@ -158,7 +158,7 @@ begin end generate; fifo_read_sync: -- synchronous read - if (FIFO_RSYNC = true) generate + if FIFO_RSYNC generate sync_read: process(clk_i) begin if rising_edge(clk_i) then