Hi all,
if I have
bit [31:0] x = 32'h1234_ABCD;
and then
$display("%h", x);
i want it displayed as 1234ABCD and not as 1234abcd.
Is it possible and how?
THanks
Hi all,
if I have
bit [31:0] x = 32'h1234_ABCD;
and then
$display("%h", x);
i want it displayed as 1234ABCD and not as 1234abcd.
Is it possible and how?
THanks
In reply to Mihaelf:
bit [31:0] x = 32'h1234_ABCD;
string str;
str.hextoa(x);
$display(str.toupper);