diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-11-07 06:56:11 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-11-07 06:56:11 +0100 |
commit | 22775978be88c5ea8e5b740734e42eeb2fef0968 (patch) | |
tree | 61b1e6418b74f4a45ff379e367fa24ba4b27e6db /src/synth/synth-insts.adb | |
parent | 20d538b26feca9b40476181b121ee64c7aabbf5a (diff) | |
download | ghdl-22775978be88c5ea8e5b740734e42eeb2fef0968.tar.gz ghdl-22775978be88c5ea8e5b740734e42eeb2fef0968.tar.bz2 ghdl-22775978be88c5ea8e5b740734e42eeb2fef0968.zip |
synth-decls: handle unassigned signal/object. For issue 65
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r-- | src/synth/synth-insts.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb index 62229a85b..9d07112ac 100644 --- a/src/synth/synth-insts.adb +++ b/src/synth/synth-insts.adb @@ -918,6 +918,8 @@ package body Synth.Insts is Finalize_Assignments (Get_Build (Syn_Inst)); + Finalize_Declarations (Syn_Inst, Get_Declaration_Chain (Arch)); + -- Remove unused gates. This is not only an optimization but also -- a correctness point: there might be some unsynthesizable gates, like -- the one created for 'rising_egde (clk) and not rst'. |