Updated comment in tgt-vlog95 to reflect changes in variable initialization.

This commit is contained in:
Martin Whitaker 2016-03-19 14:47:38 +00:00
parent 0dcb46e4c4
commit 7c3cee5f7a
1 changed files with 4 additions and 7 deletions

View File

@ -706,13 +706,10 @@ static void emit_named_block_scope(ivl_scope_t scope)
} }
/* /*
* In SystemVerilog a task or function can have a process to initialize * In SystemVerilog a task, function, or block can have a process to
* variables. In reality SystemVerilog requires this to be before the * initialize variables. SystemVerilog requires this to be before the
* initial/always blocks are processed, but that's not how it is currently * initial/always blocks are processed, but there's no way to express
* implemented in Icarus! * this in Verilog-95.
*
* In Verilog-2001 a named block can also have a process to initialize
* variables. This is handled the same way.
*/ */
static int find_tfb_process(ivl_process_t proc, ivl_scope_t scope) static int find_tfb_process(ivl_process_t proc, ivl_scope_t scope)
{ {