From: Karen L. Pieper (pieper@synopsys.com)
Date: Wed Nov 18 1998 - 15:51:55 PST
How about:
reg [7:0] blue;
reg [0:7] green;
assign x = blue[start -: size];
assign x = green[start +: size];
The direction looks obvious, the -/+ falls from the direction of the vector...
and the start is still in the same place.
<p>Karen
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:53:02 PDT
and
sponsored by Boyd Technology, Inc.