Commit 7c99d176 authored by Tristan Gingold's avatar Tristan Gingold

vmecore_test: fix write decoding address.

parent 8cfab527
......@@ -128,7 +128,7 @@ begin
if slave_i.we = '1' then
-- Write
nbr_write <= nbr_write + 1;
if slave_i.adr(25 downto 14) = x"000" then
if slave_i.adr(23 downto 12) = b"0000_0000_0000" then
case slave_i.adr (11 downto 10) is
when "00" =>
idx := to_integer(unsigned(slave_i.adr(9 downto 1)));
......
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