fpga: sim: Support unused tkeep in AxiStreamPacket::dump_bytes()
Original-commit: 0af84329a7d0f8c97131e14a522a2e0939dbb951
This commit is contained in:
@@ -247,7 +247,7 @@ package PkgAxiStreamBfm;
|
|||||||
my_keep = this.keep[i];
|
my_keep = this.keep[i];
|
||||||
word = this.data[i];
|
word = this.data[i];
|
||||||
for (int j = 0; j < DATA_WIDTH/8 ; j++) begin
|
for (int j = 0; j < DATA_WIDTH/8 ; j++) begin
|
||||||
if (my_keep[j]) raw.push_back(word[j*8 +: 8]);
|
if (my_keep[j] !== 1'b0) raw.push_back(word[j*8 +: 8]);
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
return raw;
|
return raw;
|
||||||
|
|||||||
Reference in New Issue
Block a user