projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a980f0d
)
Fix polarity of EN_POL
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 21 Aug 2019 21:42:11 +0000
(14:42 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 21 Aug 2019 21:42:11 +0000
(14:42 -0700)
passes/pmgen/xilinx_srl.cc
patch
|
blob
|
history
diff --git
a/passes/pmgen/xilinx_srl.cc
b/passes/pmgen/xilinx_srl.cc
index 4a3a30f8323881a670c01783f93a6c1a7bf845c1..bd4dc59ab21b94862dba80fd4e4f153c8664d4f8 100644
(file)
--- a/
passes/pmgen/xilinx_srl.cc
+++ b/
passes/pmgen/xilinx_srl.cc
@@
-68,9
+68,9
@@
void reduce_chain(xilinx_srl_pm &pm)
c->setParam(ID(CLKPOL), 0);
else
log_abort();
- if (c->type.in(ID($_DFFE_N
N_), ID($_DFFE_PN
_)))
+ if (c->type.in(ID($_DFFE_N
P_), ID($_DFFE_PP
_)))
c->setParam(ID(ENPOL), 1);
- else if (c->type.in(ID($_DFFE_N
P
_), ID($_DFFE_PN_)))
+ else if (c->type.in(ID($_DFFE_N
N
_), ID($_DFFE_PN_)))
c->setParam(ID(ENPOL), 0);
else
c->setParam(ID(ENPOL), 2);