From 5d5eeb45ccf06b065a1a3aef70720277e027d20b Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Sat, 13 Mar 2021 15:49:00 -0800 Subject: [PATCH] sysbus: fix reading not holding address --- sysbus/sysbus.vhdl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysbus/sysbus.vhdl b/sysbus/sysbus.vhdl index dfa2a64..d29c483 100644 --- a/sysbus/sysbus.vhdl +++ b/sysbus/sysbus.vhdl @@ -73,9 +73,11 @@ begin case state is when READING => if owner = "10" then + bus_addr <= m0_addr; m0_rdata <= bus_rdata; m1_busy <= '1'; else + bus_addr <= m1_addr; m1_rdata <= bus_rdata; m0_busy <= '1'; end if;