diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-01-12 17:33:00 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-01-12 17:33:00 +0100 |
commit | d0c3134c2113527256354644d7cb0df4efc85aac (patch) | |
tree | 972672776c4ea5b9658e82409193f88bba5b5a08 /src/synth/netlists-memories.adb | |
parent | 090eba96ac739af8557555bba7ec1f31f811c2f0 (diff) | |
download | ghdl-d0c3134c2113527256354644d7cb0df4efc85aac.tar.gz ghdl-d0c3134c2113527256354644d7cb0df4efc85aac.tar.bz2 ghdl-d0c3134c2113527256354644d7cb0df4efc85aac.zip |
netlists-memories: allow intermediate signals to detect sync read.
Fix #1079
Diffstat (limited to 'src/synth/netlists-memories.adb')
-rw-r--r-- | src/synth/netlists-memories.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synth/netlists-memories.adb b/src/synth/netlists-memories.adb index c1b8603ec..908087f9e 100644 --- a/src/synth/netlists-memories.adb +++ b/src/synth/netlists-memories.adb @@ -410,9 +410,9 @@ package body Netlists.Memories is Dff_Out := Get_Output (Dff_Inst, 0); if Mux_Inp = Get_Input (Mux_Inst, 1) then - return Get_Input_Net (Mux_Inst, 2) = Dff_Out; + return Skip_Signal (Get_Input_Net (Mux_Inst, 2)) = Dff_Out; else - return Get_Input_Net (Mux_Inst, 1) = Dff_Out; + return Skip_Signal (Get_Input_Net (Mux_Inst, 1)) = Dff_Out; end if; end Is_Enable_Dff; |