From 3d79324fce90b22d1c95fb4d4e0711066d5aac66 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 16 Dec 2019 12:37:27 +0100 Subject: [PATCH] cpu/microwatt: drive stall signal (no burst support) --- litex/soc/cores/cpu/microwatt/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/cpu/microwatt/core.py b/litex/soc/cores/cpu/microwatt/core.py index a3b62a01..604c68bc 100644 --- a/litex/soc/cores/cpu/microwatt/core.py +++ b/litex/soc/cores/cpu/microwatt/core.py @@ -45,7 +45,7 @@ class Microwatt(CPU): # Wishbone instruction bus i_wishbone_insn_dat_r = wb_insn.dat_r, i_wishbone_insn_ack = wb_insn.ack, - i_wishbone_insn_stall = 0, + i_wishbone_insn_stall = wb_insn.cyc & ~wb_insn.ack, # No burst support o_wishbone_insn_adr = Cat(Signal(4), wb_insn.adr), o_wishbone_insn_dat_w = wb_insn.dat_w, @@ -57,7 +57,7 @@ class Microwatt(CPU): # Wishbone data bus i_wishbone_data_dat_r = wb_data.dat_r, i_wishbone_data_ack = wb_data.ack, - i_wishbone_data_stall = 0, + i_wishbone_data_stall = wb_data.cyc & ~wb_data.ack, # No burst support o_wishbone_data_adr = Cat(Signal(4), wb_data.adr), o_wishbone_data_dat_w = wb_data.dat_w, -- 2.30.2