Skip to content

Commit bbdfd0f

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 f3befb7 commit bbdfd0f

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
@@ -249,13 +249,10 @@ void abc9_module(RTLIL::Design *design, std::string script_file, std::string exe
249249

250250
abc9_script += stringf("; &ps -l; &write -n %s/output.aig", tempdir_name);
251251
if (design->scratchpad_get_bool("abc9.verify")) {
252-
if (dff_mode) {
252+
if (dff_mode)
253253
abc9_script += "; &verify -s";
254-
} else {
255-
abc9_script += "; &verify -y";
256-
// Rewrite output to include "y" extension from verification
257-
abc9_script += stringf("; &write -n %s/output.aig", tempdir_name);
258-
}
254+
else
255+
abc9_script += "; &verify";
259256
}
260257
abc9_script += "; time";
261258
abc9_script = add_echos_to_abc9_cmd(abc9_script);

0 commit comments

Comments
 (0)