aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * cleanup: Spelling fixesD. Shah2021-01-2815-31/+32
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * cleanup: Fix compiler warningsD. Shah2021-01-282-3/+3
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * cleanup: Remove dead/unused codeD. Shah2021-01-285-170/+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-283-25/+22
| | | | Signed-off-by: D. Shah <dave@ds0.me>
* Merge pull request #553 from YosysHQ/rel-sliceDavid Shah2021-01-2816-496/+375
|\ | | | | Switch from RelPtr to RelSlice
| * Make RelSlice uncopyableD. Shah2021-01-272-1/+4
| | | | | | | | Signed-off-by: D. Shah <dave@ds0.me>
| * Move RelPtr/RelSlice out of arches into commonD. Shah2021-01-274-118/+42
| | | | | | | | | | | | | | 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>
| * ecp5: Switch from RelPtr to RelSliceD. Shah2021-01-273-165/+143
| | | | | | | | | | | | | | | | | | | | This replaces RelPtrs and a separate length field with a Rust-style slice containing both a pointer and a length; with bounds checking always enforced. Thus iterating over these structures is both cleaner and safer. Signed-off-by: D. Shah <dave@ds0.me>
| * ice40: Switch from RelPtr to RelSliceD. Shah2021-01-277-150/+138
| | | | | | | | | | | | | | | | | | | | This replaces RelPtrs and a separate length field with a Rust-style slice containing both a pointer and a length; with bounds checking always enforced. Thus iterating over these structures is both cleaner and safer. Signed-off-by: D. Shah <dave@ds0.me>
| * nexus: Switch from RelPtr to RelSliceD. Shah2021-01-275-128/+114
| | | | | | | | | | | | | | | | | | | | This replaces RelPtrs and a separate length field with a Rust-style slice containing both a pointer and a length; with bounds checking always enforced. Thus iterating over these structures is both cleaner and safer. Signed-off-by: D. Shah <dave@ds0.me>
* | Merge pull request #550 from pepijndevos/gw1n4David Shah2021-01-282-2/+2
|\ \ | | | | | | Gowin: Add GW1N-4 support
| * | Gowin: Add GW1N-4 supportPepijn de Vos2021-01-032-2/+2
| | |
* | | Merge pull request #554 from litghost/default_to_releaseDavid Shah2021-01-281-1/+3
|\ \ \ | | | | | | | | Default to Release, but allow other modes (e.g. Debug, RelWithDebInfo).
| * | | Default to Release, but allow other modes (e.g. Debug, RelWithDebInfo).Keith Rothman2021-01-271-1/+3
| | |/ | |/| | | | | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* | | Merge pull request #555 from litghost/complete_archcheckDavid Shah2021-01-281-7/+75
|\ \ \ | |/ / |/| | Add connectivity round trip checks to archcheck.
| * | Add connectivity round trip checks to archcheck.Keith Rothman2021-01-271-7/+75
|/ / | | | | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* / ecp5: Fix bottom clock tile renaming for tilegroupsD. Shah2021-01-251-0/+8
|/ | | | Signed-off-by: D. Shah <dave@ds0.me>
* Merge pull request #549 from YosysHQ/updateMiodrag Milanović2021-01-02203-4212/+11691
|\ | | | | Update pybind11 version and fix for future python versions
| * PyEval_InitThreads only for older than 3.9Miodrag Milanovic2021-01-021-0/+2
| |
| * Update pybind11 to version 2.6.1Miodrag Milanovic2021-01-02202-4212/+11689
|/
* Merge pull request #548 from per-gron/c++17David Shah2020-12-302-5/+11
|\ | | | | C++17 compatibility: Don't use std::random_shuffle
| * 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.
* clangformatDavid Shah2020-12-307-43/+37
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Gowin target (#542)Pepijn de Vos2020-12-3021-8/+3235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* ecp5: Improve pseudo-diff IO error handlingDavid Shah2020-12-271-2/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ice40: Nicer error for unconstrained SB_GB_IODavid Shah2020-12-271-0/+2
| | | | Signed-off-by: David Shah <dave@ds0.me>
* command.cc: Improve help textDavid Shah2020-12-271-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #543 from tcal-x/use-single-char-findDavid Shah2020-12-171-1/+1
|\ | | | | Use std::string::find(char c) when searching for a single character.
| * Use std::string::find(char c) when searching for a single character.Tim Callahan2020-12-161-1/+1
| | | | | | | | Signed-off-by: Tim Callahan <tcal@google.com>
* | ecp5: Fix FF timing dataDavid Shah2020-12-171-4/+4
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #540 from YosysHQ/dave/nexus-dotproductDavid Shah2020-12-102-28/+71
|\ | | | | nexus: Add MULTADDSUB9X9WIDE support
| * nexus: Add MULTADDSUB9X9WIDE supportDavid Shah2020-12-082-28/+71
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #536 from YosysHQ/dave/disable-default-guiDavid Shah2020-12-083-12/+17
|\ \ | | | | | | cmake: Disable building GUI by default
| * | cmake: Disable building GUI by defaultDavid Shah2020-12-083-12/+17
|/ / | | | | | | | | | | | | This should reduce the number of Qt5-related issues, which often prevent even the basic command line flow from working. Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #528 from YosysHQ/dave/nexus-lramDavid Shah2020-12-086-16/+167
|\| | | | | nexus: Add basic LRAM support
| * nexus: Fix LRAM pin typesDavid Shah2020-12-072-10/+11
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * nexus: Add support for initialised LRAMDavid Shah2020-12-074-12/+50
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * nexus: Add basic LRAM support (no init)David Shah2020-12-026-4/+116
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | ice40: Clarify feedback paths in PLL constraints codeDavid Shah2020-12-031-3/+3
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #530 from YosysHQ/dave/ice40-derive-constrDavid Shah2020-12-031-31/+138
|\ \ | | | | | | ice40: Derive PLL timing constraints
| * | ice40: Derive PLL timing constraintsDavid Shah2020-12-031-31/+138
|/ / | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #527 from YosysHQ/dave/nexus-clockingDavid Shah2020-12-025-2/+369
|\| | | | | nexus: Clock constraint and PLL support
| * nexus: Add PLL supportDavid Shah2020-12-024-3/+213
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * nexus: Add support for deriving timing constraints in packerDavid Shah2020-12-021-0/+96
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * nexus/pdc: Parse simple clock constraintsDavid Shah2020-12-021-0/+61
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #526 from YosysHQ/dave/router2-timingDavid Shah2020-12-011-2/+17
|\ | | | | router2: Avoid ripup of critical path
| * router2: Avoid ripup of critical pathDavid Shah2020-12-011-2/+17
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #525 from YosysHQ/dave/router2-tweaksDavid Shah2020-12-011-5/+46
|\| | | | | router2: Improve thread safety
| * 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>