From: hadeshyp Date: Wed, 12 Dec 2007 13:59:55 +0000 (+0000) Subject: removed bug in bram fifo, Jan X-Git-Tag: oldGBE~661 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=895db21b44e92b04b77d51370e3211ce7159813b;p=trbnet.git removed bug in bram fifo, Jan --- diff --git a/xilinx/trb_net16_bram_fifo.vhd b/xilinx/trb_net16_bram_fifo.vhd index 6380721..072c41e 100644 --- a/xilinx/trb_net16_bram_fifo.vhd +++ b/xilinx/trb_net16_bram_fifo.vhd @@ -137,24 +137,6 @@ bram1: RAMB16_S18_S18 port map (ADDRA => read_addr, ADDRB => write_addr, -- -- --------------------------------------------------------------- --- proc1: process (clock, fifo_gsr) --- begin --- if (fifo_gsr = '1') then --- read_allow <= '0'; --- elsif (clock'EVENT AND clock = '1') then --- read_allow <= read_enable AND NOT emptyg; --- end if; --- end process proc1; --- --- proc2: process (clock, fifo_gsr) --- begin --- if (fifo_gsr = '1') then --- write_allow <= '0'; --- elsif (clock'EVENT AND clock = '1') then --- write_allow <= write_enable AND NOT fullg; --- end if; --- end process proc2; - write_allow <= write_enable AND NOT fullg; read_allow <= (read_enable or read_after_write) AND NOT empty;-- ; fcnt_allow <= write_allow XOR read_allow; -- and not read_after_write