Commit 30bf33d1 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Bug-fix of TXT Buffer. Now TXT Buffers are indexed from 0.

This is done since buffer ID is used to pick buffer select signal
which is indexed from 0 in std_logic_vector.
parent cc6528c7
......@@ -199,7 +199,7 @@ begin
elsif (rising_edge(clk_sys))then
--Store the data into the Buffer during the access
if (tran_wr(ID - 1) = '1') then
if (tran_wr(ID) = '1') then
if (to_integer(unsigned(tran_addr)) < 4) then
txt_buffer_meta_data(to_integer(unsigned(tran_addr))) <= tran_data;
else
......
Markdown is supported
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