aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.cc
Commit message (Collapse)AuthorAgeFilesLines
* clangformatDavid Shah2020-06-121-12/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Port nextpnr-{ice40,ecp5} to WASI.whitequark2020-05-231-0/+19
| | | | | | | | | | | | | | | | | | | | | This involves very few changes, all typical to WASM ports: * WASM doesn't currently support threads or atomics so those are disabled. * WASM doesn't currently support exceptions so the exception machinery is stubbed out. * WASM doesn't (and can't) have mmap(), so an emulation library is used. That library currently doesn't support MAP_SHARED flags, so MAP_PRIVATE is used instead. There is also an update to bring ECP5 bbasm CMake rules to parity with iCE40 ones, since although it is possible to embed chipdb into nextpnr on WASM, a 200 MB WASM file has very few practical uses. The README is not updated and there is no included toolchain file because at the moment it's not possible to build nextpnr with upstream boost and wasi-libc. Boost requires a patch (merged, will be available in boost 1.74.0), wasi-libc requires a few unmerged patches.
* Allow constraining non-leaf cells to regionsDavid Shah2019-12-271-1/+10
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Preserve hierarchy through packingDavid Shah2019-12-271-0/+73
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Adding helper functions for netlist modificationDavid Shah2019-09-151-0/+85
| | | | Signed-off-by: David Shah <dave@ds0.me>
* json: Add support for net aliasesDavid Shah2019-09-131-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Add --out-of-context for building hard macrosDavid Shah2019-08-071-1/+15
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: New Property interfaceDavid Shah2019-08-051-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Major Property improvements for common and iCE40David Shah2019-08-051-22/+78
| | | | Signed-off-by: David Shah <dave@ds0.me>
* clangformat runMiodrag Milanovic2019-06-251-24/+23
|
* Save/restore net strengthMiodrag Milanovic2019-06-071-5/+7
|
* Restore routing from jsonMiodrag Milanovic2019-06-071-1/+21
|
* CleanupMiodrag Milanovic2019-06-071-2/+3
|
* Cleanup and fixes, flow works nowMiodrag Milanovic2019-06-071-4/+31
|
* WIP saving/loading attributesMiodrag Milanovic2019-06-071-0/+66
|
* generic: GUI Python bindingsDavid Shah2019-04-031-0/+8
| | | | Signed-off-by: David Shah <dave@ds0.me>
* common: Add early return path to getNetinfoRouteDelay for fully unrouted netsDavid Shah2019-03-221-0/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Add Python helper functions for floorplanningDavid Shah2019-03-221-0/+21
| | | | Signed-off-by: David Shah <dave@ds0.me>
* timing: Improve clock constraint log outputDavid Shah2018-11-261-2/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Improve message spacingEddie Hung2018-11-141-1/+1
|
* Timing fixesDavid Shah2018-11-141-0/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Merge remote-tracking branch 'origin/master' into timingapiEddie Hung2018-11-131-0/+26
|\
| * Add more nameOf() convenience methodsClifford Wolf2018-11-131-0/+24
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * flush logs when throwing an assertion_failureClifford Wolf2018-11-101-0/+2
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | timing: Add support for clock constraintsDavid Shah2018-11-121-0/+9
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Working on multi-clock analysisDavid Shah2018-11-121-7/+14
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | timing: Implementing parts of new timing APIDavid Shah2018-11-121-0/+94
|/ | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Debugging DRAM packingDavid Shah2018-10-011-0/+5
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Use ArchNetInfo to mark global nets to ignoreDavid Shah2018-09-291-6/+6
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Global router produces a working bitstreamDavid Shah2018-09-291-0/+7
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Get rid of PortPin and BelType (ice40, generic, docs)Clifford Wolf2018-08-081-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* API change: Use CellInfo* and NetInfo* as cell/net handles (common, ice40)Clifford Wolf2018-08-051-8/+9
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* clangformat for stuff I've touchedEddie Hung2018-07-311-2/+2
|
* Modify the getNetinfo*() functions and getBudgetOverride() to not useEddie Hung2018-07-311-6/+5
| | | | user_idx and to take a PortRef& instead
* Modify predictDelay signatureEddie Hung2018-07-301-1/+1
|
* Add predictDelay Arch APIClifford Wolf2018-07-301-5/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* common: Fix getNetinfoRouteDelay when net has no driverDavid Shah2018-07-301-0/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add fallback to estimateDelay() in getNetinfoRouteDelay()Clifford Wolf2018-07-231-1/+6
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Rename getWireBelPin to getBelPinWireClifford Wolf2018-07-221-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Move common patterns from router1 to Context APIClifford Wolf2018-07-221-0/+56
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Revert "Refactor proxies to nextpnr."Sergiusz Bazanski2018-07-141-11/+0
| | | | This reverts commit 9b17fe385cf7e8d3025747b5f7c7822ac2d99920.
* Revert "clang-format"Sergiusz Bazanski2018-07-141-2/+9
| | | | This reverts commit 8ca7a6da2525463be5be4ee9f62cfae0acc06b01.
* Revert "Move read methods to ReadMethods, remove some legacy access to Arch"Sergiusz Bazanski2018-07-141-5/+4
| | | | This reverts commit 3352ff4abbcac563e08d78ed8aa77728d00284a8.
* Move read methods to ReadMethods, remove some legacy access to ArchSergiusz Bazanski2018-07-141-4/+5
|
* clang-formatSergiusz Bazanski2018-07-141-9/+2
|
* Refactor proxies to nextpnr.Sergiusz Bazanski2018-07-141-0/+11
|
* common: Remove deprecated global IdStringsDavid Shah2018-07-041-2/+0
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* refactor: Replace assert with NPNR_ASSERTDavid Shah2018-07-041-14/+14
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* common: Adding NPNR_ASSERTDavid Shah2018-07-041-0/+6
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Add implementations for generic arch db APIClifford Wolf2018-06-301-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>