From d0c3134c2113527256354644d7cb0df4efc85aac Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 12 Jan 2020 17:33:00 +0100 Subject: netlists-memories: allow intermediate signals to detect sync read. Fix #1079 --- src/synth/netlists-utils.ads | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/synth/netlists-utils.ads') diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads index 79838b614..be6f58e9e 100644 --- a/src/synth/netlists-utils.ads +++ b/src/synth/netlists-utils.ads @@ -79,6 +79,10 @@ package Netlists.Utils is -- selection of the same net. function Same_Net (L, R : Net) return Boolean; + -- If N is the output of a signal or isignal, return the driver of the + -- input. + function Skip_Signal (N : Net) return Net; + function Clog2 (W : Width) return Width; -- Used at many places. -- cgit v1.2.3