Commit Graph

16102 Commits

Author SHA1 Message Date
Lofty 333a0a0396 synth_xilinx: use -dress in abc mode 2025-11-06 13:45:51 +00:00
Emil J a2aeef6c96
Merge pull request #5461 from rocallahan/reset-abc-config
Fix regression in configuring ABC techmapping
2025-11-06 11:58:04 +01:00
github-actions[bot] 3d5b1e0a93 Bump version 2025-11-06 00:24:21 +00:00
Miodrag Milanović 5b2252ffd8
Merge pull request #5468 from YosysHQ/pyosys_outof
Fix generatory.py location for out of tree builds
2025-11-05 18:13:14 +01:00
Robert O'Callahan 0f770285f3 Move global ABC configuration variables into AbcConfig and initialize them properly 2025-11-05 13:56:04 +00:00
Martin Povišer 45bb5c690d
Merge pull request #5460 from povik/timeest-comb
timeest: Add top ports launching/sampling
2025-11-05 14:29:34 +01:00
Miodrag Milanovic f8341affe3 Fix generatory.py location for out of tree builds 2025-11-05 14:20:30 +01:00
Miodrag Milanovic e89c5914fe CodeQL CI fix 2025-11-05 07:10:08 +01:00
github-actions[bot] 12cb8e9511 Bump version 2025-11-05 00:24:49 +00:00
KrystalDelusion 52c108cd6a
Merge pull request #4596 from YosysHQ/emil/path-sep-refactor
Refactor getting dirs and filenames from paths to files
2025-11-05 09:12:54 +13:00
Miodrag Milanović 3d80e1663e
Merge pull request #5466 from donn/uv_wheel_hotfix
hotfix: wheel ci issues
2025-11-04 14:09:41 +01:00
Mohamed Gaber 51c8193643
hotfix: update libffi in wheels ci
update libffi to a version where https://github.com/libffi/libffi/issues/852 is fixed
2025-11-04 14:58:48 +02:00
Mohamed Gaber 3a54ed6916
hotfix: don't use uv when building wheels 2025-11-04 14:39:51 +02:00
Miodrag Milanović f170c0f346
Merge pull request #5454 from YosysHQ/krys/cache-apt
Shuffling and documenting prerequisites
2025-11-04 09:59:55 +01:00
Miodrag Milanovic ad3ae52e9a Upload only on manual action 2025-11-04 09:30:04 +01:00
Miodrag Milanovic db76eebc0f Remove mentions of Boost 2025-11-04 08:35:07 +01:00
Miodrag Milanovic 35e4d967c6 install UV in wheels.yml 2025-11-04 08:00:35 +01:00
Krystine Sherwin 17c1388303 Drop boost-python 2025-11-04 07:40:36 +01:00
Krystine Sherwin 684bbf6a25 CI: Move libbz2 to iverilog setup
Needed for vcd2fst.
2025-11-04 07:40:36 +01:00
Krystine Sherwin bf7c79cc85 CI: vcd2fst needs deps 2025-11-04 07:40:36 +01:00
Krystine Sherwin cc5642c904 Docs: Bringing prereqs in line
Add comments in setup-build-env/action.yml for where to document prereqs (and the separation between build/run and test).
Add some initial (very basic) text for `test_suites.rst`, listing prereqs and how to run the tests (with subsections for the different optional tests, which is currently docs, functional and unit).
Add sphinx-inline-tabs, use it for tidying up prereq instructions based on OS/platform (mostly helpful in the test suites doc where there are multiple sections split by OS).
Also fixes some single backticks that should be double backtick.
2025-11-04 07:40:36 +01:00
Krystine Sherwin a4bd40e199 CI: Fix iverilog deps 2025-11-04 07:39:06 +01:00
Krystine Sherwin 1f6ac5f392 CI: Split dependency setup
Split into common + build/docs/test (common always installs, build/docs/test are installed as requested with `build-*-deps` input flag).
2025-11-04 07:39:06 +01:00
Krystine Sherwin c597bf70b0 CI: Save iverilog cache in action
We still want to cache iverilog even if the rest of the action fails, so explicitly save/restore instead of standard cache.
2025-11-04 07:39:06 +01:00
Krystine Sherwin 0e2d24edd3 CI: iverilog setup as composite action
Called during setup-build-env.
2025-11-04 07:39:06 +01:00
Krystine Sherwin 2d778a94fa action.yml: Playing with apt cache 2025-11-04 07:39:05 +01:00
Miodrag Milanović b9156c4f7c
Merge pull request #5434 from donn/pyosys_tweaks
pyosys: uv for non-wheel builds, update instructions
2025-11-04 07:36:44 +01:00
Miodrag Milanović 0751b74e7a
Merge pull request #5441 from donn/pyosys_bugfixes
pyosys: fix a number of regressions from 0.58
2025-11-04 07:36:25 +01:00
Miodrag Milanović 0f2e470b0f
Merge pull request #5462 from YosysHQ/krys/genfiles
Makefile: Add gatemate genfiles
2025-11-04 07:30:01 +01:00
Krystine Sherwin 336877a353
io.cc: Drop unused variable 2025-11-04 12:27:31 +13:00
KrystalDelusion 39fab4a07f
Makefile: Add gatemate genfiles
Allows files to be cleaned with `make clean`, without which it breaks out-of-tree builds if an in-tree build has previously run and subsequently cleaned.
2025-11-04 11:46:27 +13:00
Krystine Sherwin 1a80c26bae
tests: Fix for macos
Drop non standard `-t` flag for putting the destination directory first.
2025-11-04 11:11:01 +13:00
Emil J 2d7a191b01
Merge pull request #5452 from vs34/fix-undef-id
kernel: Fix define ID issue, needs undef first
2025-11-03 15:08:07 +01:00
Mohamed Gaber e9733d681d
pyosys: uv for non-wheel builds, update instructions
- add `uv` to dependencies: saves builder(s) from manually having to manage a venv for python build dependencies
  - when building wheels, pip automatically creates the environment with those dependencies, so no need for uv
  - when running simply `make ENABLE_PYOSYS=1`, this is not the case. people attempting to `pip3 install --upgrade pybind11 cxxheaderparser` to add it to their system packages will be met with a scare message about "breaking system packages"
- update installation instructions to drop boost and add uv instead
- update ci scripts to use `macos-15[-intel]` (`macos-13` sunset in early december)
2025-11-03 15:39:31 +02:00
Martin Povišer 5fa7feccd3 timeest: Add top ports launching/sampling 2025-11-03 14:21:28 +01:00
Miodrag Milanović d0a41d4f58
Merge pull request #5442 from rocallahan/verific-bus-ports
Set `port_id` for Verific `PortBus` wires
2025-11-03 10:04:07 +01:00
github-actions[bot] 797780eda5 Bump version 2025-11-02 00:26:19 +00:00
Emil J dc051e98be
Merge pull request #5450 from YosysHQ/emil/dff-next_state-reset-pol-fix
dfflibmap: fix next_state inversion propagation for DFF flops by inve…
2025-11-01 18:13:12 +01:00
Krystine Sherwin a243e4e60f Docs: ecp5 and nexus are under lattice 2025-11-01 07:37:58 +00:00
Vaibhav Singh 88d101b462 kernel: Fix define ID issue, needs undef first 2025-10-31 14:06:00 +05:30
github-actions[bot] 4011d72656 Bump version 2025-10-30 00:24:42 +00:00
Emil J c9a4c608ce
Merge pull request #5446 from rocallahan/avoid-moved-from
Don't recompute hash using moved-out-of value
2025-10-29 16:16:57 +01:00
Miodrag Milanović 7f6ea39507
Merge pull request #5449 from yrabbit/adc-5
Gowin. Fix GW5A ADCs.
2025-10-29 11:11:47 +01:00
YRabbit 2a3720921c Gowin. Fix GW5A ADCs.
For these primitives, Gowin decided to use a different option for
describing ports—directly in the module header, i.e.

``` verilog
module ADC(input CLK);
```

instead of
``` verilog
module ADC(CLK);
input CLK;
```

Since this one-time parser becomes too confusing, it is easier to simply
add ADC descriptions as they are from a separate file, especially since
these primitives are only available in the GW5A series.

Test:
``` shell
yosys -p "read_verilog top.v; synth_gowin -json top-synth.json -family gw5a"
```

The old version of Yosys simply won't compile the design due to the lack
of port descriptions, while the new version will compile without errors.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2025-10-29 12:48:21 +10:00
github-actions[bot] 75eff54b31 Bump version 2025-10-29 00:24:43 +00:00
Emil J. Tywoniak b2fe335b2d dfflibmap: fix next_state inversion propagation for DFF flops by inverting reset value polarity 2025-10-28 13:56:28 +01:00
Miodrag Milanović 3b9f06c130
Merge pull request #5447 from pu-cc/gatemate-fix-serdes-cdr
gatemate: fix SERDES CDR parameters
2025-10-28 09:54:13 +01:00
Robert O'Callahan a27b1a83ae Don't recompute hash using moved-out-of value 2025-10-28 07:41:10 +00:00
Patrick Urban 14c1802b01 gatemate: fix SERDES CDR parameters 2025-10-27 15:47:48 +01:00
github-actions[bot] 8bc63ef6da Bump version 2025-10-26 00:25:16 +00:00