aboutsummaryrefslogtreecommitdiffstats
path: root/docs/archapi.md
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-17 08:50:31 +0000
committerGitHub <noreply@github.com>2021-02-17 08:50:31 +0000
commita77ceec5cf5603542d87724d9fdc51d48fa29327 (patch)
treedaba555e135e64e112e5167aa4eba4c3048a6b8e /docs/archapi.md
parenta74d1a8b328252c2c07e7af7b9e9bb0e5f251bb5 (diff)
parentc7c13cd95f7a25b2c8932ca00ad667ffca381c70 (diff)
downloadnextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.tar.gz
nextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.tar.bz2
nextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.zip
Merge pull request #585 from YosysHQ/gatecat/remove-ivbfc
Remove isValidBelForCell
Diffstat (limited to 'docs/archapi.md')
-rw-r--r--docs/archapi.md16
1 files changed, 4 insertions, 12 deletions
diff --git a/docs/archapi.md b/docs/archapi.md
index 0f0e6181..fc943dfb 100644
--- a/docs/archapi.md
+++ b/docs/archapi.md
@@ -652,8 +652,8 @@ strict legality enforcement. It is not required that all bels within a bucket
are strictly equivelant.
Strict legality step will enforce those differences, along with additional
-local constraints. `isValidBelForCell`, `isValidBelForCellType`, and
-`isBelLocationValid` are used to enforce strict legality checks.
+local constraints. `isValidBelForCellType`, and `isBelLocationValid` are used
+to enforce strict legality checks.
### BelBucketRangeT getBelBuckets() const
@@ -702,18 +702,10 @@ return the same value regardless if other cells are placed within the fabric.
*BaseArch default: returns `cell_type == getBelType(bel)`*
-### bool isValidBelForCell(CellInfo \*cell, BelId bel) const
-
-Returns true if the given cell can be bound to the given bel, considering
-other bound resources. For example, this can be used if there is only
-a certain number of different clock signals allowed for a group of bels.
-
-*BaseArch default: returns true*
-
### bool isBelLocationValid(BelId bel) const
-Returns true if a bell in the current configuration is valid, i.e. if
-`isValidBelForCell()` would return true for the current mapping.
+Returns true if a bel in the current configuration is legal (for example,
+a flipflop's clock signal is correctly shared with all bels in a slice.)
*BaseArch default: returns true*