self.platform = platform
self.variant = variant
self.reset = Signal()
- # used by coriolis2 to connect up IO VSS/VDD to niolib GPIO cell lib
- if False:
- self.io_in = Signal()
- self.io_out = Signal()
irq_en = "noirq" not in variant
o_busy_o = Signal(), # not connected
o_memerr_o = Signal(), # not connected
o_pc_o = Signal(64), # not connected
-
- #o_io_in = 0, # set io_in signal to False (for niolib)
- #o_io_out = 1, # set io_in signal to True (for niolib)
)
if irq_en:
#ram_init = []
- if False:
- # for niolib temporary hack
- io_in = Signal()
- io_out = Signal()
-
- self.comb += io_in.eq(self.cpu.io_in)
- self.comb += io_out.eq(self.cpu.io_out)
-
# SDRAM ----------------------------------------------------
if with_sdram:
sdram_clk_freq = int(100e6) # FIXME: use 100MHz timings