title: How does %m work in $display system task?
body: <p>I want to understand the usage of <code>%m</code> in the <code>$display</code> system task in Verilog.</p>
  
  <p>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.</p>
  
  <pre><code>//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
  </code></pre>