From: Jean THOMAS Date: Tue, 30 Jun 2020 17:27:18 +0000 (+0200) Subject: Remove LED code in CRG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c5912dd61bd5a72e45b8d44806378cfc68806d9;p=gram.git Remove LED code in CRG --- diff --git a/gram/simulation/simsoc.py b/gram/simulation/simsoc.py index 4de14b7..ffcf961 100644 --- 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",