mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-01 16:13:45 +00:00
const: represent string constants as string, assert not accessed as bits
This commit is contained in:
parent
960bca0196
commit
498e0498c5
81 changed files with 764 additions and 690 deletions
|
|
@ -274,7 +274,10 @@ Aig::Aig(Cell *cell)
|
|||
name = mkname_last + stringf(":%d%c", p.second.as_int(), mkname_is_signed ? 'S' : 'U');
|
||||
} else {
|
||||
mkname_last = name;
|
||||
name += stringf(":%d", p.second.as_int());
|
||||
if (p.second.flags & RTLIL::CONST_FLAG_STRING_COMPACT)
|
||||
name += ":" + p.second.decode_string();
|
||||
else
|
||||
name += stringf(":%d", p.second.as_int());
|
||||
}
|
||||
|
||||
mkname_a_signed = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue