3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-09 00:40:16 +00:00
Commit graph

2633 commits

Author SHA1 Message Date
nella
fe1ce9e5c1 Fix merge. 2026-07-08 11:54:55 +02:00
nella
f5809a7c2c
Merge branch 'main' into nella/latch-toggle 2026-07-08 11:41:08 +02:00
nella
362e828dc2 Simplify check -latchonly calls in synth. 2026-07-07 10:10:00 +02:00
Leo Moser
b06c57b2bf fabulous: remove unused -blif option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-07-01 13:38:45 +02:00
Leo Moser
655cb40d0f fabulous: add --cells-map option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:51 +02:00
Leo Moser
4fac567673 fabulous: add -arith-map option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:51 +02:00
Leo Moser
d50999ea45 fabulous: format using clang
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:51 +02:00
Leo Moser
2535504217 fabulous: update CMakeLists.txt
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:51 +02:00
Leo Moser
aa84f4a13b fabulous: remove legacy arith_map.v mapping
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:51 +02:00
Leo Moser
f79c0ad214 fabulous: add -multiplier-map option, map to $__FABULOUS_MUL
- an example: `-multiplier-map multiplier_map.v 8:8:2:2:10`

Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:44 +02:00
Leo Moser
d72cca2945 fabulous: add -clkbuf-map option, map to $__FABULOUS_GBUF
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:33 +02:00
Leo Moser
ec8155e040 fabulous: convert -iopad to -noiopad, map to $__FABULOUS_[I|O|T|IO]BUF
- with PCF support in nextpnr fabulous, `-iopad` is now the default
- supply further mapping using `-extra-plib`

Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:09:19 +02:00
Leo Moser
c73fd4f70b fabulous: add -extra-mlibmap option, remove legacy -noregfile option
- this allows to map to any memories
- to map legacy register files, use: `-extra-plib regfile.v -extra-mlibmap ram_regfile.txt -extra-map regfile_map.v`

Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:08:54 +02:00
Leo Moser
6c82468031 fabulous: add -ff option, remove legacy -plib/-complex-dff option
The concept of 'COMPLEX_DFF' is deprecated. Instead, simply specify the supported flip-flops using `-ff <cell_type_pattern> <init_values>` and supply the mapping file.

Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:06:38 +02:00
Leo Moser
30640c71e2 fabulous: fix argument check in -carry option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:02:41 +02:00
Leo Moser
54c37b395b fabulous: fix argument check in -lut option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:02:41 +02:00
Leo Moser
d671de97e9 fabulous: remove legacy -vpr option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:02:41 +02:00
Leo Moser
32bd3e5418 fabulous: remove unused -encfile option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:02:41 +02:00
Leo Moser
a1759e7ae7 fabulous: remove unused -edif option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
2026-06-30 16:02:41 +02:00
nella
a3b8609c84 Add -nolatches check option. 2026-06-24 10:38:10 +02:00
Miodrag Milanovic
a689342207 Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
Miodrag Milanovic
48a3dcc02a End of file fix 2026-06-23 07:23:41 +02:00
Miodrag Milanovic
3ac58b3ac1 Fixed line endings 2026-06-23 07:17:22 +02:00
Miodrag Milanovic
09eef69e31 synth_intel: fix broken dsp mapping 2026-06-22 17:51:26 +02:00
nella
b3b1394cf1 Fixup level policy. 2026-06-18 18:00:51 +02:00
nella
32a268d745 Emit errors before dfflegalize. 2026-06-18 17:07:24 +02:00
nella
b2d688dbf9 Error out on latches. 2026-06-17 17:36:32 +02:00
nella
c814ef35e3 Emit latch warning. 2026-06-17 11:27:43 +02:00
nella
7473fcf939 Add latch inference msg severity option. 2026-06-15 14:17:02 +02:00
Catherine
a727e7f6e7 Migrate build system to CMake
See #5895 for details.

This commit does not include CI or documentation changes.
2026-06-03 08:58:10 +00:00
Miodrag Milanović
b85777a6e6
Merge pull request #5914 from pu-cc/gatemate-scopename
gatemate: add option to create 'scopename' attributes when flattening netlist
2026-05-29 10:31:04 +00:00
Patrick Urban
1d86b3cd6e gatemate: add option to create 'scopename' attributes when flattening the netlist 2026-05-28 14:46:25 +02:00
nella
1414012676 Add sign and op checks. 2026-05-28 09:58:18 +02:00
nella
7fef67a141 Simplify nexus map. 2026-05-28 09:58:18 +02:00
nella
d6106f141c Add matching for fused mac operations for Nexus (fix #5906). 2026-05-28 09:58:18 +02:00
Miodrag Milanovic
75dcbe03c6 Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
Miodrag Milanovic
8bbc3c359c Remove id2cstr uses in our code base 2026-05-16 19:49:45 +02:00
Miodrag Milanovic
965a3e67f0 Remove pmgen related users of log_id 2026-05-14 17:28:10 +02:00
Miodrag Milanovic
4a7878b17f Fixing couple more conversion errors 2026-05-14 15:58:58 +02:00
Miodrag Milanovic
58df27ce7c Refactor uses of log_id in pgm files 2026-05-14 12:21:32 +02:00
Codexplorer
e41b969da2 Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
Lofty
ab316c14d2
Merge pull request #5844 from YosysHQ/lofty/abc-refactor-5
abc_new: integration testing via synth_gatemate
2026-05-06 13:40:15 +00:00
Lofty
fecea911ff synth_gatemate: add -abc_new option 2026-05-06 14:02:48 +01:00
nella
fff034d2f8 Add check before flatten in synth_*. 2026-05-05 14:06:58 +02:00
nella
16b893bd88 Add check before flatten in synth. 2026-05-04 19:05:00 +02:00
Ethan Mahintorabi
805c302411
simplemap: Moves $pmux mapping from techmap.v to simple map
This Fixes the slow downs I observed in techmap.v, which we
attempted to fix via the simplify ast.h route originally. This
turned out to be rather complex though.

By moving $pmux to simplemap we can just avoid that code. My
test case now runs in 310s which is 40s faster than the baseline
change.

B:507898959
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2026-04-29 21:20:39 +00:00
Lofty
5197b9c8ce
Merge pull request #5833 from ghaworth/fix-sdp-dipbdip-typo
Fix RAMB36E1/E2 SDP parity port mapping typo
2026-04-25 08:41:31 +00:00
Emil J
2dc69a7578
Merge pull request #5828 from YosysHQ/emil/bash-no-fhs
Remove FHS dependency by replacing /bin/bash with /usr/bin/env bash
2026-04-23 15:47:57 +00:00
Emil J. Tywoniak
14d0138d0c Remove FHS dependency by replacing /bin/sh with /usr/bin/env sh 2026-04-23 15:55:11 +02:00
George Haworth
aba5b279c6 Fix RAMB36E1/E2 SDP parity port mapping typo
DIPBDIP/DINPBDINP condition checked PORT_W_WIDTH == 71, which never
matches any valid SDP width. Should be 72, matching the DIBDI/DINBDIN
condition on the line above. This caused data bits 68-69 to be
silently overwritten with copies of bits 64-65 on every write.

Affects both xc6v (RAMB36E1, Artix-7/Kintex-7/Virtex-7) and xcu
(RAMB36E2, UltraScale/UltraScale+) mapping templates. The RAMB18E1/E2
equivalents correctly use == 36.
2026-04-18 19:10:18 +03:00