projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71fee7
)
Remove LED code in CRG
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Tue, 30 Jun 2020 17:27:18 +0000
(19:27 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Tue, 30 Jun 2020 17:27:18 +0000
(19:27 +0200)
gram/simulation/simsoc.py
patch
|
blob
|
history
diff --git
a/gram/simulation/simsoc.py
b/gram/simulation/simsoc.py
index 4de14b7dbb01feea3a01fa2b0c955deb307e4ae9..ffcf961eb95988bb7ba3cfc906509e7059c94e16 100644
(file)
--- a/
gram/simulation/simsoc.py
+++ b/
gram/simulation/simsoc.py
@@
-140,13
+140,6
@@
class ECPIX5CRG(Elaboratable):
m.d.comb += ResetSignal("sync").eq(~pll.lock|~pod_done)
m.d.comb += ResetSignal("dramsync").eq(~pll.lock|~pod_done)
- rgb_led = platform.request("rgb_led", 2)
- cnt = Signal(25)
- m.d.sync += cnt.eq(cnt+1)
- m.d.comb += rgb_led.r.eq(cnt[24])
- m.d.comb += rgb_led.g.eq(~pod_done)
- m.d.comb += rgb_led.b.eq(~pll.lock)
-
# Generating sync (100Mhz) from sync2x
m.submodules += Instance("CLKDIVF",