diff --git a/test_regress/t/t_array_type_methods.v b/test_regress/t/t_array_type_methods.v index 1ee503146..ca6d5e204 100644 --- a/test_regress/t/t_array_type_methods.v +++ b/test_regress/t/t_array_type_methods.v @@ -14,6 +14,7 @@ module t (/*AUTOARG*/ input clk; logic [3:0] foo [1:0]; + logic [3:0] fooe [1:0]; initial begin foo[0] = 4'b0101; foo[1] = 4'b0011; @@ -24,6 +25,10 @@ module t (/*AUTOARG*/ `checkh(foo.sum, 4'b1000); `checkh(foo.product, 4'b1111); + fooe[0] = 4'b0101; + fooe[1] = 4'b0011; + if (foo != fooe) $stop; + $write("*-* All Finished *-*\n"); $finish; end diff --git a/test_regress/t/t_assoc_method.v b/test_regress/t/t_assoc_method.v index e4d87f611..0bb9f707c 100644 --- a/test_regress/t/t_assoc_method.v +++ b/test_regress/t/t_assoc_method.v @@ -139,6 +139,11 @@ module t (/*AUTOARG*/); i = qe.xor(); `checkh(i, 32'b0); + q = '{10:1, 11:2}; + qe = '{10:1, 11:2}; + `checkh(q == qe, 1'b1); + `checkh(q != qe, 1'b0); + $write("*-* All Finished *-*\n"); $finish; end diff --git a/test_regress/t/t_dynarray_method.v b/test_regress/t/t_dynarray_method.v index 3142782b5..76b56012f 100644 --- a/test_regress/t/t_dynarray_method.v +++ b/test_regress/t/t_dynarray_method.v @@ -165,6 +165,11 @@ module t (/*AUTOARG*/); `checkh(qi.size, 1); `checkh(qi[0], 2); + d = '{1, 2}; + de = '{1, 2}; + `checkh(d == de, 1'b1); + `checkh(d != de, 1'b0); + $write("*-* All Finished *-*\n"); $finish; end diff --git a/test_regress/t/t_queue_method.v b/test_regress/t/t_queue_method.v index 24c90e470..59c4dc4a5 100644 --- a/test_regress/t/t_queue_method.v +++ b/test_regress/t/t_queue_method.v @@ -188,6 +188,11 @@ module t (/*AUTOARG*/); i = qe.xor; `checkh(i, 32'b0); + q = '{1, 2}; + qe = '{1, 2}; + `checkh(q == qe, 1'b1); + `checkh(q != qe, 1'b0); + $write("*-* All Finished *-*\n"); $finish; end