aboutsummaryrefslogtreecommitdiffstats
path: root/src/grt/ghwlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/grt/ghwlib.h')
-rw-r--r--src/grt/ghwlib.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/grt/ghwlib.h b/src/grt/ghwlib.h
index bcb4d9b2c..7e51376af 100644
--- a/src/grt/ghwlib.h
+++ b/src/grt/ghwlib.h
@@ -219,7 +219,15 @@ struct ghw_type_record
int nbr_el; /* Number of scalar signals. */
struct ghw_record_element *el;
};
-
+
+struct ghw_subtype_record
+{
+ enum ghdl_rtik kind;
+ const char *name;
+
+ struct ghw_type_record *base;
+};
+
union ghw_type
{
enum ghdl_rtik kind;
@@ -229,6 +237,7 @@ union ghw_type
struct ghw_type_physical ph;
struct ghw_subtype_scalar ss;
struct ghw_subtype_array sa;
+ struct ghw_subtype_record sr;
struct ghw_type_array ar;
struct ghw_type_record rec;
};