frame of 128 rows each with 5140 bits.
1st row consists of slicing as 480 bits A data, 480 bits B data, 320 bits C data amd 3860 bits D data. Among which A has fixed values rest all are randomized.
Rest rows are of 5140 bits randomized data.
I have defined arrays as
bit [0:479] a;
rand bit [480:959] b;
rand bit [960:1279] c;
rand bit [1280:5139] d;
rand bit [0:5139] e [1:127];
Now I want to concatenate all the above arrays into frame array which I have defined as below.
You can use pack/unpack method, to concatenate your fields.
please find the link for examples.
Link : uvm pack byte method - www.verificationguide.com - EDA Playground
Here, mentioned example is suitable to your problem. change it according to your requirement
That’s what I cannot understand because the signal definition is same as I mentioned in problem. I have not defined any extra signals other than this than why this error is showing?
Hi Your declaration of datatype is wrong.
As per your questions, it seems that you want 128 frame location and each location should have 5140 bits of data. Here, Attached example is doing the same. Please find the link for it.
Link : Edit code - EDA Playground