diff options
author | gatecat <gatecat@ds0.me> | 2021-03-22 18:31:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 18:31:32 +0000 |
commit | f6ae068cb205527d63d93e5b3581b85a22f90f34 (patch) | |
tree | 93704cb3edc4497651e23adfb7d6541eab1bb907 /docs | |
parent | 53ed6979a964f3eaaabc0d97399eec9b4c3347f9 (diff) | |
parent | e7d81913a48bffd970f7a92acc44eb36d9f996f7 (diff) | |
download | nextpnr-f6ae068cb205527d63d93e5b3581b85a22f90f34.tar.gz nextpnr-f6ae068cb205527d63d93e5b3581b85a22f90f34.tar.bz2 nextpnr-f6ae068cb205527d63d93e5b3581b85a22f90f34.zip |
Merge pull request #632 from litghost/add_check_pip_for_net
Add "checkPipAvailForNet" to Arch API.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/archapi.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/archapi.md b/docs/archapi.md index 3131ae64..d164e61c 100644 --- a/docs/archapi.md +++ b/docs/archapi.md @@ -398,6 +398,13 @@ pip to a net. *BaseArch default: returns `getBoundPipNet(pip) == nullptr`* +### bool checkPipAvailForNet(PipId pip, NetInfo *net) const + +Returns true if the given pip is available to be bound to a net, or if the +pip is already bound to that net. + +*BaseArch default: returns `getBoundPipNet(pip) == nullptr || getBoundPipNet(pip) == net`* + ### NetInfo \*getBoundPipNet(PipId pip) const Return the net this pip is bound to. |