From 7da8e8fd0dd3304d6bf3c37d98d50ad7dd745ea7 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Fri, 6 Dec 2024 10:52:03 -0500 Subject: [PATCH] [test] Update tests for newer inline layer ABI Fix the tests again for the even newer inline layer ABI. This includes the public module name (circuit name for now) and a "layer_" prefix. 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 f136cd5f105..34fbe431a55 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 layer_Foo$A$B |CHECK-NEXT: bar: assert property - |CHECK-NEXT: `ifdef A$B$C + |CHECK-NEXT: `ifdef layer_Foo$A$B$C |CHECK-NEXT: baz: assert property |CHECK-NEXT: `endif |CHECK-NEXT: `endif""".stripMargin