Re: minutes of Verilog-AMS call 23 May

From: Geoffrey.Coram <Geoffrey.Coram_at_.....>
Date: Wed May 24 2006 - 05:55:56 PDT
Shalom -
I'm thinking about the case where I have a module with

    parameter real myparm = 1.0;

and then an instantiation that says
   .myparm("a string")


Is the parameter override legal?  What value do I get for myparm
when the module tries to use it?  If "a string" is treated as an
integer but the value is larger than MAXDOUBLE, what happens?

-Geoffrey


"Bresticker, Shalom" wrote:
> 
> Assuming that you are talking about regular string literals and regular
> real or integer parameters, then SV is exactly like Verilog. It is an
> integer to integer or real conversion. Integer to integer passes without
> change unless the parameter is typed with a bit length shorter than the
> string. Integer to real is obvious.
> 
> Shalom
Received on Wed May 24 05:55:45 2006

This archive was generated by hypermail 2.1.8 : Wed May 24 2006 - 05:55:51 PDT