Re: required parameters

From: Kevin Cameron <kcameron@cputech.com>
Date: Fri May 21 2004 - 11:36:32 PDT

Geoffrey.Coram wrote:

>Kevin Cameron wrote:
>
>
>>It's an elaboration-time check, you wouldn't get as far as running simulation, i.e. if the simulator finds a required parameter missing it would not be able to complete elaboration.
>>
>But there might be a parameter that is only required in some cases,
>eg an avalanche coefficient only if avalanche is enabled. Then you
>wouldn't want the elaboration to abort for a missing coeff for a
>design where avalanche is disabled.
>
>-Geoffrey
>
>
I think that's more of a style issue, you're not forced to make a
parameter required.

There's always defparam as a workaround :-)

Kev.

-- 
Kevin Cameron, CPU Technology, CA 94588, Tel.: (925) 225 4862
Received on Fri May 21 11:36:40 2004

This archive was generated by hypermail 2.1.8 : Fri May 21 2004 - 11:36:51 PDT