aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-22 07:42:53 -0700
committerGitHub <noreply@github.com>2019-07-22 07:42:53 -0700
commitbe3d9c8eaac637d9fe11f750e163680639543fdd (patch)
treec8c3bb05ac0ae93119ceeca8cdc24cca9267f480
parentc6d8692c9711e4b65aa89ad60986c9df7e053fc7 (diff)
parente2fe8e0a4fd3108de8b7db556be45efc8122173d (diff)
downloadyosys-be3d9c8eaac637d9fe11f750e163680639543fdd.tar.gz
yosys-be3d9c8eaac637d9fe11f750e163680639543fdd.tar.bz2
yosys-be3d9c8eaac637d9fe11f750e163680639543fdd.zip
Merge pull request #1214 from jakobwenzel/astmod_clone
initialize noblackbox and nowb in AstModule::clone
-rw-r--r--frontends/ast/ast.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index 3d066af53..943466ee3 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -1551,7 +1551,9 @@ RTLIL::Module *AstModule::clone() const
new_mod->nomeminit = nomeminit;
new_mod->nomem2reg = nomem2reg;
new_mod->mem2reg = mem2reg;
+ new_mod->noblackbox = noblackbox;
new_mod->lib = lib;
+ new_mod->nowb = nowb;
new_mod->noopt = noopt;
new_mod->icells = icells;
new_mod->pwires = pwires;