ivl: Allow to initialize variables with other variables (since Verilog-2001).
This commit is contained in:
parent
daa59a95ad
commit
610ca95cbe
2
pform.cc
2
pform.cc
|
|
@ -2239,7 +2239,7 @@ void pform_make_reginit(const struct vlltype&li,
|
|||
|
||||
PEIdent*lval = new PEIdent(name);
|
||||
FILE_NAME(lval, li);
|
||||
PAssign*ass = new PAssign(lval, expr, true);
|
||||
PAssign*ass = new PAssign(lval, expr, generation_flag < GN_VER2001);
|
||||
FILE_NAME(ass, li);
|
||||
PProcess*top = new PProcess(IVL_PR_INITIAL, ass);
|
||||
FILE_NAME(top, li);
|
||||
|
|
|
|||
Loading…
Reference in New Issue