File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7592,8 +7592,6 @@ class dbDatabase : public dbObject
75927592
75937593 dbChip* findChip (const char * name) const ;
75947594
7595- bool hasHierarchicalChip () const ;
7596-
75977595 dbSet<dbProperty> getProperties () const ;
75987596
75997597 dbSet<dbChipInst> getChipInsts () const ;
@@ -7621,6 +7619,8 @@ class dbDatabase : public dbObject
76217619 void setHierarchy (bool value);
76227620 bool hasHierarchy () const ;
76237621
7622+ bool hasHierarchicalChip () const ;
7623+
76247624 void setTopChip (dbChip* chip);
76257625 // /
76267626 // / Return the libs contained in the database. A database can contain
Original file line number Diff line number Diff line change @@ -704,17 +704,6 @@ dbChip* dbDatabase::findChip(const char* name) const
704704 return (dbChip*) obj->chip_hash_ .find (name);
705705}
706706
707- bool dbDatabase::hasHierarchicalChip () const
708- {
709- for (dbChip* chip : getChips ()) {
710- if (chip->getChipType () == dbChip::ChipType::HIER ) {
711- return true ;
712- }
713- }
714-
715- return false ;
716- }
717-
718707dbSet<dbProperty> dbDatabase::getProperties () const
719708{
720709 _dbDatabase* obj = (_dbDatabase*) this ;
@@ -934,6 +923,17 @@ bool dbDatabase::hasHierarchy() const
934923 return db->hierarchy_ ;
935924}
936925
926+ bool dbDatabase::hasHierarchicalChip () const
927+ {
928+ for (dbChip* chip : getChips ()) {
929+ if (chip->getChipType () == dbChip::ChipType::HIER ) {
930+ return true ;
931+ }
932+ }
933+
934+ return false ;
935+ }
936+
937937void dbDatabase::read (std::istream& file)
938938{
939939 _dbDatabase* db = (_dbDatabase*) this ;
Original file line number Diff line number Diff line change @@ -1233,7 +1233,7 @@ proc set_extraction_rules_file { args } {
12331233 utl::error ODB 477 " Could not set extraction rules file. Tech not found."
12341234 }
12351235
1236- $tech setExtractionRulesFile $args
1236+ $tech setExtractionRulesFile [ lindex $args 0]
12371237}
12381238
12391239namespace eval odb {
You can’t perform that action at this time.
0 commit comments