Skip to content

Commit 5562381

Browse files
committed
Remove &verify -y dependency, rely on ABC origin tracking
ABC now propagates origin mappings natively through optimization passes via vOrigins (berkeley-abc/abc#487), so we no longer need to run &verify -y and rewrite the output to reconstruct the mapping. Keep &verify for correctness checking but without -y flag. Co-developed-by: Claude Code v2.1.44 (claude-opus-4-6)
1 parent 6fb6443 commit 5562381

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

passes/techmap/abc9_exe.cc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,10 @@ void abc9_module(RTLIL::Design *design, std::string script_file, std::string exe
239239

240240
abc9_script += stringf("; &ps -l; &write -n %s/output.aig", tempdir_name);
241241
if (design->scratchpad_get_bool("abc9.verify")) {
242-
if (dff_mode) {
242+
if (dff_mode)
243243
abc9_script += "; &verify -s";
244-
} else {
245-
abc9_script += "; &verify -y";
246-
// Rewrite output to include "y" extension from verification
247-
abc9_script += stringf("; &write -n %s/output.aig", tempdir_name);
248-
}
244+
else
245+
abc9_script += "; &verify";
249246
}
250247
abc9_script += "; time";
251248
abc9_script = add_echos_to_abc9_cmd(abc9_script);

0 commit comments

Comments
 (0)