Skip to content

Declare Caliptra's read_line automatic - #61

Merged
gezalore merged 1 commit into
verilator:mainfrom
hankhsu1996:caliptra-read-line-automatic
Oct 13, 2026
Merged

gezalore merged 1 commit into
verilator:mainfrom
hankhsu1996:caliptra-read-line-automatic

Conversation

@hankhsu1996

Copy link
Copy Markdown
Contributor

In Caliptra's caliptra_top_tb_services.sv, read_line has a ref argument but is not declared automatic, so it is static. A static function cannot have a ref argument (IEEE 1800-2023, 13.5.2).

This code comes from Caliptra and is fixed there in chipsalliance/caliptra-rtl#1441. This PR makes the same change to the copy imported at 0d5d4097. The behavior does not change.

Same change as chipsalliance/caliptra-rtl#1441, applied to the copy
imported at 0d5d4097.
@gezalore
gezalore merged commit f63e557 into verilator:main Oct 13, 2026
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants