Noorulla,
Perhaps you should explain why you need bit-slicing, and how data and temp are declared. If they are
bit [100:0] data,temp;
then the following should work
data [79:0] = temp[79:0];
Maybe you did not post your example correctly.
Noorulla,
Perhaps you should explain why you need bit-slicing, and how data and temp are declared. If they are
bit [100:0] data,temp;
then the following should work
data [79:0] = temp[79:0];
Maybe you did not post your example correctly.