Explanation of %p in verilog $display function

Hi,

Can I know the explanation of %p used in $display in verilog.
Anyone explain me about this.

Thanks in Advance
Harsha Vardhan

In reply to Harsha vardhan:

From the LRM:
21.2.1.7 Assignment pattern format
The %p format specifier may be used to print aggregate expressions such as unpacked structures, arrays, and unions. For unpacked structure data types, it shall print the value as an assignment pattern with named elements. For unions, only the first declared elements shall be printed. In the case of a tagged union, it shall print “tag:value” along with the currently valid element. For unpacked array data types, it shall print the value as an assignment pattern, which may include the use of index labels. The use of white space is implementation dependent; however the output shall be a legal interpretation of the assignment pattern syntax (see 10.8).