Remove LED code in CRG
authorJean THOMAS <git0@pub.jeanthomas.me>
Tue, 30 Jun 2020 17:27:18 +0000 (19:27 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Tue, 30 Jun 2020 17:27:18 +0000 (19:27 +0200)
gram/simulation/simsoc.py

index 4de14b7dbb01feea3a01fa2b0c955deb307e4ae9..ffcf961eb95988bb7ba3cfc906509e7059c94e16 100644 (file)
@@ -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",