From d8acebf20484545718256a0a5902a9ca826c6fc5 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Thu, 5 Dec 2024 12:36:55 -0500 Subject: [PATCH] [test] Switch to new inline layer ABI (#4550) 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 --- src/test/scala/chiselTests/LayerSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/chiselTests/LayerSpec.scala b/src/test/scala/chiselTests/LayerSpec.scala index 161220214e..f136cd5f10 100644 --- a/src/test/scala/chiselTests/LayerSpec.scala +++ b/src/test/scala/chiselTests/LayerSpec.scala @@ -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