mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-23 20:58:55 +00:00
kernel: SigSpec use more const& + overloads to prevent implicit SigSpec
This commit is contained in:
parent
b567f03c26
commit
432a09af80
14 changed files with 96 additions and 82 deletions
|
@ -192,13 +192,13 @@ struct OptReduceWorker
|
|||
|
||||
if (all_tuple_bits_same)
|
||||
{
|
||||
old_sig_conn.first.append_bit(sig_y.at(i));
|
||||
old_sig_conn.second.append_bit(sig_a.at(i));
|
||||
old_sig_conn.first.append(sig_y.at(i));
|
||||
old_sig_conn.second.append(sig_a.at(i));
|
||||
}
|
||||
else if (consolidated_in_tuples_map.count(in_tuple))
|
||||
{
|
||||
old_sig_conn.first.append_bit(sig_y.at(i));
|
||||
old_sig_conn.second.append_bit(consolidated_in_tuples_map.at(in_tuple));
|
||||
old_sig_conn.first.append(sig_y.at(i));
|
||||
old_sig_conn.second.append(consolidated_in_tuples_map.at(in_tuple));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue