abc: add abc.debug scratchpad option
authorEddie Hung <eddie@fpgeh.com>
Fri, 6 Mar 2020 18:09:01 +0000 (10:09 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 6 Mar 2020 18:09:01 +0000 (10:09 -0800)
passes/techmap/abc.cc

index 581652a41ae93cb469d6d4cb78fe91eee29586fa..e6c189c3ef4aa9e67a100d4dc3afed174d2b5021 100644 (file)
@@ -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];