Skip to content
Snippets Groups Projects
Commit 0b334ab3 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski
Browse files

generic_shiftreg_fifo: assert almost_full_o one cycle in advance

parent 8cd05d79
Branches
Tags
No related merge requests found
......@@ -158,7 +158,7 @@ begin
-- Detect when pointer is zero and maximum
pointer_zero <= '1' when pointer = 0 else '0';
pointer_full <= '1' when pointer = g_size - 1 else '0';
pointer_almost_full <= '1' when pointer_full = '1' or pointer = g_size - 2 else '0';
pointer_almost_full <= '1' when pointer_full = '1' or pointer = g_size -3 or pointer = g_size - 2 else '0';
-- assign internal signals to outputs
......
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