mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Refactoring {SigSpec|SigChunk}(RTLIL::Wire *wire, ..) constructor -- step 2/3
This commit is contained in:
parent
260c19ec5a
commit
a8d3a68971
15 changed files with 33 additions and 47 deletions
|
@ -466,7 +466,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
|
|||
clk_str = clk_str.substr(1);
|
||||
}
|
||||
if (module->wires.count(RTLIL::escape_id(clk_str)) != 0)
|
||||
clk_sig = assign_map(RTLIL::SigSpec(module->wires.at(RTLIL::escape_id(clk_str)), 1, 0));
|
||||
clk_sig = assign_map(RTLIL::SigSpec::grml(module->wires.at(RTLIL::escape_id(clk_str)), 0));
|
||||
}
|
||||
|
||||
if (dff_mode && clk_sig.size() == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue