Skip to content
Snippets Groups Projects
Commit b29cdf96 authored by Tristan Gingold's avatar Tristan Gingold
Browse files

iram: in case of double-error, write a correct ecc

parent caf0dc27
Branches
No related merge requests found
......@@ -197,7 +197,7 @@ begin
else
-- Uncorrectable. Just recompute the ECC to be able to continue.
n_ecc_fatal <= '1';
wdata_ecc <= rdata_ecc;
wdata_ecc <= recc & rdata_ecc(31 downto 0);
end if;
waddr <= last_raddr;
wen <= '1';
......
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