Fix test stability due to #2618.

This commit is contained in:
Wilson Snyder 2020-11-01 09:26:55 -05:00
parent 5e6aca59ab
commit 1858cc8ff1

View File

@ -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);