aboutsummaryrefslogtreecommitdiffstats
path: root/common/archcheck.cc
Commit message (Collapse)AuthorAgeFilesLines
* Split up common into kernel,place,routegatecat2022-04-081-408/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Fixing old emails and names in copyrightsgatecat2021-06-121-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Use hashlib in most remaining codegatecat2021-06-021-9/+9
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* mistral: Tidying upgatecat2021-05-151-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* archcheck: Use old connectivity check for CycloneVgatecat2021-05-151-1/+29
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Mark IdString and IdStringList single argument constructors explicit.Keith Rothman2021-02-041-12/+21
| | | | | | | | | 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>
* Use a LRU cache for pip to wire map.Keith Rothman2021-02-031-10/+113
| | | | | | | | This avoids storing the entire pip to wire map in memory with a moderate runtime increase and a dramatic memory decrease (2 GB to 200 MB for A50T). Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* ecp5: Implement IdStringList for all arch object namesD. Shah2021-02-021-2/+2
| | | | | | | This is a complete implementation of IdStringList for ECP5; excluding the GUI (which you will have to disable for it to build). Signed-off-by: D. Shah <dave@ds0.me>
* refactor: Replace getXName().c_str(ctx) with ctx->nameOfXD. Shah2021-02-021-4/+4
| | | | | | This makes the ongoing migration to IdStringList easier. Signed-off-by: D. Shah <dave@ds0.me>
* ecp5: Proof-of-concept using IdStringList for bel namesD. Shah2021-02-021-2/+2
| | | | | | | | | | | This uses the new IdStringList API to store bel names for the ECP5. Note that other arches and the GUI do not yet build with this proof-of-concept patch. getBelByName still uses the old implementation and could be more efficiently implemented with further development. Signed-off-by: D. Shah <dave@ds0.me>
* Run "make clangformat".Keith Rothman2021-02-021-10/+10
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Rename Partition -> BelBucket.Keith Rothman2021-02-021-30/+30
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add archcheck for partition methods.Keith Rothman2021-02-021-0/+64
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Avoid linear scan in PIP check loop.Keith Rothman2021-01-291-18/+10
| | | | | | | The previous additions to archcheck increased the runtime of the nexus archcheck quiet a bit. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* clangformatD. Shah2021-01-281-18/+17
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Add connectivity round trip checks to archcheck.Keith Rothman2021-01-271-7/+75
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Avoid low-value and slow pip name check for ECP5David Shah2020-06-291-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Add pip locationsClifford Wolf2018-08-091-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* common: Remove use of deprecated APIsDavid Shah2018-07-241-3/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add Context::archcheck() and "nextpnr-ice40 --test"Clifford Wolf2018-07-231-0/+146
Signed-off-by: Clifford Wolf <clifford@clifford.at>