format
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
5beb0eb056
commit
977641d4b6
|
|
@ -44,9 +44,13 @@ public:
|
||||||
void removeDisabledFrom(LibertyPort *port);
|
void removeDisabledFrom(LibertyPort *port);
|
||||||
void setDisabledTo(LibertyPort *port);
|
void setDisabledTo(LibertyPort *port);
|
||||||
void removeDisabledTo(LibertyPort *port);
|
void removeDisabledTo(LibertyPort *port);
|
||||||
void setDisabledFromTo(LibertyPort *from, LibertyPort *to);
|
void setDisabledFromTo(LibertyPort *from,
|
||||||
void removeDisabledFromTo(LibertyPort *from, LibertyPort *to);
|
LibertyPort *to);
|
||||||
bool isDisabled(LibertyPort *from, LibertyPort *to, const TimingRole *role);
|
void removeDisabledFromTo(LibertyPort *from,
|
||||||
|
LibertyPort *to);
|
||||||
|
bool isDisabled(LibertyPort *from,
|
||||||
|
LibertyPort *to,
|
||||||
|
const TimingRole *role);
|
||||||
LibertyPortPairSet *fromTo() const { return from_to_; }
|
LibertyPortPairSet *fromTo() const { return from_to_; }
|
||||||
LibertyPortSet *from() const { return from_; }
|
LibertyPortSet *from() const { return from_; }
|
||||||
LibertyPortSet *to() const { return to_; }
|
LibertyPortSet *to() const { return to_; }
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,8 @@ DisabledPorts::removeDisabledTo(LibertyPort *port)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
DisabledPorts::setDisabledFromTo(LibertyPort *from, LibertyPort *to)
|
DisabledPorts::setDisabledFromTo(LibertyPort *from,
|
||||||
|
LibertyPort *to)
|
||||||
{
|
{
|
||||||
if (from_to_ == nullptr)
|
if (from_to_ == nullptr)
|
||||||
from_to_ = new LibertyPortPairSet;
|
from_to_ = new LibertyPortPairSet;
|
||||||
|
|
@ -98,7 +99,8 @@ DisabledPorts::setDisabledFromTo(LibertyPort *from, LibertyPort *to)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
DisabledPorts::removeDisabledFromTo(LibertyPort *from, LibertyPort *to)
|
DisabledPorts::removeDisabledFromTo(LibertyPort *from,
|
||||||
|
LibertyPort *to)
|
||||||
{
|
{
|
||||||
if (from_to_) {
|
if (from_to_) {
|
||||||
LibertyPortPair probe(from, to);
|
LibertyPortPair probe(from, to);
|
||||||
|
|
@ -111,7 +113,8 @@ DisabledPorts::removeDisabledFromTo(LibertyPort *from, LibertyPort *to)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
DisabledPorts::isDisabled(LibertyPort *from, LibertyPort *to,
|
DisabledPorts::isDisabled(LibertyPort *from,
|
||||||
|
LibertyPort *to,
|
||||||
const TimingRole *role)
|
const TimingRole *role)
|
||||||
{
|
{
|
||||||
LibertyPortPair pair(from, to);
|
LibertyPortPair pair(from, to);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue