projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6f6c4
)
Make power-on delay signal synchronous
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 9 Jul 2020 14:26:16 +0000
(16:26 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 9 Jul 2020 14:26:16 +0000
(16:26 +0200)
examples/crg.py
patch
|
blob
|
history
diff --git
a/examples/crg.py
b/examples/crg.py
index 092c31953f33e98761108ef870c5af9511850324..117503e53c11695e55447d73b6fd57e3db40fc87 100644
(file)
--- 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)