diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-06-02 19:11:32 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-06-02 20:09:03 +0200 |
commit | fd50e9979a29831220b479b0375d918b29e5e250 (patch) | |
tree | f07ce40fa0adc7fb5ffce5835ef28f0fcba446f6 | |
parent | 1fc00cad70cab2ec1b258769c57a915f1a27dfda (diff) | |
download | ghdl-fd50e9979a29831220b479b0375d918b29e5e250.tar.gz ghdl-fd50e9979a29831220b479b0375d918b29e5e250.tar.bz2 ghdl-fd50e9979a29831220b479b0375d918b29e5e250.zip |
netlists-gates.ads: add comments.
-rw-r--r-- | src/synth/netlists-gates.ads | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/synth/netlists-gates.ads b/src/synth/netlists-gates.ads index 8fe40d83d..990331bf9 100644 --- a/src/synth/netlists-gates.ads +++ b/src/synth/netlists-gates.ads @@ -235,9 +235,9 @@ package Netlists.Gates is Id_Extract : constant Module_Id := 86; -- OUT := IN0[IN1+OFF+WD-1:IN1+OFF] - -- Inputs: MEM (the memory) - -- IDX (then index) - -- Param0: offset + -- Param: 0: offset + -- Inputs: 0: MEM (the memory) + -- 1: IDX (then index) Id_Dyn_Extract : constant Module_Id := 87; -- Like Insert but for dynamic values. @@ -257,13 +257,15 @@ package Netlists.Gates is subtype Dyn_Insert_Module_Id is Module_Id range Id_Dyn_Insert .. Id_Dyn_Insert_En; - -- Input0: index - -- Param0: step - -- Param1: max + -- Inputs: 0: index + -- Params: 0: step + -- 1: max -- OUT := IN0 * STEP, IN0 < MAX Id_Memidx : constant Module_Id := 90; -- OUT := IN0 + IN1, size extension (max of inputs width). + -- Inputs: 0: a memidx + -- 1: chain (addidx or memidx). Id_Addidx : constant Module_Id := 91; -- TODO: |