diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-07-19 06:50:12 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-07-19 06:50:53 +0200 |
commit | e812443cafb5284eef69a3aaf44b69192964bf0e (patch) | |
tree | 878a761fadd0ccb1db07c63d02bdcbf16a89da34 /src/synth/netlists-builders.ads | |
parent | 7f0a70e0d4777a2b9c29d6b17f2385d2d3bc1ced (diff) | |
download | ghdl-e812443cafb5284eef69a3aaf44b69192964bf0e.tar.gz ghdl-e812443cafb5284eef69a3aaf44b69192964bf0e.tar.bz2 ghdl-e812443cafb5284eef69a3aaf44b69192964bf0e.zip |
synth: add const_z gate.
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r-- | src/synth/netlists-builders.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads index 7c016dedc..654fc6e9a 100644 --- a/src/synth/netlists-builders.ads +++ b/src/synth/netlists-builders.ads @@ -48,6 +48,9 @@ package Netlists.Builders is Id : Reduce_Module_Id; Op : Net) return Net; + function Build_Const_Z (Ctxt : Context_Acc; + W : Width) return Net; + function Build_Const_UB32 (Ctxt : Context_Acc; Val : Uns32; W : Width) return Net; @@ -65,6 +68,7 @@ package Netlists.Builders is Sel : Net; I0, I1, I2, I3 : Net) return Net; + -- Build: I0 & I1 [ & I2 [ & I3 ]] function Build_Concat2 (Ctxt : Context_Acc; I0, I1 : Net) return Net; function Build_Concat3 (Ctxt : Context_Acc; I0, I1, I2 : Net) return Net; function Build_Concat4 (Ctxt : Context_Acc; I0, I1, I2, I3 : Net) @@ -129,6 +133,7 @@ private M_Concat : Module_Arr (Concat_Module_Id); M_Const_UB32 : Module; M_Const_UL32 : Module; + M_Const_Z : Module; M_Edge : Module; M_Mux2 : Module; M_Mux4 : Module; |