Re: Usage and declaration of parameter within generate

From: Shalom.Bresticker@motorola.com
Date: Fri Feb 06 2004 - 00:07:09 PST

  • Next message: Shalom.Bresticker@motorola.com: "errata/16: Re: errata/16: 19.7 `line - meaning of level parameter is unclear"

    Yes, it does seem to be contradictory regarding the possibility of declaring
    a parameter within a generate. I see that I also had circled the words
    "declared within the generate scope" on one of my copies, so it seems I had
    noticed it at one time also.

    Be that as it may, the correct interpretation is that a parameter declaration
    may not appear within a generate. However, a generate may instantiate a module
    whose definition contains a parameter declaration.

    In any case, we are already in an advanced complete rewrite of this section.
    Thanks for your comments.

    Shalom

    > >Date: Fri, 06 Feb 2004 10:26:46 +0530
    > >From: Kausik Datta <kausikd@cal.interrasystems.com>
    > >Organization: Interra Systems India Pvt. Ltd.
    > >Subject: Usage and declaration of parameter within generate
    > >
    > >The following two paragraphs of IEEE 1364-2001 LRM Sec 12.1.3 (Generated
    > >Instantiation)
    > >seems to be contradictory.
    > >
    > >"Parameter redefinition using ordered or named parameter = value
    > >assignment or defparam statements can also be declared within the
    > >generate scope.However,a defparam statement within the generate scope or
    > >within a hierarchy instantiated within the generate scope shall only
    > >modify the value of a parameter declared within the generate scope or
    > >within a hierarchy instantiated within the generate scope."
    > >
    > >and
    > >
    > >"Module declarations and module items that shall not be permitted in a
    > >generate statement include:parameters,local parameters,input
    > >declarations,output declarations,inout declarations and specify blocks."
    > >
    > >I think some good examples are required in LRM for explaining this.

    -- 
    Shalom Bresticker                         Shalom.Bresticker@motorola.com
    Design, Verification & Reuse Methodology             Tel: +972 9 9522268
    Motorola Semiconductor Israel, Ltd.                  Fax: +972 9 9522890
    POB 2208, Herzlia 46120, ISRAEL                     Cell: +972 50 441478
    


    This archive was generated by hypermail 2.1.4 : Thu Feb 05 2004 - 23:55:26 PST and
    sponsored by Boyd Technology, Inc.