doc get_property keys
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
41e053e900
commit
6802190c15
BIN
doc/OpenSTA.odt
BIN
doc/OpenSTA.odt
Binary file not shown.
|
|
@ -107,8 +107,8 @@ public:
|
||||||
virtual LibraryIterator *libraryIterator() const = 0;
|
virtual LibraryIterator *libraryIterator() const = 0;
|
||||||
virtual LibertyLibraryIterator *libertyLibraryIterator() const = 0;
|
virtual LibertyLibraryIterator *libertyLibraryIterator() const = 0;
|
||||||
virtual Library *findLibrary(const char *name) = 0;
|
virtual Library *findLibrary(const char *name) = 0;
|
||||||
// Find liberty library by filename.
|
|
||||||
virtual LibertyLibrary *findLiberty(const char *name) = 0;
|
virtual LibertyLibrary *findLiberty(const char *name) = 0;
|
||||||
|
// Find liberty library by filename.
|
||||||
virtual LibertyLibrary *findLibertyFilename(const char *filename);
|
virtual LibertyLibrary *findLibertyFilename(const char *filename);
|
||||||
virtual const char *name(const Library *library) const = 0;
|
virtual const char *name(const Library *library) const = 0;
|
||||||
virtual Cell *findCell(const Library *library,
|
virtual Cell *findCell(const Library *library,
|
||||||
|
|
|
||||||
|
|
@ -519,10 +519,6 @@ getProperty(const Library *lib,
|
||||||
if (stringEqual(property, "name")
|
if (stringEqual(property, "name")
|
||||||
|| stringEqual(property, "full_name"))
|
|| stringEqual(property, "full_name"))
|
||||||
return PropertyValue(network->name(lib));
|
return PropertyValue(network->name(lib));
|
||||||
#if 0
|
|
||||||
else if (stringEqual(property, "filename"))
|
|
||||||
return PropertyValue(network->filename(lib));
|
|
||||||
#endif
|
|
||||||
else
|
else
|
||||||
throw PropertyUnknown("library", property);
|
throw PropertyUnknown("library", property);
|
||||||
}
|
}
|
||||||
|
|
@ -571,6 +567,8 @@ getProperty(const LibertyCell *cell,
|
||||||
return PropertyValue(cell->isInverter());
|
return PropertyValue(cell->isInverter());
|
||||||
else if (stringEqual(property, "dont_use"))
|
else if (stringEqual(property, "dont_use"))
|
||||||
return PropertyValue(cell->dontUse());
|
return PropertyValue(cell->dontUse());
|
||||||
|
else if (stringEqual(property, "area"))
|
||||||
|
return PropertyValue(cell->area());
|
||||||
else
|
else
|
||||||
throw PropertyUnknown("liberty cell", property);
|
throw PropertyUnknown("liberty cell", property);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue