mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-20 06:05:50 +00:00
WIP
This commit is contained in:
parent
afdae7b87e
commit
c3ffbf6fae
229 changed files with 3902 additions and 3835 deletions
|
|
@ -341,7 +341,7 @@ struct RTLILFrontendWorker {
|
|||
error("No wires found for legalization");
|
||||
int hash = hash_ops<RTLIL::IdString>::hash(id).yield();
|
||||
RTLIL::Wire *wire = current_module->wire_at(abs(hash % wires_size));
|
||||
log("Legalizing wire `%s' to `%s'.\n", id.unescape(), wire->name.unescape());
|
||||
log("Legalizing wire `%s' to `%s'.\n", design->twines.unescaped_str(id), design->twines.unescaped_str(wire->name));
|
||||
return wire;
|
||||
}
|
||||
|
||||
|
|
@ -748,7 +748,7 @@ struct RTLILFrontendWorker {
|
|||
} else
|
||||
error("RTLIL error: redefinition of cell %s.", cell_name_str);
|
||||
}
|
||||
RTLIL::Cell *cell = current_module->addCell(Twine{cell_name_str}, cell_type);
|
||||
RTLIL::Cell *cell = current_module->addCell(cell_name_ref, design->twines.add(Twine{cell_type.str()}));
|
||||
cell->absorb_attrs(std::move(attrbuf));
|
||||
|
||||
while (true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue