diff options
author | gatecat <gatecat@ds0.me> | 2021-02-17 11:25:53 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-17 11:25:53 +0000 |
commit | cb957795a3295e608dd22a0d3844a55d113043f9 (patch) | |
tree | d509960fef50041e2ca1b2e0c4c53968df4e6650 /docs | |
parent | d83259828e6ccd81f637b4da7ed3fbf9339ae5f7 (diff) | |
download | nextpnr-cb957795a3295e608dd22a0d3844a55d113043f9.tar.gz nextpnr-cb957795a3295e608dd22a0d3844a55d113043f9.tar.bz2 nextpnr-cb957795a3295e608dd22a0d3844a55d113043f9.zip |
Update docs/archapi.md
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/archapi.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/archapi.md b/docs/archapi.md index fc943dfb..96d96e80 100644 --- a/docs/archapi.md +++ b/docs/archapi.md @@ -93,7 +93,7 @@ The global `CellInfo` type derives from this one. Can be used to add arch-specif arch.h ====== -Each architecture must provide their own implementation of the `Arch` struct in `arch.h`. `Arch` must derive from `BaseCtx` and must provide the following methods: +Each architecture must provide their own implementation of the `Arch` struct in `arch.h`. `Arch` must derive from `ArchAPI<ArchRanges>` or `BaseArch<ArchRanges>` (see above) and must provide the following methods: General Methods --------------- @@ -697,7 +697,7 @@ Placer Methods ### bool isValidBelForCellType(IdString cell\_type, BelId bel) const Returns true if the given cell can be bound to the given bel. This check -should be fast, compared with isValidBelForCell. This check should always +should be fast, compared with isBelLocationValid. This check should always return the same value regardless if other cells are placed within the fabric. *BaseArch default: returns `cell_type == getBelType(bel)`* |