From 4d7679b57163225cb78883d7f6d0aa28d7d7036d Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Fri, 6 Dec 2024 11:47:43 -0500 Subject: [PATCH] [test] Update tests for newer inline layer ABI (#4552) 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 f136cd5f10..34fbe431a5 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