remove io_in/out now it is not needed for niolib
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 13 Nov 2020 15:45:51 +0000 (15:45 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 13 Nov 2020 15:45:54 +0000 (15:45 +0000)
src/soc/litex/florent/libresoc/core.py
src/soc/litex/florent/ls180soc.py

index 728034de78096f3bd1f4d10f8b7b66463fc7f200..370f9cdc2fb30cf518d48a87d3d066cbbb4eb28e 100644 (file)
@@ -157,10 +157,6 @@ class LibreSoC(CPU):
         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
 
@@ -216,9 +212,6 @@ class LibreSoC(CPU):
             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:
index 93ed3890eb03c8fd7d326cb4d1400d67f090fc40..4279effcffe2fbf15f877e9b2a1b76beab248dac 100755 (executable)
@@ -372,14 +372,6 @@ class LibreSoCSim(SoCCore):
 
         #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