initialize noblackbox and nowb in AstModule::clone
authorJakob Wenzel <wenzel@rs.tu-darmstadt.de>
Mon, 22 Jul 2019 08:37:40 +0000 (10:37 +0200)
committerJakob Wenzel <wenzel@rs.tu-darmstadt.de>
Mon, 22 Jul 2019 08:37:40 +0000 (10:37 +0200)
frontends/ast/ast.cc

index 3d066af53c2d32efbccb513c3151d3695ace8635..943466ee3d134ad59e940ab510ea6448dcf101da 100644 (file)
@@ -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;