Commit Graph

39 Commits

Author SHA1 Message Date
Karolis Stasaitis
edc7beb2db yosys-symbiflow: mark as broken 2026-07-15 13:10:48 +02:00
Karolis Stasaitis
c74b782bcf yosys-bluespec: fix build with yosys 0.67 2026-07-15 13:05:12 +02:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Gon Solo
0f1f388f32 synlig: drop
The upstream project is no longer maintained and is not compatible with
newer yosys versions.
2026-01-06 15:51:31 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Luna Nova
e7fbed853b treewide: remove usages of obsolete pie hardening flag 2025-10-09 10:13:03 -07:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Weijia Wang
15ed1420f9 yosys-ghdl: 2022.01.11 -> 0-unstable-2025-05-23 2025-07-26 05:55:26 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Henner Zeller
13b7493c0a synlig: 2024-11-29 -> 2024-12-10 2025-02-02 13:26:39 -08:00
Henner Zeller
80122f1de6 synlig: 2024-08-07 -> 2024-11-29 2024-12-16 00:02:51 -06:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Luflosi
d56656e487 yosys: 0.46 -> 0.47
https://github.com/YosysHQ/yosys/releases/tag/0.47

Also mark Synlig as broken as it is currently not compatible with the latest Yosys version.
2024-11-07 12:08:33 +01:00
Henner Zeller
c5ddf1ced2 synlig: 2023-11-28 -> 2024-08-07 2024-08-07 02:27:09 -07:00
Henner Zeller
c6a7d7a0cd synlig: broken after yosys 0.38
Synlig is currently not compaetible with newer versions of Yosys,
so marking it broken to allow #297531 to proceed.
2024-06-09 10:49:08 -07:00
Henner Zeller
4fba3d0fa5 yosys-synlig: fix compilation with Yosys 0.37
Discussed in
https://github.com/NixOS/nixpkgs/pull/281384

This is filed as upstream issue
https://github.com/chipsalliance/synlig/issues/2299

... and addressed in this pull request
https://github.com/chipsalliance/synlig/pull/2300

Patched into this nix package.

Co-authored-by: Luflosi <luflosi@luflosi.de>
2024-01-27 09:17:18 -08:00
Henner Zeller
897387bb27 yosys-synlig: 2023-10-26 -> 2023-11-28 2023-11-29 13:18:33 -06:00
Henner Zeller
13687487b9 synlig: 2023.10.12 -> 2023-10-26 2023-10-27 07:36:13 -05:00
Henner Zeller
d3ae415ae2 yosys-synlig: init at 2023.10.12 2023-10-16 10:15:08 -05:00
Henner Zeller
dbfeae15ca yosys-symbiflow: 1.20230808 -> 1.20230906 2023-10-15 05:39:34 -05:00
Henner Zeller
8c603d5a8c yosys-symbiflow: 1.20230425 -> 1.20230808 2023-09-04 09:03:32 -05:00
Henner Zeller
123b92da6c yosys-symbiflow: 2023.02.08 -> 1.20230425
The plugin now has a tagged version that is based on the date.
Previously, we had to use a random commit and manually choose the
relevant date. Now, we use the official tag as a version here
and to fetch from git.

While at it: fix the tests - somewhere over the course of the
lasts year, the tests stopped being run. Fixed now.
2023-04-26 01:47:32 -05:00
Adam Joseph
9aa3e69c99 yosys/plugins/ghdl.nix: fix build
Since 12cc34ce2d all yosys plugins are expected to have a
`plugin` attribute; without it they will not build.  This commit
adds one for yosys-ghdl.
2023-04-16 17:47:18 -07:00
Austin Seipp
241586918d yosys-symbiflow: 2022.11.07 -> 2023.02.08
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-02-09 18:43:13 -06:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Henner Zeller
ec912ab1dd yosys-symbiflow: 2022.09.27 -> 2022.11.07
Update plugins to be compatible with latest surelog/uhdm (1.45).
Also fix expected googletest path so that it comes from the
nix environment, not third_party/.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2022-11-08 12:47:27 -08:00
Valentin Gagarin
b02d74fb5e Merge pull request #173225 from matthuszagh/uhdm
Add systemverilog plugin to yosys
2022-11-04 18:37:13 +01:00
Doron Behar
9b16f08a95 yosys-ghdl: 2021.01.25 -> 2022.01.11 2022-10-08 14:53:52 +03:00
Doron Behar
cd3fc9ea27 yosys-ghdl: Formatting - new lines between inputs and arguments 2022-10-08 14:53:52 +03:00
Matt Huszagh
c526f70d1b symbiflow: update to 2022.09.27 2022-09-27 18:04:13 -07:00
Matt Huszagh
5d0452a9ae symbiflow: add systemverilog plugin 2022-05-15 21:35:13 -07:00
OllieB
12cc34ce2d yosys: Add yosys-symbiflow-plugins 2022-01-08 14:48:28 +00:00
Austin Seipp
8efa46a893 yosys: 0.12+36 -> 0.12.54, with yosys-bluespec update
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2022-01-06 09:19:29 -06:00
Austin Seipp
5540e1b0dd yosys-bluespec: 2021.01.17 -> 2021.08.19
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-08-19 04:16:32 -05:00
Eduardo Sánchez Muñoz
5def007f40 ghdl-yosys: 2021.01.01 -> 2021.01.25 2021-02-10 10:16:38 +01:00
Austin Seipp
6ec4a219ce yosys-bluespec: 2021.01.14 -> 2021.01.17
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-17 17:15:01 -06:00
Austin Seipp
ec1830e696 init: experimental yosys-{bluespec, ghdl} plugins
These plugins can be included in a closure, along with the `yosys`
derivation, and they will be automatically picked up for use. For
example, this allows you to include 'yosys-bluespec' in your
`buildInputs`, and then immediately run:

    $ nix-shell -p yosys yosys-bluespec yosys-ghdl
    $ yosys -m bluespec -p 'help read_bluespec'
    $ yosys -m ghdl -p 'help ghdl'

These two plugins are a bit experimental, admittedly, but they are good,
clean examples of how to write and use the yosys plugin infrastructure,
and make it easy to test updates, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00