diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-05-23 06:56:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-05-23 06:56:48 +0200 |
commit | 5473292b14c229dca813efc8156f5de4c6a1ddaf (patch) | |
tree | ac5cfd4e7dc9c967a8ee4e8a921db378c16b261e /src/grt/ghwlib.h | |
parent | 6ccb80e33266753efcb01817d32826e8b8394285 (diff) | |
download | ghdl-5473292b14c229dca813efc8156f5de4c6a1ddaf.tar.gz ghdl-5473292b14c229dca813efc8156f5de4c6a1ddaf.tar.bz2 ghdl-5473292b14c229dca813efc8156f5de4c6a1ddaf.zip |
ghwdump: make output more easily readable.
Diffstat (limited to 'src/grt/ghwlib.h')
-rw-r--r-- | src/grt/ghwlib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/grt/ghwlib.h b/src/grt/ghwlib.h index 100fb5b6f..bcb4d9b2c 100644 --- a/src/grt/ghwlib.h +++ b/src/grt/ghwlib.h @@ -268,6 +268,8 @@ enum ghw_hie_kind { ghw_hie_port_linkage = 21 }; +#define GHW_NO_SIG 0 + struct ghw_hie { enum ghw_hie_kind kind; @@ -286,7 +288,7 @@ struct ghw_hie { union ghw_type *type; /* Array of signal elements. - Last element is 0. */ + Last element is GHW_NO_SIG (0). */ unsigned int *sigs; } sig; } u; @@ -391,6 +393,8 @@ void ghw_close (struct ghw_handler *h); const char *ghw_get_dir (int is_downto); +void ghw_disp_subtype_indication (struct ghw_handler *h, union ghw_type *t); + /* Note: TYPE must be a base type (used only to display literals). */ void ghw_disp_range (union ghw_type *type, union ghw_range *rng); |