3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-30 23:53:46 +00:00
Commit graph

17083 commits

Author SHA1 Message Date
Emil J
18b832247b
Merge pull request #5843 from QuantamHD/simplemap_pmux
simplemap: Moves $pmux mapping from techmap.v to simple map
2026-04-30 10:36:27 +00: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
nella
92287d4857
Merge pull request #5841 from YosysHQ/nella/fix-liberty
Fix ABC: Merged scl conversion failed, using liberty format warning when using -genlib.
2026-04-28 16:43:25 +00:00
nella
d2f7fecef5 Fix liberty cache warning with -genlib. 2026-04-28 15:21:54 +02:00
Emil J
a966d06524
Merge pull request #5825 from petterreinholdtsen/autotest-race-text-busy
Added locking around compiling in autotest.sh to avoid text busy race.
2026-04-28 09:12:33 +00:00
Emil J
cfa66f5335
Merge pull request #5824 from petterreinholdtsen/autotest-cxxflags
Use CPPFLAGS and CXXFLAGS when compiling in autotest.sh.
2026-04-27 22:06:07 +00:00
nella
4dbae6a473
Merge pull request #5826 from petterreinholdtsen/autotest-print-log-on-error
Made autotest.sh print log on error for easier debugging in CI setups.
2026-04-27 15:43:43 +00:00
Emil J
627b691578
Merge pull request #5831 from stashcroft/main
Make sure co-simulation only uses integer arithmetic
2026-04-27 14:03:58 +00:00
Miodrag Milanović
6b78731792
Merge pull request #5829 from YosysHQ/update_abc
Update ABC as per 2026-04-22
2026-04-27 10:59:29 +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
Petter Reinholdtsen
3187275184 Use CPPFLAGS and CXXFLAGS when compiling in autotest.sh.
This ensure the build flags used elsewhere are included
also during testing.

Patch based on change from Daniel Gröber via Debian.

See also issue #5805.
2026-04-25 06:47:26 +02:00
Petter Reinholdtsen
59b3b6d4e4 Added locking around compiling in autotest.sh to avoid text busy race.
Patch by Daniel Gröber via Debian.

See also issue #5805.
2026-04-25 00:01:34 +02:00
Petter Reinholdtsen
c5a8c3cca5 Made autotest.sh print log on error for easier debugging in CI setups.
Patch by Daniel Gröber via Debian.

See also issue #5805.
2026-04-25 00:01:03 +02:00
Emil J
ec0a102302
Merge pull request #5832 from YosysHQ/emil/simple-extract
rtlil: rewrite SigSpec::extract for perf and packing
2026-04-24 19:03:53 +00:00
Emil J
30a914167f
Merge pull request #5809 from QuantamHD/pmux_on2
opt: Remove O(n²) opt routines across the codebase for pmux
2026-04-24 19:03:40 +00:00
Emil J. Tywoniak
e0b833ac1a opt_muxtree: dense knowledge 2026-04-24 11:07:58 +02:00
Emil J. Tywoniak
4abaca273e opt_reduce: further optimization 2026-04-24 11:07:58 +02:00
Emil J. Tywoniak
10bbda93f7 rtlil: extend SigSpec::extract test 2026-04-24 11:04:19 +02:00
Emil J. Tywoniak
a2dafce910 unit tests: rename SigSpec::extract test 2026-04-24 11:04:19 +02:00
Emil J. Tywoniak
25b9b796c4 rtlil: complicate extract again for packing 2026-04-24 11:04:19 +02:00
Scott Ashcroft
23a05fcf35 Add comments to make sure it is clear scale is an exponent of 10 2026-04-23 17:22:14 +01:00
Scott Ashcroft
e69341cd5f Make sure co-simulation only uses integer arithmetic 2026-04-23 17:22:14 +01: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
Emil J. Tywoniak
dc570e3d55 Remove FHS dependency by replacing /bin/env with /usr/bin/env 2026-04-23 15:48:33 +02:00
Emil J. Tywoniak
14b0efeced rtlil: simplify extract for performance 2026-04-23 13:58:20 +02:00
nella
7e7336cdb8
Merge pull request #5813 from YosysHQ/nella/fast-liberty-file
abc/abc_new: cache parsed liberty files as .scl to avoid re-parsing across invocations
2026-04-23 11:16:08 +00:00
nella
d795a4f1d2 Fix WASI, store in temp dir. 2026-04-23 12:43:43 +02:00
nella
afac9a28b0 Fix WASI build. 2026-04-23 12:43:43 +02:00
nella
5d4d94a5dd Fix mac compile. 2026-04-23 12:43:43 +02:00
nella
94a215b4f7 Add dont_use_cells to scl cache. 2026-04-23 12:43:43 +02:00
nella
edd3ad525e Add scl caching to abc_new. 2026-04-23 12:43:43 +02:00
nella
9143178343 Merge liberty files into stripped scl files. 2026-04-23 12:43:43 +02:00
Miodrag Milanovic
bc83311dd8 Update ABC as per 2026-04-22 2026-04-22 17:37:25 +02:00
Emil J
64e7ce2f57
Merge pull request #5803 from YosysHQ/emil/specrule-port-sanity
Fix $specrule port naming inconsistency
2026-04-22 10:46:36 +00:00
Emil J. Tywoniak
f213a34427 Remove FHS dependency by replacing /bin/bash with /usr/bin/env bash everywhere 2026-04-22 10:39:19 +02:00
Emil J
70ee009dd9
Merge pull request #5823 from petterreinholdtsen/spelling-error-frontends-ast-genrtlil
Fixed spelling error in message of frontends/ast/genrtlil.cc.
2026-04-22 08:18:07 +00:00
Miodrag Milanović
3ccbd38cc6
Merge pull request #5768 from YosysHQ/tests
Update tests and test infrastructure
2026-04-22 06:16:05 +00:00
Petter Reinholdtsen
a89e8fd869 Fixed spelling error in message of frontends/ast/genrtlil.cc.
Patch by Ruben Undheim via the Debian project.  The patch originated
as 0009-Some-spelling-errors-fixed.patch and was dated 2018-07-12
there.

See also issue #5805.
2026-04-22 04:30:18 +02:00
Lofty
ed5d122174
Merge pull request #5793 from YosysHQ/lofty/abc-refactor-4
read/write_xaiger2: further cleanup [sc-269]
2026-04-21 12:13:42 +00:00
N. Engelhardt
2da90a5ad6
Merge pull request #5819 from YosysHQ/xprop_ignore_scopeinfo
xprop: ignore $scopeinfo cells
2026-04-21 09:31:44 +00:00
N. Engelhardt
240f7030b2 xprop: ignore $scopeinfo cells 2026-04-21 10:52:50 +02:00
Emil J
22ef992189
Merge pull request #5816 from petterreinholdtsen/proc-no-path-max
Rewrote Linux edition of proc_self_dirname() to handle any symlink length.
2026-04-20 09:47:59 +00:00
Lofty
33fba24158
Merge pull request #5811 from YosysHQ/emil/abc-fix-deferred-logs
abc: fix deferred logs
2026-04-20 07:56:45 +00:00
Petter Reinholdtsen
89d360aa4a Rewrote Linux edition of proc_self_dirname() to handle any symlink length.
This make sure the method work also when the program is located in
deep or long file paths, longer than both PATH_MAX and "getconf
PATH_MAX .".  Use the same code on GNU Hurd, where it now work.

I am not sure how to test this in a platform independent way.
2026-04-19 20:56:05 +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
Emil J. Tywoniak
b4c081c70b abc: fix deferred logs 2026-04-17 13:35:47 +02:00
Miodrag Milanovic
a666712687 Update arith_tree tests 2026-04-16 11:04:14 +02:00
Miodrag Milanovic
5737d2db35 Cleanup 2026-04-16 11:00:44 +02:00
Miodrag Milanovic
76732497b9 Cleanup 2026-04-16 11:00:44 +02:00