Re: [sv-bc] Is negative value permitted for genvar

From: Gordon Vreugdenhil <gordonv_at_.....>
Date: Mon Sep 22 2008 - 07:15:55 PDT
Surya Pratik Saha wrote:
> Hi,
> In 1364-2001 LRM, it was mentioned:
> *If any bit of the genvar ever is set to an X or Z or if the genvar is 
> set to a negative value,this shall be an error.
> 
> *In 1364-2005 LRM, it is mentioned:
> *It shall be an error if any bit of the genvar is set to x or z during 
> the evaluation of the loop generate scheme.
> 
> *So is now negative value allowed to be assigned to genvar? Is the 
> change intentional?

Yes negatives are allowed and yes that was an intentional change.

Since array ranges are permitted to be negative it would be annoying
in real designs to not allow genvars to become negative.

This is a SV-BC question, not EC.

Gord.



> 
> -- 
> Regards
> Surya
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 22 07:18:16 2008

This archive was generated by hypermail 2.1.8 : Mon Sep 22 2008 - 07:18:31 PDT