Use hashlib for core netlist structures

Signed-off-by: gatecat <[email protected]>
This commit is contained in:
gatecat
2021-06-02 14:27:56 +01:00
parent ff72454f83
commit 579b98c596
49 changed files with 383 additions and 368 deletions
+2 -2
View File
@@ -270,8 +270,8 @@ void ECP5CommandHandler::customAfterLoad(Context *ctx)
log_error("failed to parse LPF file '%s'\n", filename.c_str());
}
for (auto cell : sorted(ctx->cells)) {
CellInfo *ci = cell.second;
for (auto &cell : ctx->cells) {
CellInfo *ci = cell.second.get();
if (ci->type == ctx->id("$nextpnr_ibuf") || ci->type == ctx->id("$nextpnr_obuf") ||
ci->type == ctx->id("$nextpnr_iobuf")) {
if (!ci->attrs.count(ctx->id("LOC"))) {