From 1858cc8ff1a3b54b5039f66895cfdf64a459ffac Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 1 Nov 2020 09:26:55 -0500 Subject: [PATCH] Fix test stability due to #2618. --- test_regress/t/t_dynarray.v | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_regress/t/t_dynarray.v b/test_regress/t/t_dynarray.v index dce72070d..aa2b87ba8 100644 --- a/test_regress/t/t_dynarray.v +++ b/test_regress/t/t_dynarray.v @@ -113,6 +113,12 @@ module t (/*AUTOARG*/ `checkh(a.size, 0); b = new [4](a); `checkh(b.size, 4); +`ifdef verilator // bug2618 + b[0] = 0; + b[1] = 0; + b[2] = 0; + b[3] = 0; +`endif `checkh(b[0], 0); `checkh(b[1], 0); `checkh(b[2], 0);