aboutsummaryrefslogtreecommitdiffstats
path: root/passes/sat
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-09-30 14:58:23 +0200
committerClifford Wolf <clifford@clifford.at>2019-09-30 14:58:23 +0200
commit10e57f3880da8bfa373a3859a713509a549701c9 (patch)
treebbfae3c21f0d120ba3d5a209820310a76a5f38e0 /passes/sat
parent6216e45edae11fa3cc6e45a65762e5c215af0904 (diff)
downloadyosys-10e57f3880da8bfa373a3859a713509a549701c9.tar.gz
yosys-10e57f3880da8bfa373a3859a713509a549701c9.tar.bz2
yosys-10e57f3880da8bfa373a3859a713509a549701c9.zip
Fix $dlatch handling in async2sync
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'passes/sat')
-rw-r--r--passes/sat/async2sync.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/sat/async2sync.cc b/passes/sat/async2sync.cc
index 24ae6e448..740248545 100644
--- a/passes/sat/async2sync.cc
+++ b/passes/sat/async2sync.cc
@@ -198,6 +198,7 @@ struct Async2syncPass : public Pass {
module->addMux(NEW_ID, sig_d, new_q, sig_en, sig_q);
}
+ cell->setPort("\\D", sig_q);
cell->setPort("\\Q", new_q);
cell->unsetPort("\\EN");
cell->unsetParam("\\EN_POLARITY");