fpga: sim: Support unused tkeep in AxiStreamPacket::dump_bytes()

Original-commit: 0af84329a7d0f8c97131e14a522a2e0939dbb951
This commit is contained in:
Wade Fife
2022-08-29 17:01:45 -05:00
committed by skooNI
parent a23ff16c07
commit c09489b6b0
+1 -1
View File
@@ -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;