diff options
| author | Tristan Gingold <tgingold@free.fr> | 2019-09-11 20:50:23 +0200 | 
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2019-09-11 20:50:23 +0200 | 
| commit | 160168fac2371af9a7dbed3d491e4ffc701e81b7 (patch) | |
| tree | 9fe4fdcbec5d1ca18d9ebd45fcebf4791d68f877 /src | |
| parent | 3483bf6d4422d2b46906cd47bef23c6c2e02c46d (diff) | |
| download | ghdl-160168fac2371af9a7dbed3d491e4ffc701e81b7.tar.gz ghdl-160168fac2371af9a7dbed3d491e4ffc701e81b7.tar.bz2 ghdl-160168fac2371af9a7dbed3d491e4ffc701e81b7.zip | |
synth: handle unsigned shift right
Diffstat (limited to 'src')
| -rw-r--r-- | src/synth/synth-expr.adb | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index ac9eeae6e..397289afe 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -2268,6 +2268,13 @@ package body Synth.Expr is              begin                 return Synth_Shift (Id_Lsl, L, R, Expr);              end; +         when Iir_Predefined_Ieee_Numeric_Std_Shr_Uns_Nat => +            declare +               L : constant Value_Acc := Subprg_Inst.Objects (1); +               R : constant Value_Acc := Subprg_Inst.Objects (2); +            begin +               return Synth_Shift (Id_Lsr, L, R, Expr); +            end;           when Iir_Predefined_Ieee_Math_Real_Log2 =>              declare                 V : constant Value_Acc := Subprg_Inst.Objects (1); | 
