I want to understand the usage of %m in the $display system task in Verilog.
This is sample code given in the book. It would be better if someone explains this with more examples as it seems unclear in the book.
//the highest-level module called top. No argument is required. This
//is a useful feature)
$display("This string is displayed from %m level of hierarchy");
-- This string is displayed from top.p1 level of hierarchy