aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-09-30 17:04:03 +0200
committerGitHub <noreply@github.com>2019-09-30 17:04:03 +0200
commitdd67e8ce735bc9f15a8783f4c2e5c131fe4fe559 (patch)
treebbfae3c21f0d120ba3d5a209820310a76a5f38e0 /passes
parent6216e45edae11fa3cc6e45a65762e5c215af0904 (diff)
parent10e57f3880da8bfa373a3859a713509a549701c9 (diff)
downloadyosys-dd67e8ce735bc9f15a8783f4c2e5c131fe4fe559.tar.gz
yosys-dd67e8ce735bc9f15a8783f4c2e5c131fe4fe559.tar.bz2
yosys-dd67e8ce735bc9f15a8783f4c2e5c131fe4fe559.zip
Merge pull request #1417 from YosysHQ/clifford/fixasync2sync
Fix $dlatch handling in async2sync
Diffstat (limited to 'passes')
-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");