mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
fpga: sim: Print timestamp in hex
Update PkgChdrBfm so that the print() methods print the timestamp in hexadecimal in addition to decimal.
This commit is contained in:
parent
ec8dcf8ce2
commit
c75a78b0ea
@ -206,7 +206,7 @@ package PkgChdrBfm;
|
||||
str = {str, $sformatf("ChdrPacket:\n")};
|
||||
str = {str, $sformatf("- header: %p\n", header) };
|
||||
if (header.pkt_type == CHDR_DATA_WITH_TS) begin
|
||||
str = {str, $sformatf("- timestamp: %0d\n", timestamp) };
|
||||
str = {str, $sformatf("- timestamp: %0d (0x%X)\n", timestamp, timestamp) };
|
||||
end
|
||||
if (header.num_mdata != '0) begin
|
||||
str = {str, $sformatf("- metadata:\n") };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user