aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-03-11 06:32:15 -0700
committerGitHub <noreply@github.com>2020-03-11 06:32:15 -0700
commitdd8ebf7873eadab9c6d0fba8c4ed25eb88acbb8f (patch)
tree09385b6820806a6be79510f7d90c047027d4df6e /passes/techmap/abc.cc
parentd624a11dd19321cba03c1b5c474a9827171657d6 (diff)
parent3be7784d0e06f75d5e35eb356b726b559f647f13 (diff)
downloadyosys-dd8ebf7873eadab9c6d0fba8c4ed25eb88acbb8f.tar.gz
yosys-dd8ebf7873eadab9c6d0fba8c4ed25eb88acbb8f.tar.bz2
yosys-dd8ebf7873eadab9c6d0fba8c4ed25eb88acbb8f.zip
Merge pull request #1743 from YosysHQ/eddie/abc9_keep
abc9: improve (* keep *) handling
Diffstat (limited to 'passes/techmap/abc.cc')
-rw-r--r--passes/techmap/abc.cc5
1 files changed, 5 insertions, 0 deletions
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];