Skip to content

Commit

Permalink
[rtl] FIFO remove redundant output register
Browse files Browse the repository at this point in the history
for sync FIFO with just a single entry
  • Loading branch information
stnolting committed Jun 23, 2024
1 parent c0b8020 commit 8ab8b97
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions rtl/core/neorv32_fifo.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,7 @@ begin
-- just 1 FIFO entry --
fifo_read_sync_small:
if (fifo_depth_c = 1) generate
sync_read_small: process(clk_i)
begin
if rising_edge(clk_i) then
rdata_o <= fifo_reg;
end if;
end process sync_read_small;
rdata_o <= fifo_reg;
end generate;

-- more than 1 FIFO entry --
Expand Down

0 comments on commit 8ab8b97

Please sign in to comment.