diff --git a/lib/FIFO/src/async_fifo_ctrl.vhd b/lib/FIFO/src/async_fifo_ctrl.vhd index 90fe9be..a7db023 100644 --- a/lib/FIFO/src/async_fifo_ctrl.vhd +++ b/lib/FIFO/src/async_fifo_ctrl.vhd @@ -21,7 +21,7 @@ -- For questions and ideas, please contact the author at jens@jayfield.org ----------------------------------------------------------------------- --- $Header: /tmp/cvsroot/VHDL/lib/FIFO/src/async_fifo_ctrl.vhd,v 1.1 2008-08-23 08:20:28 Jens Exp $ +-- $Header: /tmp/cvsroot/VHDL/lib/FIFO/src/async_fifo_ctrl.vhd,v 1.2 2008-10-25 11:21:47 Jens Exp $ ----------------------------------------------------------------------- library IEEE; @@ -80,7 +80,7 @@ architecture Behavioral of async_fifo_ctrl is begin ptr_w <= bcnt_w(addr_width-1 downto 0); - ptr_r <= bcnt_r(addr_width-1 downto 0); + ptr_r <= bnxt_r(addr_width-1 downto 0); winc <= we and (not write_inhibit); rinc <= re and (not read_inhibit); fifo_full <= write_inhibit;