diff options
Diffstat (limited to 'src/synth')
-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"); |