nextpnr/generic
Josef Gajdusek 0a8a848a72
Minor UX improvements to the generic example code (#1706)
* generic: Fix Python path not including the examples/ directory in the example

It seems that at some point, the embedded Python stopped including the
directory that nextpnr-generic was executed in inside of its sys.path.
This likely happened by de3d5be8 specifying an explicit argv to
the interpreter init function.

* generic: Improve the example for K != 4

Configuring K < 4 used to result in "dangling" inputs to the cells being
generated (those are just not driven by anything in the resulting Verilog/JSON).

Configuring K > 4 used to result in an assertion crash in cells.cc.

The ctx.setLutK call fixes both cases.
2026-04-28 13:08:44 +02:00
..
examples Minor UX improvements to the generic example code (#1706) 2026-04-28 13:08:44 +02:00
synth Update generic synth script for dfflegalize changes 2020-09-18 15:39:24 +02:00
viaduct Improve file open error messages (#1700) 2026-04-19 16:41:47 +02:00
CMakeLists.txt feat: basic pcf implementation (#1637) 2026-02-17 17:38:01 +01:00
arch.cc feat: basic pcf implementation (#1637) 2026-02-17 17:38:01 +01:00
arch.h feat: basic pcf implementation (#1637) 2026-02-17 17:38:01 +01:00
arch_pybindings.cc viaduct: Add support for GUIs 2023-04-11 19:11:54 +02:00
arch_pybindings.h generic: Add missing Pip vector binding 2022-02-04 15:54:41 +00:00
archdefs.h clangformat 2024-09-30 14:51:33 +02:00
cells.cc Switch to potentially-sparse net users array 2022-02-27 13:47:05 +00:00
cells.h Fixing old emails and names in copyrights 2021-06-12 13:22:38 +01:00
chipdb.cc CMake: refactor architecture-specific build system parts. 2025-01-21 17:13:03 +00:00
main.cc CMake: refactor architecture-specific build system parts. 2025-01-21 17:13:03 +00:00
pack.cc Switch to potentially-sparse net users array 2022-02-27 13:47:05 +00:00
viaduct_api.cc refactor: ArcBounds -> BoundingBox 2022-12-07 10:00:53 +01:00
viaduct_api.h clangformat 2024-09-30 14:51:33 +02:00
viaduct_constids.h Viaduct API for a hybrid between generic and full-custom arch 2022-01-04 20:19:29 +00:00
viaduct_helpers.cc viaduct: Fix constant connectivity 2022-12-06 10:04:59 +01:00
viaduct_helpers.h clangformat 2024-09-30 14:51:33 +02:00