From 610ca95cbede2bc2ebe31ed01b79f4c6b583f496 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 31 Oct 2014 11:31:02 +0100 Subject: [PATCH] ivl: Allow to initialize variables with other variables (since Verilog-2001). --- pform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pform.cc b/pform.cc index ecb81b721..48b136755 100644 --- a/pform.cc +++ b/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);