From: Luke Kenneth Casson Leighton Date: Thu, 30 Jul 2020 12:19:07 +0000 (+0100) Subject: set sel line in minerva instruction fetch X-Git-Tag: semi_working_ecp5~487 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48c3433349f30a9305a72f16979695b8006e98ad;p=soc.git set sel line in minerva instruction fetch --- 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<