[sv-ec] %p for singular data type

From: Daniel Mlynek <daniel.mlynek@aldec.com.pl>
Date: Mon Apr 26 2010 - 04:13:12 PDT

LRM says that for %p
"All other singular data types shall print their values as they would
unformatted"

Does it mean that should be printed as with %u/%z?

Or does it mean that they should be printed as with no % modifier?

module top;

int i;

initial begin

$display("%p", i); //which from below should print the same as this line????

$display(i);

$display("%u", i);

end

endmodule

 

DANiel

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Apr 26 04:13:29 2010

This archive was generated by hypermail 2.1.8 : Mon Apr 26 2010 - 04:13:44 PDT