aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-29 15:57:24 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-29 15:57:24 +0200
commit232c0f8c2bdedc3d54988f80502007315757f16c (patch)
tree4365d76e5b33421d08d0bd518a0c9f404db60b64
parent4ed7b2736b85bb243ed22f0f13d27c4c6c571026 (diff)
downloadghdl-232c0f8c2bdedc3d54988f80502007315757f16c.tar.gz
ghdl-232c0f8c2bdedc3d54988f80502007315757f16c.tar.bz2
ghdl-232c0f8c2bdedc3d54988f80502007315757f16c.zip
synth-vhdl_eval: handle resolution_limit
-rw-r--r--src/synth/synth-vhdl_eval.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_eval.adb b/src/synth/synth-vhdl_eval.adb
index 05d2a2556..e6fd450e7 100644
--- a/src/synth/synth-vhdl_eval.adb
+++ b/src/synth/synth-vhdl_eval.adb
@@ -911,6 +911,9 @@ package body Synth.Vhdl_Eval is
return Create_Memory_U8 (Boolean'Pos (Res), Boolean_Type);
end;
+ when Iir_Predefined_Std_Env_Resolution_Limit =>
+ return Create_Memory_Discrete (1, Res_Typ);
+
when Iir_Predefined_Ieee_Numeric_Std_Touns_Nat_Nat_Uns
| Iir_Predefined_Ieee_Std_Logic_Arith_Conv_Unsigned_Int
| Iir_Predefined_Ieee_Numeric_Std_Unsigned_To_Slv_Nat_Nat_Slv =>