bit [31:0] transfers [$];
string str = "some string";
bit [31:0] transfer;
int temp;
for (int i = 0; i <= len; i++) begin
temp = $sscanf(str, "%h", transfer);
if (temp <= 0) `uvm_error("ERROR:"," THE LENGHT PARAM IS WRONG- too big")
transfers.push_back(transfer);//is it correct?
str = str.substr(13+(i+1)*8,str.len()-1);
end//end for
How to push_back value to unpacked array (Do I write correctly?)?