optimizing the constant writing in Verilog for single bits
This commit is contained in:
parent
933801cfa7
commit
e9937954f2
|
@ -661,6 +661,10 @@ std::string generate_verilog_constant_values(const std::vector<size_t>& const_va
|
|||
}
|
||||
}
|
||||
|
||||
if (1 == const_values.size()) {
|
||||
same_values = false;
|
||||
}
|
||||
|
||||
std::string str;
|
||||
|
||||
if ( (true == short_constant)
|
||||
|
|
Loading…
Reference in New Issue