From: Jean THOMAS Date: Thu, 9 Jul 2020 14:26:16 +0000 (+0200) Subject: Make power-on delay signal synchronous X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fe60dbf6d5d1040b4ec70f84babd8b1ddf8df2f;p=gram.git Make power-on delay signal synchronous --- diff --git a/examples/crg.py b/examples/crg.py index 092c319..117503e 100644 --- a/examples/crg.py +++ b/examples/crg.py @@ -109,7 +109,7 @@ class ECPIX5CRG(Elaboratable): pod_done = Signal() with m.If(podcnt != 0): m.d.rawclk += podcnt.eq(podcnt-1) - m.d.comb += pod_done.eq(podcnt == 0) + m.d.rawclk += pod_done.eq(podcnt == 0) # Generating sync2x (200Mhz) and init (25Mhz) from clk100 cd_sync2x = ClockDomain("sync2x", local=False)