diff --git a/doc/OpenSTA.odt b/doc/OpenSTA.odt index f84199b4..05b5afd3 100644 Binary files a/doc/OpenSTA.odt and b/doc/OpenSTA.odt differ diff --git a/include/sta/Network.hh b/include/sta/Network.hh index ada2fb9a..0e522710 100644 --- a/include/sta/Network.hh +++ b/include/sta/Network.hh @@ -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, diff --git a/search/Property.cc b/search/Property.cc index 777363f1..edaff1e1 100644 --- a/search/Property.cc +++ b/search/Property.cc @@ -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); }