aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch_pybindings.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove isValidBelForCellgatecat2021-02-161-3/+0
| | | | | | | | | | | | | | | | | This Arch API dates from when we were first working out how to implement placement validity checking, and in practice is little used by the core parts of placer1/HeAP and the Arch implementation involves a lot of duplication with isBelLocationValid. In the short term; placement validity checking is better served by the combination of checkBelAvail and isValidBelForCellType before placement; followed by isBelLocationValid after placement (potentially after moving/swapping multiple cells). Longer term, removing this API makes things a bit cleaner for a new validity checking API. Signed-off-by: gatecat <gatecat@ds0.me>
* Run "make clangformat".Keith Rothman2021-02-021-3/+2
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add pybindings for new APIs.Keith Rothman2021-02-021-0/+2
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Seperate PipRange types in pybindings_shared.Keith Rothman2021-02-011-0/+4
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Initial conversion to pybind11Miodrag Milanovic2020-07-231-19/+17
|
* Fixes for new part typesMiodrag Milanovic2020-07-081-0/+5
|
* Make python bindings consistentMiodrag Milanovic2020-06-271-1/+4
|
* python: Add bindings for hierarchy structuresDavid Shah2019-12-271-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Refactor out bindings shared between ECP5 and iCE40David Shah2019-09-151-96/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Fix getWireBelPinsDavid Shah2019-09-151-0/+5
| | | | | | Fixes #327 Signed-off-by: David Shah <dave@ds0.me>
* json: Add support for net aliasesDavid Shah2019-09-131-0/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Add Python helper functions for floorplanningDavid Shah2019-03-221-0/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ice40: support u4kSimon Schubert2019-02-231-0/+1
|
* timing: Add support for clock constraintsDavid Shah2018-11-121-0/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Get rid of PortPin and BelType (ice40, generic, docs)Clifford Wolf2018-08-081-9/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* API change: Use CellInfo* and NetInfo* as cell/net handles (Python bindings)David Shah2018-08-051-9/+9
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Remove implementations of deprecated APIsDavid Shah2018-07-241-2/+0
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Move to new API and remove deprecatedMiodrag Milanovic2018-07-221-4/+2
|
* Rename getWireBelPin to getBelPinWireClifford Wolf2018-07-221-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Revert "Remove legacy access to state via Arch"Sergiusz Bazanski2018-07-141-32/+32
| | | | This reverts commit 18b4b316782035daa259d65d26ea733ca4d16bea.
* Revert "Remove unimplemented pybindings (for now)"Sergiusz Bazanski2018-07-141-0/+32
| | | | This reverts commit 53393b993fb211a3ce98262b0dd636d2e8420d2d.
* Remove unimplemented pybindings (for now)Sergiusz Bazanski2018-07-141-32/+0
| | | | | We need to re-jigger the template magic in common/pywrappers.h to be proxy context aware.
* Remove legacy access to state via ArchSergiusz Bazanski2018-07-141-32/+32
|
* Add ctx->pack() APIClifford Wolf2018-07-131-1/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* ecp5: Working on arch implementationDavid Shah2018-07-111-4/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* typeof to decltypeMiodrag Milanovic2018-07-051-38/+38
|
* python: Convert empty BelId to NoneDavid Shah2018-07-041-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Renaming and fixing 'generic' buildDavid Shah2018-07-041-0/+162
Signed-off-by: David Shah <davey1576@gmail.com>