From 48c3433349f30a9305a72f16979695b8006e98ad Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 30 Jul 2020 13:19:07 +0100 Subject: [PATCH] set sel line in minerva instruction fetch --- src/soc/minerva/units/fetch.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/soc/minerva/units/fetch.py b/src/soc/minerva/units/fetch.py index 20221275..b3e536b0 100644 --- a/src/soc/minerva/units/fetch.py +++ b/src/soc/minerva/units/fetch.py @@ -62,13 +62,15 @@ class BareFetchUnit(FetchUnitInterface, Elaboratable): m.d.sync += [ self.ibus.cyc.eq(0), self.ibus.stb.eq(0), + self.ibus.sel.eq(0), ibus_rdata.eq(self.ibus.dat_r) ] with m.Elif(self.a_valid_i & ~self.a_stall_i): m.d.sync += [ self.ibus.adr.eq(self.a_pc_i[self.adr_lsbs:]), self.ibus.cyc.eq(1), - self.ibus.stb.eq(1) + self.ibus.stb.eq(1), + self.ibus.sel.eq((1<<(1<