From: Eddie Hung Date: Fri, 6 Mar 2020 18:09:01 +0000 (-0800) Subject: abc: add abc.debug scratchpad option X-Git-Tag: working-ls180~763^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2335c59e5bdd40c16ced821a27de7df00016963a;p=yosys.git abc: add abc.debug scratchpad option --- diff --git a/passes/techmap/abc.cc b/passes/techmap/abc.cc index 581652a41..e6c189c3e 100644 --- a/passes/techmap/abc.cc +++ b/passes/techmap/abc.cc @@ -1553,6 +1553,11 @@ struct AbcPass : public Pass { show_tempdir = design->scratchpad_get_bool("abc.showtmp", show_tempdir); markgroups = design->scratchpad_get_bool("abc.markgroups", markgroups); + if (design->scratchpad_get_bool("abc.debug")) { + cleanup = false; + show_tempdir = true; + } + size_t argidx, g_argidx; bool g_arg_from_cmd = false; char pwd [PATH_MAX];