aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-09-14 20:49:31 +0200
committerTristan Gingold <tgingold@free.fr>2020-09-14 20:49:31 +0200
commitc08088745ad48841bb0dccd634d5b767d40b7e73 (patch)
tree59b93107c10d1a243434893cb470e31292bc84da /src/vhdl/vhdl-nodes.ads
parente6acce83994a1a00fe148f70f29a61f646422826 (diff)
downloadghdl-c08088745ad48841bb0dccd634d5b767d40b7e73.tar.gz
ghdl-c08088745ad48841bb0dccd634d5b767d40b7e73.tar.bz2
ghdl-c08088745ad48841bb0dccd634d5b767d40b7e73.zip
vhdl: recognize reduce operations from numeric_std.
Handle them in synthesis.
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index eeaf86c72..82a45c3ed 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -5793,6 +5793,20 @@ package Vhdl.Nodes is
Iir_Predefined_Ieee_Numeric_Std_Rot_Left_Sgn_Nat,
Iir_Predefined_Ieee_Numeric_Std_Rot_Right_Sgn_Nat,
+ -- Reduction
+ Iir_Predefined_Ieee_Numeric_Std_And_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_Nand_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_Or_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_Nor_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_Xor_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_Xnor_Sgn,
+ Iir_Predefined_Ieee_Numeric_Std_And_Uns,
+ Iir_Predefined_Ieee_Numeric_Std_Nand_Uns,
+ Iir_Predefined_Ieee_Numeric_Std_Or_Uns,
+ Iir_Predefined_Ieee_Numeric_Std_Nor_Uns,
+ Iir_Predefined_Ieee_Numeric_Std_Xor_Uns,
+ Iir_Predefined_Ieee_Numeric_Std_Xnor_Uns,
+
-- Std_Match functions.
Iir_Predefined_Ieee_Numeric_Std_Match_Log,
Iir_Predefined_Ieee_Numeric_Std_Match_Uns,