From 232c0f8c2bdedc3d54988f80502007315757f16c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 29 May 2022 15:57:24 +0200 Subject: synth-vhdl_eval: handle resolution_limit --- src/synth/synth-vhdl_eval.adb | 3 +++ 1 file changed, 3 insertions(+) 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 => -- cgit v1.2.3