UFK
Member level 3
Hi All
I have found out that System Verilog permits manipulating array elements by moving array elements from one element to another and deleting elements too. Does regular Verilog have this option?
In my code, under a certain condition one array is supposed to move a few of its elements to another array. It is doing so alright but it retains the copy of that element. I want it to be moved altogether.
A part of my code is like this
for(i=0;i<=3;i=i+1)
if (LIP >= T)
begin
LSP = LIP;
in this code the value at index i is moved to LSP but a copy remains in LIP. I want it to be removed altogether and shifted to LSP.
Please guide me. Thankyou
I have found out that System Verilog permits manipulating array elements by moving array elements from one element to another and deleting elements too. Does regular Verilog have this option?
In my code, under a certain condition one array is supposed to move a few of its elements to another array. It is doing so alright but it retains the copy of that element. I want it to be moved altogether.
A part of my code is like this
for(i=0;i<=3;i=i+1)
if (LIP >= T)
begin
LSP = LIP;
in this code the value at index i is moved to LSP but a copy remains in LIP. I want it to be removed altogether and shifted to LSP.
Please guide me. Thankyou