mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
minor fixes
This commit is contained in:
parent
523377efbe
commit
b1a90053f5
2 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ class Builder:
|
||||||
subprocess.check_call(["make", "-C", dst_dir])
|
subprocess.check_call(["make", "-C", dst_dir])
|
||||||
|
|
||||||
def _initialize_rom(self):
|
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")
|
"bios.bin")
|
||||||
if self.soc.integrated_rom_size:
|
if self.soc.integrated_rom_size:
|
||||||
with open(bios_file, "rb") as boot_file:
|
with open(bios_file, "rb") as boot_file:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from migen import *
|
from migen import *
|
||||||
from migen.genlib.misc import timeline
|
from migen.genlib.misc import timeline
|
||||||
|
|
||||||
from misoc.interconnect import csr, wishbone
|
from misoc.interconnect import csr_bus, wishbone
|
||||||
|
|
||||||
|
|
||||||
class WB2CSR(Module):
|
class WB2CSR(Module):
|
||||||
|
@ -10,7 +10,7 @@ class WB2CSR(Module):
|
||||||
bus_wishbone = wishbone.Interface()
|
bus_wishbone = wishbone.Interface()
|
||||||
self.wishbone = bus_wishbone
|
self.wishbone = bus_wishbone
|
||||||
if bus_csr is None:
|
if bus_csr is None:
|
||||||
bus_csr = csr.Interface()
|
bus_csr = csr_bus.Interface()
|
||||||
self.csr = bus_csr
|
self.csr = bus_csr
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue