diff options
| author | Tristan Gingold <tgingold@free.fr> | 2019-10-14 19:52:59 +0200 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2019-10-14 19:52:59 +0200 | 
| commit | 1f01e14d5ee7290ae4af76127d0d31067389f893 (patch) | |
| tree | 9fd2da546e25dabc14d76f2555855d2c893d5a45 | |
| parent | d37ba8b009f0a8954bfcf37720f6c3f13038ed63 (diff) | |
| download | ghdl-1f01e14d5ee7290ae4af76127d0d31067389f893.tar.gz ghdl-1f01e14d5ee7290ae4af76127d0d31067389f893.tar.bz2 ghdl-1f01e14d5ee7290ae4af76127d0d31067389f893.zip | |
netlists-dump: do not print name of anonymous parameters.
| -rw-r--r-- | src/synth/netlists-dump.adb | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb index aa7dbe3e7..85080050d 100644 --- a/src/synth/netlists-dump.adb +++ b/src/synth/netlists-dump.adb @@ -131,8 +131,12 @@ package body Netlists.Dump is     is        Desc : constant Param_Desc := Get_Param_Desc (Inst, Idx);     begin -      Dump_Name (Desc.Name); -      Put ('='); +      if Desc.Name /= No_Sname then +         --  Const_Bit/Log gates have anonymous parameters. +         Dump_Name (Desc.Name); +         Put ('='); +      end if; +        case Desc.Typ is           when Param_Invalid =>              Put ("invalid"); | 
