diff options
author | Emmanuel Mogenet <emogenet@gmail.com> | 2017-05-03 21:33:56 +0200 |
---|---|---|
committer | Emmanuel Mogenet <emogenet@gmail.com> | 2017-05-03 21:33:56 +0200 |
commit | 9d0c671751748ddafca1994e643bb1944c69f863 (patch) | |
tree | ad89c6a28c4d83b02f6839394e16672b9bfab1aa /src/grt | |
parent | 5cc4c64175b0d092f4eb4ba3e556a1ddf55b440e (diff) | |
download | ghdl-9d0c671751748ddafca1994e643bb1944c69f863.tar.gz ghdl-9d0c671751748ddafca1994e643bb1944c69f863.tar.bz2 ghdl-9d0c671751748ddafca1994e643bb1944c69f863.zip |
Add support for signals in generate sections
Diffstat (limited to 'src/grt')
-rw-r--r-- | src/grt/ghwlib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/grt/ghwlib.c b/src/grt/ghwlib.c index 0f7e50224..7c5b80bd0 100644 --- a/src/grt/ghwlib.c +++ b/src/grt/ghwlib.c @@ -1042,6 +1042,12 @@ print_name (struct ghw_hie *hie, int full_names) for (i = 0; i < depth; ++i) { printf ("%s%s", i ? "/" : "", buf[i]->name); + if (ghw_hie_generate_for == buf[i]->kind) + { + putchar ('('); + ghw_disp_value (buf[i]->u.blk.iter_value, buf[i]->u.blk.iter_type); + putchar (')'); + } } putchar (':'); putchar (' '); |