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

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Apr 22 2009 - 01:14:43 PDT
You understand correctly.

Shalom 

> -----Original Message-----
> From: owner-sv-bc@server.eda.org 
> [mailto:owner-sv-bc@server.eda.org] On Behalf Of Surya Pratik Saha
> Sent: Wednesday, April 22, 2009 11:05 AM
> To: sv-bc@eda.org
> Subject: [sv-bc] Implicit generate block for loop construct 
> inside conditional construct
> 
> 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.
> 
> 
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

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