Commit Graph

16921 Commits

Author SHA1 Message Date
Akash Levy 5894296ab5
Update test-sanitizers.yml 2025-09-15 09:46:20 -07:00
Akash Levy 46223c59df
Update test-sanitizers.yml 2025-09-15 09:07:40 -07:00
Akash Levy ab83a36d23
Update test-sanitizers.yml 2025-09-15 08:46:11 -07:00
Akash Levy 4633323216
Merge branch 'YosysHQ:main' into main 2025-09-15 08:44:48 -07:00
Emil J 475d455698
Merge pull request #5346 from YosysHQ/emil/verilog-codeowner
CODEOWNERS: add myself for read_verilog and AST
2025-09-15 17:38:00 +02:00
Akash Levy 8dce3f1716
Update test-sanitizers.yml 2025-09-15 08:26:42 -07:00
Akash Levy 9f2b5e0bbb
Update wheels.yml 2025-09-15 08:22:58 -07:00
Akash Levy 5c68d0c153
Update wheels.yml 2025-09-15 08:22:40 -07:00
Akash Levy 92ab03df0f
Update Brewfile 2025-09-15 08:05:46 -07:00
Akash Levy a639c12445
Update action.yml 2025-09-15 08:05:19 -07:00
Akash Levy 1f9013aad0
Merge branch 'YosysHQ:main' into main 2025-09-15 08:04:00 -07:00
Emil J. Tywoniak 1c422fcb6e CODEOWNERS: add myself for read_verilog and AST 2025-09-15 16:48:56 +02:00
Emil J 7d82d80a95
Merge pull request #5344 from higuoxing/midrule
verilog_parser: replace manual AST node allocation with typed midrule actions
2025-09-15 16:20:47 +02:00
Claire Xen a2fc7e4dd7
Merge pull request #4252 from zapta/master
Added to the Show command a -wireshape <graphviz-shape> flag.
2025-09-15 15:40:40 +02:00
Emil J 1ed4053d1c
Merge pull request #5337 from YosysHQ/emil/fix-tests-CXX
tests: replace CC and gcc with CXX and g++
2025-09-15 14:35:21 +02:00
Akash Levy 3a93d1c2bc
Update test-sanitizers.yml 2025-09-14 11:40:11 -07:00
Akash Levy f5cb0c328f Bump Yosys to latest 2025-09-13 04:35:52 -07:00
Xing Guo 3d2bb1db17 verilog_parser: replace manual AST node allocation with typed midrule actions
Use Bison's typed midrule actions to construct AST_FCALL nodes
with std::unique_ptr, replacing manual 'new' and extra->ast_stack
management. This improves type safety, ensures proper ownership, and
eliminates potential memory leaks.

Ref: https://www.gnu.org/software/bison/manual/html_node/Typed-Midrule-Actions.html
2025-09-13 11:23:42 +08:00
github-actions[bot] fa02d71f65 Bump version 2025-09-13 00:20:53 +00:00
Jannis Harder 193b057983
Merge pull request #5341 from rocallahan/more-varargs-conversion
More varargs conversion
2025-09-12 18:09:42 +02:00
Jannis Harder b87a33d64e
Merge pull request #5211 from rocallahan/remove-log_str
Remove `log_str()` functions and convert their `log_signal()` users t…
2025-09-12 14:10:47 +02:00
Jannis Harder dd9627ed05
Merge pull request #5336 from rocallahan/remove-log-cstr
Remove `.c_str()` calls from `log()`/`log_error()`
2025-09-12 14:09:48 +02:00
Jannis Harder 6d8dfb0750
Merge pull request #5340 from rocallahan/IdString-dead-code
When looking up the IdString table, it can never be empty after we've called prepopulate, so remove some dead code.
2025-09-12 14:07:28 +02:00
Jannis Harder 0ddbb5b36c
Merge pull request #5342 from YosysHQ/jix/workflow-updates
Updates to the CI workflows
2025-09-12 10:46:38 +02:00
Krystine Sherwin 7e1292dd2d CI: brew install autoconf for iverilog 2025-09-12 10:41:01 +02:00
Krystine Sherwin f102b25914 Reapply "Merge pull request #5301 from KrystalDelusion/krys/re_5280"
This reverts commit 88eb83a0c3.
2025-09-12 10:41:01 +02:00
Robert O'Callahan f4699e2b10 Remove unnecessary c_str() calls from err_at_loc/warn_at_loc 2025-09-12 06:21:56 +00:00
Robert O'Callahan 8cd3c069d6 Use C++ stringf machinery in verilog_error 2025-09-12 06:21:56 +00:00
Robert O'Callahan 733b6f0124 Remove unnecessary usage of .c_str() in parameters to input_error() 2025-09-12 06:03:05 +00:00
Robert O'Callahan ad4ef8b775 Make AstNode::input_error use C++ stringf machinery 2025-09-12 06:01:32 +00:00
Robert O'Callahan ff5177ce8e Remove .c_str() from parameters to btorf() and infof() 2025-09-12 05:53:59 +00:00
Robert O'Callahan 6f0c8f56a3 Convert btorf()/infof() to C++ stringf machinery 2025-09-12 05:53:19 +00:00
Robert O'Callahan b98e54416f When looking up the IdString table, it can never be empty after we've called prepopulate, so remove some dead code. 2025-09-12 05:29:22 +00:00
github-actions[bot] 727998f663 Bump version 2025-09-12 00:22:43 +00:00
Robert O'Callahan e0ae7b7af4 Remove .c_str() calls from log()/log_error()
There are some leftovers, but this is an easy regex-based approach that removes most of them.
2025-09-11 20:59:37 +00:00
Emil J 2ec119854c
Merge pull request #5335 from higuoxing/attr_list
verilog_parser: Use unique_ptr<> to store the attribute list.
2025-09-11 17:21:46 +02:00
Emil J. Tywoniak bc24947a84 tests: replace CC and gcc with CXX and g++ 2025-09-11 16:50:23 +02:00
Akash Levy 5ed83a3833
Merge pull request #89 from Silimate/addsub_c
Addsub c
2025-09-11 05:21:44 -07:00
Akash Levy f39d78c69f Smallfixes 2025-09-11 05:02:58 -07:00
Akash Levy e25492e87a Smallfixes 2025-09-11 04:50:58 -07:00
Akash Levy b1f4d0d8aa Small adjustments 2025-09-11 04:47:28 -07:00
Akash Levy 8f5b20c423
Apply suggestions from code review
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-11 04:46:32 -07:00
Akash Levy b70aeea35c Fixups 2025-09-11 04:37:00 -07:00
Akash Levy 54a1862fbe
Apply suggestions from code review
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-11 04:32:18 -07:00
Akash Levy c1557950ef Support external fanout for addsub_c 2025-09-11 03:48:14 -07:00
Akash Levy ccf3909982 Initial implementation of addsub_c with no intermediate fanout allowed 2025-09-11 03:28:50 -07:00
Akash Levy a43de44f9d Merge upstream changes 2025-09-10 23:02:15 -07:00
Robert O'Callahan c7017f7f79 Remove `log_str()` functions and convert their `log_signal()` users to return `std::string`
This is a small but easy step towards removing the `log_id_cache`.
See issue #5210.
2025-09-11 04:00:49 +00:00
Xing Guo 9a6f25fb73 verilog_parser: Use unique_ptr<> to store the attribute list.
We can get rid of the new / delete statements and free_attr() and we
don't need to manage the memory manually.
2025-09-11 09:57:45 +08:00
Akash Levy f2aa7cc65b Reduce verbosity of opt_balance_tree 2025-09-10 06:07:15 -07:00