Add missing APIs needed for router_improve
This commit is contained in:
parent
19561fde52
commit
83117bef66
10
xc7/arch.h
10
xc7/arch.h
@ -677,6 +677,11 @@ struct Arch : BaseCtx
|
|||||||
return wire_to_net[wire.index];
|
return wire_to_net[wire.index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WireId getConflictingWireWire(WireId wire) const
|
||||||
|
{
|
||||||
|
return wire;
|
||||||
|
}
|
||||||
|
|
||||||
NetInfo *getConflictingWireNet(WireId wire) const
|
NetInfo *getConflictingWireNet(WireId wire) const
|
||||||
{
|
{
|
||||||
NPNR_ASSERT(wire != WireId());
|
NPNR_ASSERT(wire != WireId());
|
||||||
@ -773,6 +778,11 @@ struct Arch : BaseCtx
|
|||||||
return pip_to_net[pip.index];
|
return pip_to_net[pip.index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WireId getConflictingPipWire(PipId pip) const
|
||||||
|
{
|
||||||
|
return WireId();
|
||||||
|
}
|
||||||
|
|
||||||
NetInfo *getConflictingPipNet(PipId pip) const
|
NetInfo *getConflictingPipNet(PipId pip) const
|
||||||
{
|
{
|
||||||
NPNR_ASSERT(pip != PipId());
|
NPNR_ASSERT(pip != PipId());
|
||||||
|
Loading…
Reference in New Issue
Block a user