Re: error in NAND example

From: David Miller <David.L.Miller_at_.....>
Date: Fri Mar 02 2007 - 12:10:17 PST
Geoffrey.Coram wrote:
> Someone at Designers-Guide.org was using the NAND
> example from the Verilog-AMS web site:
>   http://www.eda.org/verilog-ams/models/nand.va
>
> I'm not familiar with the generate statement,
> but it sure looks to me that the generate uses
> the same variable (i) that the second 
> for-loop uses.
>
> The same problem is in the nor.va model.
>
> -Geoffrey
>
>   
Yes that model is incorrect. Not only is same genvar i used for both the 
top level generate loop and the lower level analog for loop, it is never 
declared. I can't find genvar i anywhere?

Dave


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Mar 2 12:10:51 2007

This archive was generated by hypermail 2.1.8 : Fri Mar 02 2007 - 12:10:53 PST