diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-11-11 05:16:58 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-11-11 05:16:58 +0100 |
commit | fcd7769e2347e37681bade9f51dc9e8a09fe612b (patch) | |
tree | f0b4fe004f6bfafe7b66bed37702a53962e374f5 /src | |
parent | bb5e89e7f96669c94f2816599c56390a23b123d2 (diff) | |
download | ghdl-fcd7769e2347e37681bade9f51dc9e8a09fe612b.tar.gz ghdl-fcd7769e2347e37681bade9f51dc9e8a09fe612b.tar.bz2 ghdl-fcd7769e2347e37681bade9f51dc9e8a09fe612b.zip |
synth: also handle rol. For #1909
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-vhdl_oper.adb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_oper.adb b/src/synth/synth-vhdl_oper.adb index ee30c84d4..e725b3ed6 100644 --- a/src/synth/synth-vhdl_oper.adb +++ b/src/synth/synth-vhdl_oper.adb @@ -1606,6 +1606,11 @@ package body Synth.Vhdl_Oper is | Iir_Predefined_Ieee_1164_Vector_Ror => return Synth_Rotation (Id_Ror); + when Iir_Predefined_Ieee_Numeric_Std_Rol_Uns_Int + | Iir_Predefined_Ieee_Numeric_Std_Rol_Sgn_Int + | Iir_Predefined_Ieee_1164_Vector_Rol => + return Synth_Rotation (Id_Rol); + when others => Error_Msg_Synth (+Expr, "synth_dyadic_operation: unhandled " & Iir_Predefined_Functions'Image (Def)); |