[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

How to access cell type?

Added by Mike Z almost 2 years ago

I see no method on cell to get the module/cell type, only the name given when instantiated?

If I print $cell->dump I can see that module instance "foo" is of type "foo_type", but I can't figure out how to get that information any other way?

similarly, netlist->modules gives me instance names.. I want the module names of those instances..

thanks for any ideas.


Replies (1)

RE: How to access cell type? - Added by Wilson Snyder almost 2 years ago

$cell->submodname and $cell->name give what the cell instantiates, and the name it's instantiated under. See "man Verilog::Netlist::Cell".

(1-1/1)