aboutsummaryrefslogtreecommitdiffstats
path: root/common/pybindings.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixing old emails and names in copyrightsgatecat2021-06-121-2/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Use hashlib for core netlist structuresgatecat2021-06-021-7/+7
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* python: Bindings for DelayPair and DelayQuadgatecat2021-02-191-0/+25
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Remove the unused CellInfo::pins fieldgatecat2021-02-101-2/+0
| | | | | | | | | | | No arches ever actually used this to implement a Cell->Bel pin mapping, and in practice if any did try they would inevitably hit bitrot. This field had limited use in practice as it is necessary to also support cases where one cell pin maps to more than one bel pin. Removing this old field is the first step towards developing a new API for this. Signed-off-by: gatecat <gatecat@ds0.me>
* Python code cleanupMiodrag Milanovic2020-11-141-22/+7
|
* clangformatDavid Shah2020-08-201-1/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Made proper exception translationMiodrag Milanovic2020-08-071-1/+7
|
* clangformatMiodrag Milanovic2020-07-251-2/+2
|
* exception translationMiodrag Milanovic2020-07-241-7/+1
|
* Fixed named argumentsMiodrag Milanovic2020-07-241-4/+3
|
* proper ctx exportMiodrag Milanovic2020-07-231-1/+1
|
* Initial conversion to pybind11Miodrag Milanovic2020-07-231-31/+33
|
* python: Expose PlaceStrength enum and isValidBelForCell on ecp5Erika2020-01-261-0/+9
| | | | Signed-off-by: Erika <rrika9@yahoo.com>
* python: Add bindings for hierarchy structuresDavid Shah2019-12-271-4/+20
| | | | Signed-off-by: David Shah <dave@ds0.me>
* json: Remove legacy frontendDavid Shah2019-12-271-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Adding helper functions for netlist modificationDavid Shah2019-09-151-0/+16
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Major Property improvements for common and iCE40David Shah2019-08-051-1/+8
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Added support for attributes/properties typesMiodrag Milanovic2019-06-011-1/+1
|
* pybindings: make errors in Python scripts stop nextpnr executionDavid Shah2019-04-171-2/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* pybindings: Fix use of import in user scriptsDavid Shah2019-04-171-0/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: GUI Python bindingsDavid Shah2019-04-031-2/+20
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Place a single SLICEDavid Shah2019-04-021-30/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Named argument supportDavid Shah2019-04-021-0/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Infrastructure for generic arch Python APIDavid Shah2019-04-021-0/+31
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Add Python helper functions for floorplanningDavid Shah2019-03-221-0/+18
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Fixes to get net wires map workingDavid Shah2018-11-221-0/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Add wrapper for vectors to allow Python access to net.usersDavid Shah2018-11-221-2/+17
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Working on arch implementationDavid Shah2018-07-111-4/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Renamed dummy->generic for tests, also fix warningMiodrag Milanovic2018-07-111-0/+2
|
* typeof to decltypeMiodrag Milanovic2018-07-051-18/+18
|
* python: More design-related bindings, dump_design.py working againDavid Shah2018-07-041-21/+49
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Update wrapper for non-unique_ptr mapsDavid Shah2018-07-041-17/+6
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Adding more wrapped bindings for ice40David Shah2018-07-041-4/+5
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Translate NPNR_ASSERTs to PythonDavid Shah2018-07-041-0/+7
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: New wrapper system working for unique_ptr mapsDavid Shah2018-07-041-2/+8
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Developing context wrappers for mapsDavid Shah2018-07-041-3/+3
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Adding more bindingsDavid Shah2018-07-041-4/+0
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python: Add context wrapper support for rangesDavid Shah2018-07-041-5/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Progress on new wrapper systemDavid Shah2018-07-041-1/+0
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* remove emb.ccMiodrag Milanovic2018-06-281-4/+1
|
* Improving post-ripup placement in the legaliserDavid Shah2018-06-271-3/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* reinit python tabMiodrag Milanovic2018-06-271-6/+8
|
* Fixing Python bindings bugsDavid Shah2018-06-261-2/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fixing Python bindings after adding unique_ptrDavid Shah2018-06-261-13/+13
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fixing the Python bindings following Context/Arch refactoringDavid Shah2018-06-231-2/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Update from increased clangformat line lengthDavid Shah2018-06-231-15/+5
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Added BUILD_GUI, BUILD_PYTHON and BUILD_TESTS cmake options,Miodrag Milanovic2018-06-231-0/+4
|
* Switched from clifford@clifford.at to clifford@symbioticeda.com for ↵Clifford Wolf2018-06-221-1/+1
| | | | | | copyright headers Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Cleanup parse_json_file API, some other cleanupsClifford Wolf2018-06-211-2/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Towards IdString as per-context facilityClifford Wolf2018-06-181-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>