diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-03 19:56:08 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-03 19:56:08 +0200 |
commit | d1a04906a1c4c0a31a53ac653ce07d01fce6636e (patch) | |
tree | fad053f075a9a90e01a8b8e28fa626805d73a03e /src/synth/synth-expr.adb | |
parent | 8f711316e523cb8fb8cb994345793ab8951f9987 (diff) | |
download | ghdl-d1a04906a1c4c0a31a53ac653ce07d01fce6636e.tar.gz ghdl-d1a04906a1c4c0a31a53ac653ce07d01fce6636e.tar.bz2 ghdl-d1a04906a1c4c0a31a53ac653ce07d01fce6636e.zip |
netlists: rename id_memidx1 to id_memidx
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r-- | src/synth/synth-expr.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index d5a309291..545f6ba62 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -969,8 +969,8 @@ package body Synth.Expr is Off := Index_To_Offset (Bnd, Idx_Val.Scal, Name) * W; else Voff := Dyn_Index_To_Offset (Bnd, Idx_Val, Name); - Voff := Build_Memidx1 (Get_Build (Syn_Inst), Voff, W, Bnd.Len, - Width (Clog2 (Uns64 (W * Bnd.Len)))); + Voff := Build_Memidx (Get_Build (Syn_Inst), Voff, W, Bnd.Len, + Width (Clog2 (Uns64 (W * Bnd.Len)))); Off := 0; end if; end Synth_Indexed_Name; @@ -1262,7 +1262,7 @@ package body Synth.Expr is Synth_Extract_Dyn_Suffix (Name, Pfx_Bnd, Get_Net (Left), Get_Net (Right), Inp, Step, Off, Wd); - Inp := Build_Memidx1 + Inp := Build_Memidx (Get_Build (Syn_Inst), Inp, Step * El_Wd, 0, Get_Width (Inp) + Width (Clog2 (Uns64 (Step * El_Wd)))); |