abc: add abc.debug scratchpad option

This commit is contained in:
Eddie Hung 2020-03-06 10:09:01 -08:00
parent 8b074cc473
commit 2335c59e5b
1 changed files with 5 additions and 0 deletions

View File

@ -1553,6 +1553,11 @@ struct AbcPass : public Pass {
show_tempdir = design->scratchpad_get_bool("abc.showtmp", show_tempdir); show_tempdir = design->scratchpad_get_bool("abc.showtmp", show_tempdir);
markgroups = design->scratchpad_get_bool("abc.markgroups", markgroups); 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; size_t argidx, g_argidx;
bool g_arg_from_cmd = false; bool g_arg_from_cmd = false;
char pwd [PATH_MAX]; char pwd [PATH_MAX];