N
nemgreen@yahoo.co.uk
Guest
I've been looking to find the rules for an assign where the RHS is
wider than the LHS.
I've found examples of the simple case where vectors with identical
base index (eg 0) are assigned, but I'm not sure about the following:
assign target_vec[7:3] = source_vec[24:8];
Which bits of source_vec get assigned to which bits of target_vec?
Can anyone enlighten me?
Thanks
wider than the LHS.
I've found examples of the simple case where vectors with identical
base index (eg 0) are assigned, but I'm not sure about the following:
assign target_vec[7:3] = source_vec[24:8];
Which bits of source_vec get assigned to which bits of target_vec?
Can anyone enlighten me?
Thanks