summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-08-08 15:46:00 +0200
committerClifford Wolf <clifford@clifford.at>2013-08-08 15:46:00 +0200
commitd97782b848bf5da4529e5b732b1ad06177539a93 (patch)
tree5a8cdb84f9c311bd39782d8633d09768c1ba0aa8
parent6a40e46a042ace384cabd78c7db967a271aadae7 (diff)
Sort ctrl signals in fsm_extract
-rw-r--r--passes/fsm/fsm_extract.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/passes/fsm/fsm_extract.cc b/passes/fsm/fsm_extract.cc
index 6fb65de0..a593c3e6 100644
--- a/passes/fsm/fsm_extract.cc
+++ b/passes/fsm/fsm_extract.cc
@@ -247,6 +247,9 @@ static void extract_fsm(RTLIL::Wire *wire)
}
ctrl_in.remove(ctrl_out);
+ ctrl_in.sort_and_unify();
+ ctrl_out.sort_and_unify();
+
log(" ctrl inputs: %s\n", log_signal(ctrl_in));
log(" ctrl outputs: %s\n", log_signal(ctrl_out));