diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-10 07:44:18 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-10 07:44:18 +0200 |
commit | 2edfc6c75d5bddbe9dd613e9b2d7d38393b269a9 (patch) | |
tree | ce5b6f27dae4c442dc55d8677afbddd8885e81f0 | |
parent | 1ed07f150ef05cf71e04a626c403f28ad1510358 (diff) | |
download | ghdl-2edfc6c75d5bddbe9dd613e9b2d7d38393b269a9.tar.gz ghdl-2edfc6c75d5bddbe9dd613e9b2d7d38393b269a9.tar.bz2 ghdl-2edfc6c75d5bddbe9dd613e9b2d7d38393b269a9.zip |
synth-opeer: extend synth_uresize
-rw-r--r-- | src/synth/synth-oper.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 4ccb85ff7..353cd95e1 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -89,7 +89,7 @@ package body Synth.Oper is Res : Net; begin if Is_Const (Val) and then Val.Typ.Kind = Type_Discrete then - if Val.Typ.Drange.Is_Signed then + if Val.Typ.Drange.Is_Signed and then Val.Scal < 0 then -- TODO. raise Internal_Error; else |