From 96306b763018484c1297ae8672b53b640f3d27ad Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 17 Nov 2022 18:15:38 -0500 Subject: [PATCH] Tests: Update t_class_class --- test_regress/t/t_class_class.v | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test_regress/t/t_class_class.v b/test_regress/t/t_class_class.v index 7453ffac1..bf1ae7da4 100644 --- a/test_regress/t/t_class_class.v +++ b/test_regress/t/t_class_class.v @@ -6,12 +6,12 @@ // Note UVM internals do not require classes-in-classes package P; -class Cls; - int imembera; - int imemberb; +class Cls #(type STORE_T=string); + STORE_T imembera; + STORE_T imemberb; class SubCls; - int smembera; - int smemberb; + STORE_T smembera; + STORE_T smemberb; // TODO put extern function here or in t_class_extern.v to check link endclass : SubCls SubCls sc; @@ -19,7 +19,7 @@ endclass : Cls endpackage : P module t (/*AUTOARG*/); - P::Cls c; + P::Cls#(int) c; initial begin c = new; c.imembera = 10;