projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359b8fe
)
cores/gpio: remove Blinker
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Fri, 5 Jul 2019 11:09:21 +0000
(13:09 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Fri, 5 Jul 2019 11:09:21 +0000
(13:09 +0200)
litex/soc/cores/gpio.py
patch
|
blob
|
history
diff --git
a/litex/soc/cores/gpio.py
b/litex/soc/cores/gpio.py
index 37f7353bc7fa4ebe18739103013c68220e5aac8c..b4ec50a3919c1efee43853c60a287b7107fd6da1 100644
(file)
--- a/
litex/soc/cores/gpio.py
+++ b/
litex/soc/cores/gpio.py
@@
-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)