mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-17 12:45:44 +00:00
WIP
This commit is contained in:
parent
afdae7b87e
commit
c3ffbf6fae
229 changed files with 3902 additions and 3835 deletions
|
|
@ -76,7 +76,7 @@ struct JsonWriter
|
|||
|
||||
string get_name(IdString name)
|
||||
{
|
||||
return get_string(name.unescape());
|
||||
return design->twines.unescaped_str(get_string(name));
|
||||
}
|
||||
|
||||
string get_name(TwineRef name)
|
||||
|
|
@ -205,7 +205,7 @@ struct JsonWriter
|
|||
for (auto c : module->cells()) {
|
||||
if (use_selection && !module->selected(c))
|
||||
continue;
|
||||
if (!scopeinfo_mode && c->type == ID($scopeinfo))
|
||||
if (!scopeinfo_mode && c->type == TW($scopeinfo))
|
||||
continue;
|
||||
f << stringf("%s\n", first ? "" : ",");
|
||||
f << stringf(" %s: {\n", get_name(c->name));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue