mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
@@ -655,6 +655,15 @@ get_attribute(const char *key)
|
||||
return Sta::sta()->ensureLinked()->getAttribute(self, key);
|
||||
}
|
||||
|
||||
void
|
||||
set_attribute(const char *key,
|
||||
const char *value)
|
||||
{
|
||||
sta::Sta *sta = Sta::sta();
|
||||
sta->ensureLinked();
|
||||
sta->networkReader()->setAttribute(self, key, value);
|
||||
}
|
||||
|
||||
} // Instance methods
|
||||
|
||||
%extend InstanceChildIterator {
|
||||
@@ -813,4 +822,3 @@ bool has_next() { return self->hasNext(); }
|
||||
const Pin *next() { return self->next(); }
|
||||
void finish() { delete self; }
|
||||
} // NetConnectedPinIterator methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user