mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 10:03:36 +02:00
twine: remove LeafIdString since it was designed to cope with lack of content hashing
This commit is contained in:
@@ -59,7 +59,7 @@ struct DffinitPass : public Pass {
|
||||
{
|
||||
log_header(design, "Executing DFFINIT pass (set INIT param on FF cells).\n");
|
||||
|
||||
dict<IdString, dict<IdString, LeafIdString>> ff_types;
|
||||
dict<IdString, dict<IdString, IdString>> ff_types;
|
||||
bool highlow_mode = false, noreinit = false;
|
||||
std::string high_string, low_string;
|
||||
|
||||
@@ -80,7 +80,7 @@ struct DffinitPass : public Pass {
|
||||
if (args[argidx] == "-ff" && argidx+3 < args.size()) {
|
||||
IdString cell_name = design->twines.find(RTLIL::escape_id(args[++argidx]));
|
||||
IdString output_port = design->twines.find(RTLIL::escape_id(args[++argidx]));
|
||||
LeafIdString init_param = design->twines.add(RTLIL::escape_id(args[++argidx]));
|
||||
IdString init_param = design->twines.add(RTLIL::escape_id(args[++argidx]));
|
||||
ff_types[cell_name][output_port] = init_param;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user