diff options
author | gatecat <gatecat@ds0.me> | 2021-03-17 12:06:09 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-03-17 13:58:04 +0000 |
commit | dd6d34f461910a120ac95c485fe34cca6485b95e (patch) | |
tree | 262dd91cfc969b492b99ce8fa7e3c94fd5d412be /passes | |
parent | 937392ad337c4f70569535e83f7016245addb2c7 (diff) | |
download | yosys-dd6d34f461910a120ac95c485fe34cca6485b95e.tar.gz yosys-dd6d34f461910a120ac95c485fe34cca6485b95e.tar.bz2 yosys-dd6d34f461910a120ac95c485fe34cca6485b95e.zip |
blackbox: Include whiteboxed modules
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'passes')
-rw-r--r-- | passes/cmds/blackbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/passes/cmds/blackbox.cc b/passes/cmds/blackbox.cc index 08a635514..fca91852c 100644 --- a/passes/cmds/blackbox.cc +++ b/passes/cmds/blackbox.cc @@ -46,10 +46,11 @@ struct BlackboxPass : public Pass { } extra_args(args, argidx, design); - for (auto module : design->selected_whole_modules_warn()) + for (auto module : design->selected_whole_modules_warn(true)) { module->makeblackbox(); module->set_bool_attribute(ID::blackbox); + module->set_bool_attribute(ID::whitebox, false); } } } BlackboxPass; |