[Fwd: Generate proposal]

From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Mon Jan 12 2004 - 08:12:03 PST

  • Next message: Shalom Bresticker: "Re: Generate proposal"

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

    attached mail follows:


    Shalom,

    > - In 12.4.2, in the para. before the Example, in the 2nd line, "statement" is
    used
    > twice. I don't think we want that term. I thought to replace the first with
    > "item" and the 2nd with "construct".

    I agree, the first one should be "item". I like "item" for the second one as
    well.

    > - In 12.4.2, last para., "The same can be said of instance arrays and loop
    > generates": please explain. Maybe not in the text, but for me.

    My bad. You can't do it with instance arrays since the range can never be
    zero-length. But you can create recursion with for-generates:

    module top;
      recurse #(2) u1();
    endmodule

    module recurse;
      parameter p = 0;
      genvar i;

      for (i = 0; i < (p==0?0:1); i = i+1) begin:g
        recurse #(p-1) u2();
      end

    endmodule

    -Jason



    This archive was generated by hypermail 2.1.4 : Mon Jan 12 2004 - 08:00:16 PST and
    sponsored by Boyd Technology, Inc.