projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdb9be
)
genlib: cleanup CRG
author
Sebastien Bourdeauducq
<sb@m-labs.hk>
Sat, 12 Sep 2015 11:40:07 +0000
(19:40 +0800)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Sat, 12 Sep 2015 11:40:07 +0000
(19:40 +0800)
migen/genlib/io.py
patch
|
blob
|
history
diff --git
a/migen/genlib/io.py
b/migen/genlib/io.py
index db1cfdef0d96a78b73adad60bc03008bdeef20fa..3439f08832a1ab8c42b3caba267777538bf31878 100644
(file)
--- a/
migen/genlib/io.py
+++ b/
migen/genlib/io.py
@@
-48,12
+48,12
@@
class CRG(Module):
clk = clk_se
# Power on Reset (vendor agnostic)
- rst
_n = Signal(
)
- self.sync.por += rst
_n.eq(1 & ~
rst)
+ rst
= Signal(reset=1
)
+ self.sync.por += rst
.eq(
rst)
self.comb += [
self.cd_sys.clk.eq(clk),
self.cd_por.clk.eq(clk),
- self.cd_sys.rst.eq(
~rst_n
)
+ self.cd_sys.rst.eq(
rst
)
]