From e7d81913a48bffd970f7a92acc44eb36d9f996f7 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Thu, 18 Mar 2021 16:31:40 -0700 Subject: Add "checkPipAvailForNet" to Arch API. This is important for distiguishing valid pseudo pips in the FPGA interchange arch. This also avoids a double or triple lookup of pip->net map. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- common/arch_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/arch_api.h') diff --git a/common/arch_api.h b/common/arch_api.h index 83872b7d..7ed81434 100644 --- a/common/arch_api.h +++ b/common/arch_api.h @@ -93,6 +93,7 @@ template struct ArchAPI : BaseCtx virtual void bindPip(PipId pip, NetInfo *net, PlaceStrength strength) = 0; virtual void unbindPip(PipId pip) = 0; virtual bool checkPipAvail(PipId pip) const = 0; + virtual bool checkPipAvailForNet(PipId pip, NetInfo *net) const = 0; virtual NetInfo *getBoundPipNet(PipId pip) const = 0; virtual WireId getConflictingPipWire(PipId pip) const = 0; virtual NetInfo *getConflictingPipNet(PipId pip) const = 0; -- cgit v1.2.3