aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* nexus: More pin styles and FASM pinmux genDavid Shah2020-11-301-0/+9
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: IO pre-packingDavid Shah2020-11-301-0/+9
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Working on validity checkingDavid Shah2020-11-301-0/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add Python bindingsDavid Shah2020-11-301-5/+0
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add global networksDavid Shah2020-11-301-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* clangformatDavid Shah2020-11-261-3/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nextpnr: Improve error reporting in Context::checkDavid Shah2020-11-261-17/+67
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Python code cleanupMiodrag Milanovic2020-11-143-31/+13
|
* clangformatDavid Shah2020-11-141-4/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Remove wire alias APIDavid Shah2020-10-151-2/+0
| | | | | | 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>
* Merge pull request #500 from YosysHQ/dave/py-none-fixMiodrag Milanović2020-09-141-6/+6
|\ | | | | python: Fix handling of None in pybind11
| * python: Fix handling of None in pybind11David Shah2020-09-141-6/+6
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Preserve cmd parameters when loading json from GUIMiodrag Milanovic2020-09-042-1/+6
|/
* No longer need fstream includeRoss Schlaikjer2020-08-301-1/+0
|
* Only print filenames for now, default onRoss Schlaikjer2020-08-303-67/+13
|
* Add option to print critical path source codeRoss Schlaikjer2020-08-303-0/+94
| | | | | | | In order to make debugging the critical path easier, add an option that will log the location each net was defined, if known. If the file that contains the definition is known, and is readable, also print the part of the source HDL responsible for the signal definition.
* clangformatDavid Shah2020-08-202-2/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #488 from YosysHQ/dave/port_fanin_fixDavid Shah2020-08-121-2/+17
|\ | | | | timing: Fix counting of fanin in out-of-context mode
| * timing: Fix counting of fanin in out-of-context modeDavid Shah2020-08-121-2/+17
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Add a warning when floorplan constraint doesn't matchDavid Shah2020-08-121-1/+7
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Made proper exception translationMiodrag Milanovic2020-08-071-1/+7
|
* clangformatMiodrag Milanovic2020-07-254-19/+31
|
* pycontainers: Fix kv-pair-iter typeDavid Shah2020-07-241-9/+19
| | | | Signed-off-by: David Shah <dave@ds0.me>
* exception translationMiodrag Milanovic2020-07-241-7/+1
|
* Fixed named argumentsMiodrag Milanovic2020-07-241-4/+3
|
* proper argument propagationMiodrag Milanovic2020-07-241-10/+10
|
* proper ctx exportMiodrag Milanovic2020-07-232-2/+2
|
* possible fixMiodrag Milanovic2020-07-231-6/+4
|
* Initial conversion to pybind11Miodrag Milanovic2020-07-235-177/+154
|
* Avoid low-value and slow pip name check for ECP5David Shah2020-06-291-2/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* placer1: Unlock even if placement failsDavid Shah2020-06-291-0/+2
| | | | | | | | Prevents a hang during routing when using --force Fixes #462 Signed-off-by: David Shah <dave@ds0.me>
* Fix clangformat and execute itMiodrag Milanovic2020-06-272-7/+9
|
* Merge pull request #460 from whitequark/better-embedDavid Shah2020-06-262-0/+96
|\ | | | | Simplify and improve chipdb embedding/loading
| * Simplify and improve chipdb embedding/loading.whitequark2020-06-262-0/+96
| |
* | HeAP: Add timeout to IO placementDavid Shah2020-06-251-0/+4
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* clangformatDavid Shah2020-06-121-12/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #447 from whitequark/wasiDavid Shah2020-05-244-8/+62
|\ | | | | Port nextpnr-{ice40,ecp5} to WASI
| * Port nextpnr-{ice40,ecp5} to WASI.whitequark2020-05-234-8/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | clangformatDavid Shah2020-05-161-3/+2
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Fix embarassing use of topographical when meaning topologicalEddie Hung2020-05-141-16/+16
|/
* Add missing --top optionDavid Shah2020-05-091-0/+5
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Also convert regular map keys to stringDavid Shah2020-04-241-1/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* python: Wrap map IdString key when accessed by indexDavid Shah2020-04-241-1/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* design_utils: Set port.net to null when disconnectingSylvain Munaut2020-04-241-0/+1
| | | | | | | | Without this the python bindings can't actually connect anything else to a disconnected port since the assert in connect_ports will think it's still connected Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* command.cc: Use correct constant for default routerRangel Ivanov2020-04-041-1/+1
| | | | | | Otherwise --help reports that the default router is heap Signed-off-by: Rangel Ivanov <rangelivanov88@gmail.com>
* router2: Prevent overflowDavid Shah2020-03-221-2/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge branch 'master' of ssh.github.com:YosysHQ/nextpnrDavid Shah2020-03-171-5/+15
|\
| * Replace assertion failure with errorDavid Shah2020-03-131-5/+15
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | timing: Improve robustness to dangling/undriven logicDavid Shah2020-03-171-0/+10
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* pycontainers: Properly handle KeyErrorsSylvain Munaut2020-03-041-5/+11
| | | | | | | | | | | | | We raise a C++ exception to abort the rest of the execution of the function. At the same time we standardize on using a throw runtime error as the method to avoid warning when not returning values. (some places used this throw and some other used std::terminate) Fixes #403 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>