tcl library is_buffer/is_inverter

This commit is contained in:
James Cherry 2020-10-29 16:10:13 -07:00
parent ebc9614004
commit 0aa454a019
1 changed files with 2 additions and 0 deletions

View File

@ -5489,6 +5489,8 @@ find_ports_matching(const char *pattern,
%extend LibertyCell {
const char *name() { return self->name(); }
bool is_leaf() { return self->isLeaf(); }
bool is_buffer() { return self->isBuffer(); }
bool is_inverter() { return self->isInverter(); }
LibertyLibrary *liberty_library() { return self->libertyLibrary(); }
Cell *cell() { return reinterpret_cast<Cell*>(self); }
LibertyPort *