Skip to content

Commit

Permalink
[test] Switch to new inline layer ABI (#4550)
Browse files Browse the repository at this point in the history
Change `LayerSpec` to use the new inline layer ABI.  This uses '$' as a
delimiter instead of '_' in order to avoid ambiguity related to layer
names which may contain '_'.

Signed-off-by: Schuyler Eldridge <[email protected]>
  • Loading branch information
seldridge authored and chiselbot committed Dec 8, 2024
1 parent defa010 commit d8acebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/chiselTests/LayerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@ class LayerSpec extends ChiselFlatSpec with Utils with FileCheck {
|CHECK: module Foo_A(
|CHECK-NOT: `ifdef
|CHECK: foo: assert property
|CHECK: `ifdef A_B
|CHECK: `ifdef A$B
|CHECK-NEXT: bar: assert property
|CHECK-NEXT: `ifdef A_B_C
|CHECK-NEXT: `ifdef A$B$C
|CHECK-NEXT: baz: assert property
|CHECK-NEXT: `endif
|CHECK-NEXT: `endif""".stripMargin
Expand Down

0 comments on commit d8acebf

Please sign in to comment.