diff --git a/tests/abc_new/classic_map.ys b/tests/abc_new/classic_map.ys new file mode 100644 index 000000000..735ab0cc9 --- /dev/null +++ b/tests/abc_new/classic_map.ys @@ -0,0 +1,15 @@ +# https://github.com/YosysHQ/yosys/issues/6235 +# '&get' loses the mapping +read_verilog <> s); +endmodule +EOT + +hierarchy -top top +proc +techmap +opt + +logger -expect error "ABC returned unmapped node" 1 +abc_new -liberty openroad/cm_test_cells.lib -script +&put;strash;map;&get