doc get_property keys

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-02-03 16:49:39 -07:00
parent 41e053e900
commit 6802190c15
3 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -107,8 +107,8 @@ public:
virtual LibraryIterator *libraryIterator() const = 0;
virtual LibertyLibraryIterator *libertyLibraryIterator() const = 0;
virtual Library *findLibrary(const char *name) = 0;
// Find liberty library by filename.
virtual LibertyLibrary *findLiberty(const char *name) = 0;
// Find liberty library by filename.
virtual LibertyLibrary *findLibertyFilename(const char *filename);
virtual const char *name(const Library *library) const = 0;
virtual Cell *findCell(const Library *library,

View File

@ -519,10 +519,6 @@ getProperty(const Library *lib,
if (stringEqual(property, "name")
|| stringEqual(property, "full_name"))
return PropertyValue(network->name(lib));
#if 0
else if (stringEqual(property, "filename"))
return PropertyValue(network->filename(lib));
#endif
else
throw PropertyUnknown("library", property);
}
@ -571,6 +567,8 @@ getProperty(const LibertyCell *cell,
return PropertyValue(cell->isInverter());
else if (stringEqual(property, "dont_use"))
return PropertyValue(cell->dontUse());
else if (stringEqual(property, "area"))
return PropertyValue(cell->area());
else
throw PropertyUnknown("liberty cell", property);
}