aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-builders.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-20 07:55:19 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-20 07:55:19 +0100
commitac830367cc0c979472cabb9173102d591817f98c (patch)
tree832d96741dfb5e075f105ef25db3b17a29674fea /src/synth/netlists-builders.adb
parent5ea993bae3c78ee8bdda3942be80fa38091f4591 (diff)
downloadghdl-ac830367cc0c979472cabb9173102d591817f98c.tar.gz
ghdl-ac830367cc0c979472cabb9173102d591817f98c.tar.bz2
ghdl-ac830367cc0c979472cabb9173102d591817f98c.zip
synth: add id_abs gate. For #1101
Diffstat (limited to 'src/synth/netlists-builders.adb')
-rw-r--r--src/synth/netlists-builders.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/netlists-builders.adb b/src/synth/netlists-builders.adb
index 9db99a20e..d869ebeba 100644
--- a/src/synth/netlists-builders.adb
+++ b/src/synth/netlists-builders.adb
@@ -597,6 +597,7 @@ package body Netlists.Builders is
Create_Monadic_Module (Design, Res.M_Monadic (Id_Not), Name_Not, Id_Not);
Create_Monadic_Module (Design, Res.M_Monadic (Id_Neg),
Get_Identifier ("neg"), Id_Neg);
+ Create_Monadic_Module (Design, Res.M_Monadic (Id_Abs), Name_Abs, Id_Abs);
Create_Compare_Module (Design, Res.M_Compare (Id_Eq),
Get_Identifier ("eq"), Id_Eq);