aboutsummaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove isValidBelForCellgatecat2021-02-162-16/+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>
* generic: Add APIs for controlling cell->bel pin mappinggatecat2021-02-154-3/+29
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Merge pull request #575 from YosysHQ/gatecat/belpin-2gatecat2021-02-152-0/+4
|\ | | | | Support for cell pin to bel pin mappings
| * Add getBelPinsForCellPin to Arch APIgatecat2021-02-102-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This is a basic implementation, without considering "M of N" arrangements (e.g. for LUT permuation where you only want to route to 1 out of 4/6 sinks) or using a type other than IdString to identify bel pins. But this is also enough to start working out where in nextpnr will break due to removing the 1:1 cell:bel pin cardinality, as a next step. Signed-off-by: gatecat <gatecat@ds0.me>
* | Add getBelHidden and add some missing "override" statements.Keith Rothman2021-02-114-8/+12
|/ | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Use 'T' postfix to disambiguate LHS and RHS of usingD. Shah2021-02-081-21/+21
| | | | | | | Arches might otherwise have range types named ambigiously with the entry in ArchRanges. Signed-off-by: D. Shah <dave@ds0.me>
* Add archArgs and archArgsToId to Arch APID. Shah2021-02-051-2/+3
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* generic: Base upon ArchAPID. Shah2021-02-051-102/+132
| | | | | | | As generic is often picked as our 'odd-one-out' we also use it as an example of an Arch that does not build upon BaseArch. Signed-off-by: D. Shah <dave@ds0.me>
* generic: Fix pin names accidentally being IdStringList not IdStringD. Shah2021-02-052-4/+4
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-043-23/+19
| | | | | | | | | 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>
* Post-rebase fixD. Shah2021-02-021-4/+3
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* generic: Use IdStringList for all arch object namesD. Shah2021-02-024-107/+118
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* arch: Add getNameDelimiter API for string listsD. Shah2021-02-021-0/+1
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Run "make clangformat".Keith Rothman2021-02-022-39/+25
| | | | 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>
* Rename Partition -> BelBucket.Keith Rothman2021-02-022-10/+10
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Finish implementing new generic APIs.Keith Rothman2021-02-021-3/+15
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add archcheck for partition methods.Keith Rothman2021-02-022-0/+29
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Initial refactoring of placer API.Keith Rothman2021-02-021-0/+3
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Remove wire alias APIDavid Shah2020-10-153-26/+2
| | | | | | 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>
* Update generic synth script for dfflegalize changesPepijn de Vos2020-09-181-0/+1
|
* clangformatMiodrag Milanovic2020-07-251-26/+26
|
* proper argument propagationMiodrag Milanovic2020-07-241-26/+28
|
* Initial conversion to pybind11Miodrag Milanovic2020-07-231-35/+35
|
* Fix spelling of 'unsupported'Nathaniel Graff2020-05-131-1/+1
| | | | Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
* Merge pull request #391 from YosysHQ/router2-upstreamDavid Shah2020-02-042-2/+44
|\ | | | | Upstreaming router2
| * generic: Implement getRouteBoundingBoxDavid Shah2020-02-032-0/+26
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * router2: Improve flow and log outputDavid Shah2020-02-031-1/+1
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * Allow selection of router algorithmDavid Shah2020-02-032-2/+18
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #385 from YosysHQ/router1-arc-fixesDavid Shah2020-02-031-1/+2
|\ \ | |/ |/| Fixes for partial reconfig demo
| * Fix latent bug in generic out-of-context IO modeDavid Shah2020-01-211-1/+2
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | clangformatDavid Shah2020-01-201-1/+0
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Various warning fixesMiodrag Milanovic2020-01-181-11/+0
|/
* python: Add bindings for hierarchy structuresDavid Shah2019-12-271-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Fix width of 0-driver INITDavid Shah2019-12-011-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Don't assume unused LUT inputs are zeroDavid Shah2019-12-012-2/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Add support for post-PnR simulationDavid Shah2019-11-275-7/+67
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Add support for disabling IOB insertionDavid Shah2019-11-272-1/+9
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Improve error handling when Wire/Pip/Bel is not foundDavid Shah2019-11-272-21/+50
| | | | Signed-off-by: David Shah <dave@ds0.me>
* generic: Use HeAP as placer where possibleDavid Shah2019-11-261-3/+33
| | | | Signed-off-by: David Shah <dave@ds0.me>
* clangformatDavid Shah2019-11-181-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* leftover Q from before slice api changePepijn de Vos2019-11-181-4/+4
|
* more formattingPepijn de Vos2019-11-081-2/+2
|
* return FF_USED, formatting, correct INITPepijn de Vos2019-11-083-5/+17
|
* dedicated output for LUT in GENERIC_SLICEPepijn de Vos2019-11-086-32/+31
|
* generic: New Property interfaceDavid Shah2019-08-056-22/+21
| | | | Signed-off-by: David Shah <dave@ds0.me>
* clangformat runMiodrag Milanovic2019-06-252-5/+6
|
* enable lading of jsons and setting up contextMiodrag Milanovic2019-06-141-0/+1
|
* Use flags for each stepMiodrag Milanovic2019-06-142-3/+3
|
* restore arch info for ecp5Miodrag Milanovic2019-06-141-0/+5
|