[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-user: conditional assign gets compile error



Actually, according to the 2001 standard, 64'dz is valid...

decimal_number ::=
    | unsigned_number
    | [size] decimal_base unsigned_number
    | [size] decimal_base x_digit {_}
    | [size] decimal_base z_digit {_}

So, 64'dz would be [size] decimal_base z_digit. 

-Matt


On Tue, 2002-06-18 at 08:23, Stephen Williams wrote:
> I double-checked the -1995 standard. This:
> 
>    64'dz
> 
> is not valid. Decimal values can only have numeric digits. It looks
> like VCS is in error for accepting it, and Icarus Verilog is in error
> for emitting a useless error message;-)
> -- 
> Steve Williams                "The woods are lovely, dark and deep.
> steve at icarus.com           But I have promises to keep,
> steve at picturel.com         and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."
> 
> abuse@xo.com
> uce@ftc.gov
> 
>