[sv-bc] Implicit generate block for loop construct inside conditional construct

From: Surya Pratik Saha <spsaha_at_.....>
Date: Wed Apr 22 2009 - 01:04:45 PDT
Hi,
If we consider the case:
module top;
    if (1) // Will it create an implicit named block or not
        for (genvar g = 1; g < 10; g++)
            reg x;
        end
    int b;
endmodule

LRM mentioned for conditional construct directly nested inside another 
conditional construct does not create separate scope. I think then 
looping construct directly nested inside another conditional construct 
should create then a separate scope. Can you please confirm. If the 
answer is yes, then also for that block, name will be generated as per 
name generation scheme for unnamed generate block mentioned in the LRM.

-- 
Regards
Surya




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Apr 22 01:06:33 2009

This archive was generated by hypermail 2.1.8 : Wed Apr 22 2009 - 01:07:36 PDT