aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-23 09:48:26 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-23 09:52:55 +0200
commitec923652e2eb721aa16657e54a67666f855c3d65 (patch)
tree934ce8ee55c3c58a1e2c11f19eec194665413906 /passes/opt
parenta8d3a68971ccc4e47c54a906aae374a9a54b1415 (diff)
downloadyosys-ec923652e2eb721aa16657e54a67666f855c3d65.tar.gz
yosys-ec923652e2eb721aa16657e54a67666f855c3d65.tar.bz2
yosys-ec923652e2eb721aa16657e54a67666f855c3d65.zip
Refactoring {SigSpec|SigChunk}(RTLIL::Wire *wire, ..) constructor -- step 3/3
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_clean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc
index 165bb25c9..23fc48d5d 100644
--- a/passes/opt/opt_clean.cc
+++ b/passes/opt/opt_clean.cc
@@ -189,7 +189,7 @@ static void rmunused_module_signals(RTLIL::Module *module, bool purge_mode, bool
for (auto &it : module->wires) {
RTLIL::Wire *wire = it.second;
for (int i = 0; i < wire->width; i++) {
- RTLIL::SigSpec s1 = RTLIL::SigSpec::grml(wire, i), s2 = assign_map(s1);
+ RTLIL::SigSpec s1 = RTLIL::SigSpec(wire, i), s2 = assign_map(s1);
if (!compare_signals(s1, s2, register_signals, connected_signals, direct_wires))
assign_map.add(s1);
}