mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 21:03:40 +00:00
Transform all "\\*" identifiers into ID()
This commit is contained in:
parent
9f98241010
commit
78ba8b8574
25 changed files with 782 additions and 782 deletions
|
@ -671,8 +671,8 @@ struct FlowmapWorker
|
|||
labels[node] = -1;
|
||||
for (auto input : inputs)
|
||||
{
|
||||
if (input.wire->attributes.count("\\$flowmap_level"))
|
||||
labels[input] = input.wire->attributes["\\$flowmap_level"].as_int();
|
||||
if (input.wire->attributes.count(ID(\\$flowmap_level)))
|
||||
labels[input] = input.wire->attributes[ID(\\$flowmap_level)].as_int();
|
||||
else
|
||||
labels[input] = 0;
|
||||
}
|
||||
|
@ -1412,7 +1412,7 @@ struct FlowmapWorker
|
|||
for (auto gate_node : lut_gates[node])
|
||||
{
|
||||
auto gate_origin = node_origins[gate_node];
|
||||
lut->add_strpool_attribute("\\src", gate_origin.cell->get_strpool_attribute("\\src"));
|
||||
lut->add_strpool_attribute(ID(\\src), gate_origin.cell->get_strpool_attribute(ID(\\src)));
|
||||
packed_count++;
|
||||
}
|
||||
lut_count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue