diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-08-16 19:31:22 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-08-21 08:55:54 +0900 |
| commit | 217b6a26020369a84f4f00546e07b21cb749b968 (patch) | |
| tree | 74527217564a830d718d572df3a52c7f1962e15f /gnu | |
| parent | f726b84d22dfd37a689d9624a3419695b1990d9d (diff) | |
gnu: yosys: Include pmgen python script.
pmgen.py is required by some third party plugins as yosys-f4pga-plugins.
* gnu/packages/fpga.scm (yosys)[#:phases]{keep-pmgen-py}: Add.
Change-Id: I90f81d6b278efacaae3ce81ede72a8282bc52a95
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fpga.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 74510822323..dbd470d815a 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm | |||
| @@ -247,6 +247,12 @@ For synthesis, the compiler generates netlists in the desired format.") | |||
| 247 | ;; work. | 247 | ;; work. |
| 248 | (symlink (search-input-file inputs "/bin/abc") | 248 | (symlink (search-input-file inputs "/bin/abc") |
| 249 | (string-append #$output "/bin/yosys-abc")))) | 249 | (string-append #$output "/bin/yosys-abc")))) |
| 250 | (add-after 'install 'keep-pmgen-py | ||
| 251 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 252 | ;; pmgen.py is required by some yosys plugins. | ||
| 253 | (install-file (search-input-file inputs | ||
| 254 | "/passes/pmgen/pmgen.py") | ||
| 255 | (string-append #$output "/bin")))) | ||
| 250 | (add-after 'install 'wrap | 256 | (add-after 'install 'wrap |
| 251 | (lambda* (#:key inputs #:allow-other-keys) | 257 | (lambda* (#:key inputs #:allow-other-keys) |
| 252 | (wrap-program (string-append #$output "/bin/yosys-witness") | 258 | (wrap-program (string-append #$output "/bin/yosys-witness") |
