[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Icarus, way to get module instance name?



Timothy Normand Miller wrote:
> Does Icarus (or Verilog) have a way to find out the current module
> instance name?  I have some $display statements where I'd like to
> distinguish between different instances of the same module.
> 

It supports the %m format string, which is standard. It gives you
the instance name, which is generally what you want.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
http://www.icarus.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user