I'm trying to display some 32 bit values in decimal, and this is working fine other than the strange amount of unecessary spaces between my %b and the previous character.
for example: if i have a 32-bit reg a with a decimal value of 33, i'll use something like this
initial
begin
$display("a=%d;", a);
end
the output in cmd would look similar to this: a= ___________________33;
The line just represents the long blank space between %b and the previous char. Can somebody explain to me why this happens? And how can I get rid of them?