From 84cbd185bbec911193d5d6ee920805b9f95205f1 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Sat, 24 Apr 2021 08:55:51 -0700 Subject: [PATCH] sysbus: fix concurrent read & writes --- sysbus/sysbus.vhdl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysbus/sysbus.vhdl b/sysbus/sysbus.vhdl index 36518a1..2cdd6c9 100644 --- a/sysbus/sysbus.vhdl +++ b/sysbus/sysbus.vhdl @@ -130,6 +130,8 @@ begin bus_we <= '0'; bus_re <= '1'; + m1_busy <= '1'; + when "0001" => state_next <= READING; owner_next <= "01"; @@ -138,6 +140,8 @@ begin bus_we <= '0'; bus_re <= '1'; + m0_busy <= '1'; + when "0011" => state_next <= READING; owner_next <= "10";