From 681fe77f72c3534d57d02db26ad3ab357798dc97 Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Mon, 9 Feb 2026 15:01:55 +0100 Subject: [PATCH] Change NBA to BA in test in case of array of struct Signed-off-by: Ryszard Rozak --- test_regress/t/t_force_unpacked_struct.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_regress/t/t_force_unpacked_struct.v b/test_regress/t/t_force_unpacked_struct.v index 2b41ce9cb..b68af7d8f 100644 --- a/test_regress/t/t_force_unpacked_struct.v +++ b/test_regress/t/t_force_unpacked_struct.v @@ -28,7 +28,7 @@ module t ( always @(posedge clk) begin cyc <= cyc + 1; if (cyc == 0) begin - s_array[1].x <= 1; + s_array[1].x = 1; my_struct.x <= 1; end else if (cyc == 1) begin @@ -41,7 +41,7 @@ module t ( end else if (cyc == 3) begin `checkh(s_array[1].x, 0); - s_array[1].x <= 1; + s_array[1].x = 1; `checkh(my_struct.x, 0); my_struct.x <= 1; end @@ -55,7 +55,7 @@ module t ( end else if (cyc == 6) begin `checkh(s_array[1].x, 0); - s_array[1].x <= 1; + s_array[1].x = 1; `checkh(my_struct.x, 0); my_struct.x <= 1; end