Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
uenoku committed Sep 25, 2024
1 parent e7671e7 commit 51e52ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Conversion/ExportVerilog/sv-dialect.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,12 @@ hw.module @M1<param1: i42>(in %clock : i1, in %cond : i1, in %val : i8) {
// CHECK-NEXT: $fwrite(32'h80000002, "M: %x\n", `MACRO(8'(val + 8'h2A), val ^ 8'h2A));
sv.fwrite %fd, "M: %x\n"(%text) : i8

// CHECK-NEXT: `INIT_RANDOM
sv.macro.ref @INIT_RANDOM
// CHECK-NEXT: `INIT_RANDOM(val)
sv.macro.ref @INIT_RANDOM (%val) : i8
// CHECK-NEXT: `INIT_RANDOM(val, val, val)
sv.macro.ref @INIT_RANDOM (%val, %val, %val) : i8, i8, i8

}// CHECK-NEXT: {{end$}}
} {sv.attributes = [#sv.attribute<"sv attr">]}
Expand Down

0 comments on commit 51e52ae

Please sign in to comment.