From dc515c2ab71819ff760449ec87e21d9d0593e076 Mon Sep 17 00:00:00 2001 From: gtkwave Date: Tue, 10 Mar 2026 22:50:14 -0400 Subject: [PATCH] Added FST_ST_SV_ARRAY (FST) and "sv_array" (VCD) for arrays (gtkwave/libfst#17). --- src/fstapi.c | 5 +++-- src/fstapi.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fstapi.c b/src/fstapi.c index 82ca1bd..1b71a5e 100644 --- a/src/fstapi.c +++ b/src/fstapi.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2023 Tony Bybell. + * Copyright (c) 2009-2026 Tony Bybell. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -3203,7 +3203,8 @@ static const char *modtypes[] = {"module", "vhdl_for_generate", "vhdl_if_generate", "vhdl_generate", - "vhdl_package"}; + "vhdl_package", + "sv_array"}; static const char *attrtypes[] = {"misc", "array", "enum", "class"}; diff --git a/src/fstapi.h b/src/fstapi.h index 97dbd2e..00c6315 100644 --- a/src/fstapi.h +++ b/src/fstapi.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2018 Tony Bybell. + * Copyright (c) 2009-2026 Tony Bybell. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -108,7 +108,8 @@ enum fstScopeType FST_ST_VHDL_GENERATE = 20, FST_ST_VHDL_PACKAGE = 21, - FST_ST_MAX = 21, + FST_ST_SV_ARRAY = 22, + FST_ST_MAX = 22, FST_ST_GEN_ATTRBEGIN = 252, FST_ST_GEN_ATTREND = 253,