aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv')
-rw-r--r--fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv b/fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv
index a485eca59..96bfbd3a7 100644
--- a/fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv
+++ b/fpga/usrp3/sim/rfnoc/PkgChdrBfm.sv
@@ -789,14 +789,14 @@ package PkgChdrBfm;
end
// Insert metadata
- while (chdr_packet.metadata.size() > 0) begin
- bus_word = chdr_packet.metadata.pop_front();
+ foreach (chdr_packet.metadata[i]) begin
+ bus_word = chdr_packet.metadata[i];
axis_packet.data.push_back(bus_word);
end
// Insert payload
- while (chdr_packet.data.size() > 0) begin
- bus_word = chdr_packet.data.pop_front();
+ foreach (chdr_packet.data[i]) begin
+ bus_word = chdr_packet.data[i];
axis_packet.data.push_back(bus_word);
end