diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-28 06:57:38 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-28 06:57:38 +0200 |
commit | 17755641295f85b89fb407f5eb7457126453dd9e (patch) | |
tree | b14278f17aad4d6df8cb9979e3023d2ef1f939cc /src/synth/netlists-builders.ads | |
parent | 4b09580f9b545f1b7dec71f008461520c8b10103 (diff) | |
download | ghdl-17755641295f85b89fb407f5eb7457126453dd9e.tar.gz ghdl-17755641295f85b89fb407f5eb7457126453dd9e.tar.bz2 ghdl-17755641295f85b89fb407f5eb7457126453dd9e.zip |
synth: add syn_extract for dynamic slices.
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r-- | src/synth/netlists-builders.ads | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads index a4f635b77..644e558c4 100644 --- a/src/synth/netlists-builders.ads +++ b/src/synth/netlists-builders.ads @@ -69,11 +69,15 @@ package Netlists.Builders is function Build_Extend (Ctxt : Context_Acc; Id : Module_Id; I : Net; W : Width) return Net; - function Build_Slice + function Build_Extract (Ctxt : Context_Acc; I : Net; Off, W : Width) return Net; function Build_Extract_Bit (Ctxt : Context_Acc; I : Net; Off : Width) return Net; + function Build_Dyn_Extract + (Ctxt : Context_Acc; + I : Net; V : Net; Step : Uns32; Off : Uns32; W : Width) return Net; + function Build_Insert (Ctxt : Context_Acc; I : Net; V : Net; Off : Width) return Net; @@ -126,5 +130,6 @@ private M_Extend : Module_Arr (Extend_Module_Id); M_Extract : Module; M_Insert : Module; + M_Dyn_Extract : Module; end record; end Netlists.Builders; |