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

2363 commits

Author SHA1 Message Date
Stan Lee
0e906c1d3e address greptile 2026-07-07 15:40:07 -07:00
Stan Lee
3a1f4e00ca log forced 2026-07-07 14:48:21 -07:00
Stan Lee
b146da984f implementation that works without verific changes 2026-07-07 13:25:50 -07:00
Stan Lee
0027cc4a4e register -force-ram in verific frontend 2026-07-07 10:10:33 -07:00
Stan Lee
f90b965d99 add runtime flag for verific frontend 2026-07-07 09:43:43 -07:00
Akash Levy
3783a820ee Merge remote-tracking branch 'upstream' into merge3 2026-06-25 04:51:46 -07:00
Akash Levy
2f8c9327b3 Verific: guard large-mem RAM width/word-count against int overflow
Address review feedback on the large-memory fix:
- comment explaining the 64-bit promotion and the remaining int limits
- log_error if the per-word width or word count would overflow RTLIL's
  int memory->width / memory->size fields, instead of silently truncating

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 23:33:55 -07:00
Akash Levy
2c790e52cd Large mem fix with long long 2026-06-24 17:21:10 -07: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
nella
5d7486115a
Merge pull request #5887 from YosysHQ/nella/fix-signedness-4402
Fix: `read_verilog` doesn't respect `signed` keyword
2026-06-18 16:53:37 +00:00
Krystine Sherwin
b79c7c008d
simplify.cc: Fix crash when identifier matches module
Also update one of the AST debug prints that is guarded by an `#if 0` but was out of date.
2026-06-12 11:54:53 +12:00
Mohamed Gaber
d986ee91ac
CMake: integrate silimate additions and extensions
- update CMakeLists.txt to load two new files:
  - SilimateConfig.cmake: sets Silimate configuration options and defaults
  - SilimateVerific.cmake: compiles Verific library, optionally with Silimate modifications
- include silimate tests in test Makefile
2026-06-10 20:27:52 +03:00
Mohamed Gaber
e58125b605
Merge remote-tracking branch 'upstream/main' into silimate 2026-06-09 16:22:51 +03:00
Lofty
73c217133b
Merge pull request #5934 from YosysHQ/lofty/abc9-refactor-5
read_aiger: import standard-cell mappings from ABC
2026-06-08 09:38:34 +00:00
Lofty
2a4525efbb read_aiger: import standard-cell mappings from ABC 2026-06-05 11:02:58 +01:00
Miodrag Milanovic
102f008194 Remove EMSCRIPTEN leftovers 2026-06-05 10:03:27 +02:00
Miodrag Milanovic
5f2456ac03 WASI now support filesystem 2026-06-05 09:18:00 +02:00
Miodrag Milanović
693d5a7eb0
Merge pull request #5903 from YosysHQ/krys/verific_memsize
verific: Fix non-contiguous memory flattening producing out of bounds accesses in some cases
2026-06-04 05:43:04 +00:00
Miodrag Milanovic
ce280354cf Update CI scripts for CMake
Co-authored-by: Catherine <whitequark@whitequark.org>
2026-06-03 08:58:11 +00: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
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
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
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
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
4a7878b17f Fixing couple more conversion errors 2026-05-14 15:58:58 +02:00
Miodrag Milanovic
9580ebabc5 log_id here was needed for unescaping 2026-05-14 12:35:01 +02:00
nella
38c2806636 Make sure to apply correct signedness to loop vars. 2026-05-13 16:52:07 +02:00
Codexplorer
e41b969da2 Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
Akash Levy
e1aade6a1f
Update frontends/verific/verific.cc
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-30 14:15:44 -07:00
Akash Levy
89a8250ae8
Update frontends/verific/verific.cc
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-30 14:15:25 -07:00
Akash Levy
4d110a96bf Localize external package/global net 2026-04-30 10:51:03 -07:00
Stan Lee
489fb6ea54 compilation err 2026-04-28 16:22:12 -07:00
Stan Lee
18dc5cc2cc remove pointer 2026-04-28 16:21:23 -07:00
Stan Lee
48329bd36a change to string for consistency 2026-04-28 16:20:00 -07:00
Stan Lee
6f5b52807c whitespace 2026-04-28 16:18:36 -07:00
Stan Lee
dd6e440937 rename and clean 2026-04-28 16:16:57 -07:00
Stan Lee
e801ea4fdb delete module frontend 2026-04-28 15:12:50 -07:00
Christopher D. Leary
390f09b89a Support positional assignment patterns for unpacked arrays 2026-04-23 14:29:38 -07:00
Akash Levy
bf40364bd0 No operator optimization, but it passes all tests 2026-04-22 03:12:26 -07: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
Akash Levy
89d56882ba Pullup/pulldown primitives 2026-04-15 12:37:18 -07:00
Emil J
86448c0001
Merge pull request #5655 from YosysHQ/emil/dffsr-sr-priority-undef
Undefine set&reset behavior of $dffsr
2026-04-08 14:22:34 +00:00
Lofty
6d715784cd read_xaiger2: further cleanup 2026-04-08 11:08:59 +01:00
Abhinav Tondapu
0f641f70b2 adding comments 2026-04-02 15:30:45 -07:00
Abhinav Tondapu
1f96d3209b [ENG-1842] adding file dump from verific 2026-04-02 09:54:26 -07:00