mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/gpio: remove Blinker
This commit is contained in:
parent
359b8fe4bb
commit
3f6bd266d9
1 changed files with 0 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue