aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #563 from litghost/seperate_pip_range_typesDavid Shah2021-02-021-2/+2
|\ | | | | Seperate PipRange types in pybindings_shared.
| * Seperate PipRange types in pybindings_shared.Keith Rothman2021-02-011-2/+2
| | | | | | | | 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>
* cleanup: Spelling fixesD. Shah2021-01-284-11/+12
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* cleanup: Fix compiler warningsD. Shah2021-01-281-1/+2
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* cleanup: Remove dead/unused codeD. Shah2021-01-283-113/+3
| | | | | | | Note that some '#if 0' code that might still be useful for debugging in the future has been retained. Signed-off-by: D. Shah <dave@ds0.me>
* clangformatD. Shah2021-01-282-23/+19
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Merge pull request #553 from YosysHQ/rel-sliceDavid Shah2021-01-281-0/+42
|\ | | | | Switch from RelPtr to RelSlice
| * Make RelSlice uncopyableD. Shah2021-01-271-0/+3
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Move RelPtr/RelSlice out of arches into commonD. Shah2021-01-271-0/+39
| | | | | | | | | | | | | | The bba approach seems widely used enough that it's reasonable for this to become part of common code. 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>
* C++17 compatibility: Don't use std::random_shufflePer Grön2020-12-302-5/+11
| | | | std::random_shuffle deprecated in C++14 and was removed in C++17.
* Gowin target (#542)Pepijn de Vos2020-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * load wires * add slice bels * add IOB * add aliases * local aliases * broken packing stuff * working packer * add constraints * pnr runs1111 * add timing info * constraints * more constraint stuff * add copyright * remove generic reference * remove parameters * remove generic python api * add newline to end of file * some small refactoring * warn on invalid constraints * don't error on missing cell * comment out debugging print * typo * avoid copy * faster empty idstring * remove intermediate variable * no more deadnames * fix cst warnings * increase ripup and epsilon a bit * take single device parameter * add info to readme * gui stubs * Revert 4d03b681a8634e978bd5af73c97665500047e055 * assign ff_used in assignArchInfo * decrease beta for better routability * try to fix CI
* command.cc: Improve help textDavid Shah2020-12-271-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Avoid ripup of critical pathDavid Shah2020-12-011-2/+17
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Make splitting of wires thread-safeDavid Shah2020-12-011-4/+39
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Add per-thread rngDavid Shah2020-12-011-1/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Refactor DSP macro splitting to make it more genericDavid Shah2020-11-302-0/+14
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add support for clocked MULT9X9sDavid Shah2020-11-302-0/+12
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Support for unclocked 9x9 multipliesDavid Shah2020-11-302-6/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Miscellaneous DSP infrastructureDavid Shah2020-11-302-24/+10
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Add some infrastructure for DSP packingDavid Shah2020-11-302-0/+28
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router1: Fix same-source-dest caseDavid Shah2020-11-301-0/+14
| | | | Signed-off-by: David Shah <dave@ds0.me>
* router2: Fix case where src and dst are the sameDavid Shah2020-11-301-1/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: LUTRAM supportDavid Shah2020-11-301-0/+7
| | | | Signed-off-by: David Shah <dave@ds0.me>
* 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
|