aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch_pybindings.cc
Commit message (Collapse)AuthorAgeFilesLines
* viaduct: Add support for GUIsgatecat2023-04-111-21/+23
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* generic: addBelPin with direction as an arggatecat2022-08-041-0/+6
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* generic: Use arch_pybindings_sharedgatecat2022-07-041-105/+12
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* generic: Add missing Pip vector bindinggatecat2022-02-041-0/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* generic: Refactor for faster performancegatecat2021-12-301-28/+36
| | | | | | | | This won't affect Python-built arches significantly; but will be useful for the future 'viaduct' functionality where generic routing graphs can be built on the C++ side; too. Signed-off-by: gatecat <gatecat@ds0.me>
* 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-3/+3
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Replace DelayInfo with DelayPair/DelayQuadgatecat2021-02-191-13/+11
| | | | | | | | | | | | | | | | | This replaces the arch-specific DelayInfo structure with new DelayPair (min/max only) and DelayQuad (min/max for both rise and fall) structures that form part of common code. This further reduces the amount of arch-specific code; and also provides useful data structures for timing analysis which will need to delay with pairs/quads of delays as it is improved. While there may be a small performance cost to arches that didn't separate the rise/fall cases (arches that aren't currently separating the min/max cases just need to be fixed...) in DelayInfo, my expectation is that inlining will mean this doesn't make much difference. Signed-off-by: gatecat <gatecat@ds0.me>
* generic: Add APIs for controlling cell->bel pin mappinggatecat2021-02-151-0/+8
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Add getBelHidden and add some missing "override" statements.Keith Rothman2021-02-111-4/+3
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-7/+6
| | | | | | | | | Single argument constructors will silently convert to that type. This is typically not the right thing to do. For example, the nexus and ice40 arch_pybindings.h files were incorrectly parsing bel name strings, etc. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* generic: Use IdStringList for all arch object namesD. Shah2021-02-021-30/+32
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Run "make clangformat".Keith Rothman2021-02-021-16/+12
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add pybindings for new APIs.Keith Rothman2021-02-021-0/+26
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Remove wire alias APIDavid Shah2020-10-151-7/+1
| | | | | | It has not actually been implemented in any router for over 2.5 years and causes nothing more than confusion. It can always be added back if it forms part of a future solution; possibly as part of a more general database structure rethink. Signed-off-by: David Shah <dave@ds0.me>
* clangformatMiodrag Milanovic2020-07-251-26/+26
|
* proper argument propagationMiodrag Milanovic2020-07-241-26/+28
|
* Initial conversion to pybind11Miodrag Milanovic2020-07-231-35/+35
|
* python: Add bindings for hierarchy structuresDavid Shah2019-12-271-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Cell timing supportDavid Shah2019-04-041-2/+18
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: GUI Python bindingsDavid Shah2019-04-031-4/+16
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Add a few more bindingsDavid Shah2019-04-021-0/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Simple working exampleDavid Shah2019-04-021-0/+9
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Simple procedural example worksDavid Shah2019-04-021-0/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Place a single SLICEDavid Shah2019-04-021-4/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Python bindings for arch constructionDavid Shah2019-04-021-0/+56
| | | | 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/+91
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Fixed pybiding so generic can work and ecp5 expose all neededMiodrag Milanovic2018-07-241-1/+11
|
* 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/+32
Signed-off-by: David Shah <davey1576@gmail.com>