But I do not know much about this type of macro in Verilog. I
searched
on Internet for a while, and all what I got is just that this macro
is
used to mark a module as a cell module, and cell modules are used by
PLI rountines. In coclusion, my current understanding on this is very
shallow.
Who experienced on this point, please teach me in more detail.
I'm looking forward to any information from you.
Typically used for delay backannotation. Hence it is used in leaf cell
modeling.
Best regards,
ABC
Also see your simulator manual to see what it does with `celldefine. I
think most of them can make use of it to automatically exclude library
cells from waves if you want. I've added `celldefine/endcelldefine to
some of my vendor library files for this reason. You can add
`celldefine at the top and `endcelldefine at the bottom of a file
containing lots of modules and they'll all be included in the
definition.
-cb