From 9c5912dd61bd5a72e45b8d44806378cfc68806d9 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 30 Jun 2020 19:27:18 +0200 Subject: [PATCH] Remove LED code in CRG --- gram/simulation/simsoc.py | 7 ------- 1 file changed, 7 deletions(-) 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", -- 2.30.2