aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-12-12 08:26:09 +0100
committerTristan Gingold <tgingold@free.fr>2020-12-12 11:24:25 +0100
commitff0671f4962c01f5317902d2c7b88a2e6d585a54 (patch)
tree0f0517c2c3894a72d5fa651bfdf4cd0708b332b7 /src/synth
parent2c20e236a91e7f04d44654eda9d1e54bb074603f (diff)
downloadghdl-ff0671f4962c01f5317902d2c7b88a2e6d585a54.tar.gz
ghdl-ff0671f4962c01f5317902d2c7b88a2e6d585a54.tar.bz2
ghdl-ff0671f4962c01f5317902d2c7b88a2e6d585a54.zip
synth-static_oper: handle xor reduce
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-static_oper.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index b667ccdd5..cd1e5dc57 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -695,6 +695,8 @@ package body Synth.Static_Oper is
when Iir_Predefined_Ieee_1164_Or_Suv =>
return Synth_Vector_Reduce ('0', Operand, Or_Table);
+ when Iir_Predefined_Ieee_1164_Xor_Suv =>
+ return Synth_Vector_Reduce ('0', Operand, Xor_Table);
when others =>
Error_Msg_Synth