Krystine Sherwin
0360a4bd0a
tests/check_mem: Drop unused init check
...
It was also raising an error in `read_verilog`.
2026-05-30 11:06:11 +12:00
Mike Inouye
a14650d07b
verilog backend: runtime optimization for keyword pool
...
Signed-off-by: Mike Inouye <mikeinouye@google.com>
2026-05-29 17:53:31 +00:00
Miodrag Milanović
e56c6a954c
Merge pull request #5915 from YosysHQ/emil/auto-lifetime-hotfix-nosync
...
genrtlil: don't avoid emitting flops for nosync
2026-05-29 14:08:45 +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
Emil J. Tywoniak
80bdbaa010
genrtlil: don't avoid emitting flops for nosync
2026-05-29 11:37:08 +02:00
Krystine Sherwin
5f53410db7
verific: Fix negative array dimensions
...
Recurse over memory dimensions once, doing both our min/max address checking and parsing out the initval. This also avoids problems with negative numbers (if `a < b` and one or both are negative, `a` might be the intended `max_addr_chunk`).
Fix sub addressing, where we use some but not all of the current dimension's bits.
2026-05-29 18:40:25 +12:00
Krystine Sherwin
52e0030cc5
tests/check_mem: Add problematic case
...
Verific reports it as 16 2-bit addresses, meaning we have to iterate over the last dimension while skipping indices.
2026-05-29 18:40:25 +12:00
Krystine Sherwin
21966ef496
verific: Fix non-contiguous memory init
...
Recurse over nested type ranges to calculate true addresses.
2026-05-29 18:40:25 +12:00
Krystine Sherwin
ab5f25db9a
Add test for non-contiguous memory init
...
Also negative memory addresses.
2026-05-29 18:40:24 +12:00
Krystine Sherwin
aac7366862
tests: Add check_mem to vanilla-test
2026-05-29 18:40:24 +12:00
Krystine Sherwin
f6327cc444
check_mem: Add -non-const option
...
Can identify potentially dangerous addressing, but also prone to false-positives.
2026-05-29 18:40:24 +12:00
Krystine Sherwin
099c664dc9
verific: Fix upto ranges
2026-05-29 18:40:23 +12:00
Krystine Sherwin
7cf0c55466
verific: Fix non-contiguous memory flattening
...
May not be the best approach, insofar as it uses empty memory elements for padding out the alignment, but it does avoid costly address arithmetic.
Still needs to adjust ascii init val addresses, but should work fine for read/write accesses.
2026-05-29 18:40:23 +12:00
Krystine Sherwin
07e3d648aa
Add check_mem command
...
Comes with a set of tests which (currently) pass with `read_verilog` but fail with `verific` based on #5878 .
Add `--check-sv`, an alternative to `--prove-sv` with generator defined yosys commands. Helpful for when you want to run the same set of commands on a bunch of sv files.
2026-05-29 18:40:23 +12:00
Akash Levy
d1ec970f86
Merge pull request #174 from Silimate/feat/fst_reuse
...
[ENG-2072] Rename reg_rename pass argument from -vcd to -waveform
2026-05-28 11:46:15 -07:00
Akash Levy
cf0dbc9e31
Merge pull request #175 from Silimate/reg-rename
...
Bug fix for reg-rename
2026-05-28 11:14:56 -07:00
Patrick Urban
1d86b3cd6e
gatemate: add option to create 'scopename' attributes when flattening the netlist
2026-05-28 14:46:25 +02:00
Miodrag Milanović
1801abf30a
Merge pull request #5913 from YosysHQ/abcexternal
...
Putting back some Makefile.conf
2026-05-28 09:49:16 +00:00
Miodrag Milanovic
d8587f44f0
Putting back some Makefile.conf
2026-05-28 11:13:29 +02:00
KrystalDelusion
4230ebff71
Merge pull request #5912 from YosysHQ/krys/opt_clean_docs
...
opt_clean: Set group for docs gen
2026-05-28 08:35:52 +00:00
nella
715bc4d7d2
Merge pull request #5909 from YosysHQ/nella/fuse_dsp
...
Add matching for fused mac operations for Nexus (fix #5906 ).
2026-05-28 08:28:16 +00:00
Stan Lee
3d21f58f24
update comment
2026-05-28 01:22:59 -07: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
Stan Lee
e9873f822e
bug fix
2026-05-27 23:47:38 -07:00
Krystine Sherwin
680bb69d85
opt_clean: Set group for docs gen
2026-05-28 14:50:11 +12:00
Chia-Hsiang Chang
9dc44b19b2
chore: rename argument name from --vcd to --waveform
2026-05-27 13:03:55 -07:00
Akash Levy
f585f79d31
Merge pull request #173 from Silimate/opt_andor_pmux
...
Fixes for filtering small cases and catching more larger ones with tr…
2026-05-27 04:37:33 -07:00
Akash Levy
14efbe3ee6
Smallfix
2026-05-27 04:36:45 -07:00
Akash Levy
a1fa854314
Merge pull request #167 from Silimate/union-struct
...
[CUS-538] - $fork scope union struct support
2026-05-27 03:58:59 -07:00
Akash Levy
367af96ae1
Revert "warn for scopes"
...
This reverts commit 73fd2fdc47 .
2026-05-27 03:58:23 -07:00
Akash Levy
b4286acc22
Revert "fix"
...
This reverts commit 8c0ded23b7 .
2026-05-27 03:55:23 -07:00
Akash Levy
7dcbdcbb34
Revert "Update kernel/fstdata.cc"
...
This reverts commit a3613866bf .
2026-05-27 03:55:18 -07:00
Akash Levy
f2dacbfa3f
Revert "Fix formatting by removing extra brace"
...
This reverts commit 7e64b6855b .
2026-05-27 03:55:10 -07:00
Akash Levy
7b68f5d532
Revert "Remove nested $fork handling from union detection"
...
This reverts commit 10a4056e3b .
2026-05-27 03:55:03 -07:00
Akash Levy
e421fa8547
Revert "Add flag to track nested fork detection"
...
This reverts commit d6216ea85d .
2026-05-27 03:54:53 -07:00
Akash Levy
6a8d800e63
Fixes for filtering small cases and catching more larger ones with trickier signatures
2026-05-27 03:40:44 -07:00
Akash Levy
69edb27ab3
muxpack fix
2026-05-27 03:07:24 -07:00
Akash Levy
d6216ea85d
Add flag to track nested fork detection
2026-05-27 03:05:11 -07:00
Akash Levy
10a4056e3b
Remove nested $fork handling from union detection
...
Removed logic for nested $fork handling in union struct detection.
2026-05-27 03:03:38 -07:00
Akash Levy
7e64b6855b
Fix formatting by removing extra brace
...
Removed unnecessary closing brace in switch case.
2026-05-27 02:57:52 -07:00
Akash Levy
a3613866bf
Update kernel/fstdata.cc
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-05-27 02:41:40 -07:00
Akash Levy
36a1894c7f
Merge pull request #172 from Silimate/opt_addcin
...
opt_addcin pass
2026-05-27 02:30:03 -07:00
Akash Levy
5c3fbd2d63
Merge branch 'main' into opt_addcin
2026-05-27 01:52:11 -07:00
Akash Levy
89717069fe
Fixup
2026-05-27 01:51:54 -07:00
Akash Levy
d3c5591647
Merge pull request #171 from Silimate/infer_icg
...
infer_icg pass
2026-05-27 01:06:40 -07:00
Akash Levy
7ea578a212
Merge pull request #170 from Silimate/ffnormpol
...
ffnormpol pass
2026-05-27 01:05:05 -07:00
Akash Levy
46a697e608
Merge pull request #169 from Silimate/opt_andor_pmux
...
opt_andor_pmux pass
2026-05-27 01:03:58 -07:00
Akash Levy
c4de62171d
Merge pull request #168 from Silimate/fixup_new_id
...
Fixup NEW_ID usage
2026-05-27 01:02:52 -07:00