cores/gpio: remove Blinker
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 5 Jul 2019 11:09:21 +0000 (13:09 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 5 Jul 2019 11:09:21 +0000 (13:09 +0200)
litex/soc/cores/gpio.py

index 37f7353bc7fa4ebe18739103013c68220e5aac8c..b4ec50a3919c1efee43853c60a287b7107fd6da1 100644 (file)
@@ -26,10 +26,3 @@ class GPIOInOut(Module):
 
     def get_csrs(self):
         return self.gpio_in.get_csrs() + self.gpio_out.get_csrs()
-
-
-class Blinker(Module):
-    def __init__(self, signal, divbits=26):
-        counter = Signal(divbits)
-        self.comb += signal.eq(counter[divbits-1])
-        self.sync += counter.eq(counter + 1)