# set up CPU, with 64-to-32-bit downconverters
self.cpu = ExternalCore(name="ext_core")
cvtdbus = wishbone.Interface(addr_width=30, data_width=32,
- features={'stall'}, granularity=8)
+ granularity=8)
cvtibus = wishbone.Interface(addr_width=30, data_width=32,
- features={'stall'}, granularity=8)
+ granularity=8)
self.dbusdowncvt = WishboneDownConvert(self.cpu.dbus, cvtdbus)
self.ibusdowncvt = WishboneDownConvert(self.cpu.ibus, cvtibus)
self._arbiter.add(cvtibus) # I-Cache Master
m.submodules.bootmem = self.bootmem
m.submodules.ram = self.ram
m.submodules.uart = self.uart
- if False:
- m.submodules.intc = self.intc
- m.submodules.cpu = self.cpu
m.submodules.arbiter = self._arbiter
m.submodules.decoder = self._decoder
if hasattr(self, "ddrphy"):
m.submodules.dramcore = self.dramcore
m.submodules.drambone = self.drambone
if hasattr(self, "cpu"):
+ m.submodules.intc = self.intc
m.submodules.extcore = self.cpu
m.submodules.dbuscvt = self.dbusdowncvt
m.submodules.ibuscvt = self.ibusdowncvt