diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-22 06:33:58 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-22 06:43:33 +0200 |
commit | 1f63ad0215f932c3776057e14946e2d3202c5779 (patch) | |
tree | a03caf53f0ee1981ded7c2ee39d25d2093fc8eaa /src/synth/netlists-builders.ads | |
parent | 0611b41484571bb92e8a87b39fdfa4d45fe65d83 (diff) | |
download | ghdl-1f63ad0215f932c3776057e14946e2d3202c5779.tar.gz ghdl-1f63ad0215f932c3776057e14946e2d3202c5779.tar.bz2 ghdl-1f63ad0215f932c3776057e14946e2d3202c5779.zip |
synth: use only one edge gate, make it fully abstract. Handle falling_edge.
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r-- | src/synth/netlists-builders.ads | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads index b439a5351..122d1b862 100644 --- a/src/synth/netlists-builders.ads +++ b/src/synth/netlists-builders.ads @@ -50,9 +50,7 @@ package Netlists.Builders is Xz : Uns32; W : Width) return Net; - function Build_Edge (Ctxt : Context_Acc; - Is_Pos : Boolean; - Src : Net) return Net; + function Build_Edge (Ctxt : Context_Acc; Src : Net) return Net; function Build_Mux2 (Ctxt : Context_Acc; Sel : Net; @@ -111,8 +109,7 @@ private M_Concat : Module_Arr (Concat_Module_Id); M_Const_UB32 : Module; M_Const_UL32 : Module; - M_Posedge : Module; - M_Negedge : Module; + M_Edge : Module; M_Mux2 : Module; M_Mux4 : Module; M_Output : Module; |