subprocess.check_call(["make", "-C", dst_dir])
def _initialize_rom(self):
- bios_file = os.path.join(self.output_dir, "software" "bios",
+ bios_file = os.path.join(self.output_dir, "software", "bios",
"bios.bin")
if self.soc.integrated_rom_size:
with open(bios_file, "rb") as boot_file:
from migen import *
from migen.genlib.misc import timeline
-from misoc.interconnect import csr, wishbone
+from misoc.interconnect import csr_bus, wishbone
class WB2CSR(Module):
bus_wishbone = wishbone.Interface()
self.wishbone = bus_wishbone
if bus_csr is None:
- bus_csr = csr.Interface()
+ bus_csr = csr_bus.Interface()
self.csr = bus_csr
###