mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 18:30:25 +00:00
const: string and bits in a variant
This commit is contained in:
parent
498e0498c5
commit
5f85eef3b4
6 changed files with 208 additions and 128 deletions
|
@ -143,7 +143,7 @@ struct OptMergeWorker
|
|||
for (auto &it : cell->parameters) {
|
||||
Const c = it.second;
|
||||
std::string s = "P " + it.first.str() + "=";
|
||||
s += (c.flags & RTLIL::CONST_FLAG_STRING_COMPACT) ? c.decode_string() : c.as_string();
|
||||
s += c.pretty_fmt_undef();
|
||||
s += "\n";
|
||||
hash_conn_strings.push_back(s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue