Skip to content

Commit

Permalink
[FIRRTL][LowerToHW] Fix Windows Tests
Browse files Browse the repository at this point in the history
Signed-off-by: Schuyler Eldridge <[email protected]>
  • Loading branch information
seldridge committed Feb 28, 2024
1 parent 679737a commit cfbf05e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/Conversion/FIRRTLToHW/lower-to-hw.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -1586,12 +1586,12 @@ firrtl.circuit "Directories" attributes {
]
} {
// CHECK-LABEL: hw.module private @Directories_A
// CHECK-SAME: output_file = #hw.output_file<"hello/"
// CHECK-SAME: output_file = #hw.output_file<"hello{{/|\\\\}}"
firrtl.module private @Directories_A() attributes {
output_file = #hw.output_file<"hello/", excludeFromFileList>
} {}
// CHECK: hw.module private @BoundUnderDUT
// CHECK-SAME: output_file = #hw.output_file<"testbench/"
// CHECK-SAME: output_file = #hw.output_file<"testbench{{/|\\\\}}"
firrtl.module private @BoundUnderDUT() {}
firrtl.module private @DUT() attributes {
annotations = [
Expand Down
8 changes: 4 additions & 4 deletions test/Dialect/FIRRTL/lower-layers.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,12 @@ firrtl.circuit "Foo" attributes {
// CHECK-LABEL: firrtl.circuit "Foo"
//
// CHECK: sv.verbatim
// CHECK-SAME: #hw.output_file<"testbench{{[/\]}}layers_Foo_A.sv", excludeFromFileList>
// CHECK-SAME: #hw.output_file<"testbench{{/|\\\\}}layers_Foo_A.sv", excludeFromFileList>
//
// CHECK: firrtl.module {{.*}} @Bar_A
// CHECK-SAME: #hw.output_file<"testbench{{[/\]}}", excludeFromFileList>
// CHECK-SAME: #hw.output_file<"testbench{{/|\\\\}}", excludeFromFileList>
// CHECK: firrtl.module {{.*}} @Foo_A
// CHECK-SAME: #hw.output_file<"testbench{{[/\]}}", excludeFromFileList>
// CHECK-SAME: #hw.output_file<"testbench{{/|\\\\}}", excludeFromFileList>
//
// CHECK: sv.verbatim
// CHECK-SAME: #hw.output_file<"testbench{{[/\]}}layers_Foo_A.sv", excludeFromFileList>
// CHECK-SAME: #hw.output_file<"testbench{{/|\\\\}}layers_Foo_A.sv", excludeFromFileList>

0 comments on commit cfbf05e

Please sign in to comment.