A
Andy Peters
Guest
Here's a good one.
reg c, r;
reg [3:0] d;
wire [3:0] q;
generate
genvar n;
for (n = 0; n < 4; n = n + n) begin : FooGen
foo bar
(.c (c),
.r (r),
.d (d[n]),
.q (q[n]));
end / FooGen
endgenerate
The ol' vlib command went off into la-la land, and froze the
application. (Had to kill it w/TaskMan).
Fixing the n = n + n typo made it all better. Note to self: use
larger font. Think while typing...
-a
reg c, r;
reg [3:0] d;
wire [3:0] q;
generate
genvar n;
for (n = 0; n < 4; n = n + n) begin : FooGen
foo bar
(.c (c),
.r (r),
.d (d[n]),
.q (q[n]));
end / FooGen
endgenerate
The ol' vlib command went off into la-la land, and froze the
application. (Had to kill it w/TaskMan).
Fixing the n = n + n typo made it all better. Note to self: use
larger font. Think while typing...
-a