Apply 'make format'

This commit is contained in:
github action 2026-02-23 15:26:40 +00:00
parent c96f1a2a06
commit bc2b8535f5
5 changed files with 4 additions and 5 deletions

View File

@ -746,11 +746,12 @@ class TimingControlVisitor final : public VNVisitor {
void addForkOnKill(AstBegin* const beginp, AstVarScope* const forkVscp) const {
if (!beginp->needProcess()) return;
FileLine* const flp = beginp->fileline();
auto* const onKillp = new AstCMethodHard{
flp, new AstVarRef{flp, forkVscp, VAccess::WRITE}, VCMethod::FORK_ON_KILL};
auto* const onKillp = new AstCMethodHard{flp, new AstVarRef{flp, forkVscp, VAccess::WRITE},
VCMethod::FORK_ON_KILL};
onKillp->dtypeSetVoid();
AstCExpr* const processp = new AstCExpr{flp, "vlProcess"};
processp->dtypeSetVoid(); // Opaque process reference; type is irrelevant for hardcoded emit
processp
->dtypeSetVoid(); // Opaque process reference; type is irrelevant for hardcoded emit
onKillp->addPinsp(processp);
AstNodeStmt* const stmtp = onKillp->makeStmt();
if (beginp->stmtsp()) {

0
test_regress/t/t_disable_task_by_name.py Normal file → Executable file
View File

1
test_regress/t/t_disable_task_join.py Normal file → Executable file
View File

@ -16,4 +16,3 @@ test.compile(timing_loop=True, verilator_flags2=["--timing"])
test.execute()
test.passes()

1
test_regress/t/t_disable_task_scope_bad.py Normal file → Executable file
View File

@ -14,4 +14,3 @@ test.scenarios('linter')
test.lint(fails=True, expect_filename=test.golden_filename)
test.passes()

0
test_regress/t/t_disable_task_target_bad.py Normal file → Executable file
View File