From: Jason Woolf (jasonw@cadence.com)
Date: Mon Jan 12 2004 - 07:53:47 PST
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 - 07:52:46 PST
and
sponsored by Boyd Technology, Inc.