From 886088c00b88fa2f5555bef3c79f6d2c7fdd3705 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 23 Dec 2019 18:21:00 +0100 Subject: synth: add minor comments. --- src/synth/netlists-folds.ads | 2 +- src/synth/netlists-gates.ads | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/synth/netlists-folds.ads b/src/synth/netlists-folds.ads index c789037b8..15a1f4ad6 100644 --- a/src/synth/netlists-folds.ads +++ b/src/synth/netlists-folds.ads @@ -58,7 +58,7 @@ package Netlists.Folds is Loc : Location_Type := No_Location) return Net; --- Same as Build_Extract, but return I iff extract all the bits. + -- Same as Build_Extract, but return I iff extract all the bits. function Build2_Extract (Ctxt : Context_Acc; I : Net; Off, W : Width) return Net; end Netlists.Folds; diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads index 4a2a7ca33..1c1f08c22 100644 --- a/src/synth/netlists-gates.ads +++ b/src/synth/netlists-gates.ads @@ -159,12 +159,14 @@ package Netlists.Gates is -- OUT := IN0[IN1+OFF+WD-1:IN1+OFF] -- Input0: the memory -- Input1: then index + -- Param0: offset Id_Dyn_Extract : constant Module_Id := 69; -- Like Insert but for dynamic values. -- Input0: the memory -- Input1: the value to insert -- Input2: the index. + -- Param0: offset -- T := IN0 -- T [IN2+OFF+WD-1:IN2+OFF] := IN1 -- OUT := T -- cgit v1.2.3