Skip to content

[Moore][ImportVerilog] Replace $sformat/$swrite string dispatch with ksn#10557

Open
VecoMr wants to merge 1 commit into
llvm:mainfrom
VecoMr:import-verilog-refacto-sformat-swrite
Open

[Moore][ImportVerilog] Replace $sformat/$swrite string dispatch with ksn#10557
VecoMr wants to merge 1 commit into
llvm:mainfrom
VecoMr:import-verilog-refacto-sformat-swrite

Conversation

@VecoMr
Copy link
Copy Markdown
Contributor

@VecoMr VecoMr commented May 28, 2026

Move $sformat/$swrite handling from the fallback path in visit(ExpressionStatement) into visitSystemCall, replacing string comparisons with ksn::KnownSystemName dispatch already used for all other system tasks.

This also adds the previously missing $swrite[boh] variants with corresponding tests in basic.sv.

Move $sformat/ handling from the fallback path in visit(ExpressionStatement) into visitSystemCall, replacing string comparisons with ksn::KnownSystemName dispatch already used for all other system tasks.
This also adds the previously missing $swrite[boh] variants with corresponding tests in basic.sv.

Signed-off-by: adouard <alexandre.douard@ens-lyon.fr>
@circt-bot
Copy link
Copy Markdown

circt-bot Bot commented May 28, 2026

Results of circt-tests run for 844b19a compared to results for 3e54636: no change to test results.

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.

1 participant