diff options
Diffstat (limited to 'src/synth/synth-vhdl_eval.adb')
-rw-r--r-- | src/synth/synth-vhdl_eval.adb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_eval.adb b/src/synth/synth-vhdl_eval.adb index 126c8a735..d9b1bc2a8 100644 --- a/src/synth/synth-vhdl_eval.adb +++ b/src/synth/synth-vhdl_eval.adb @@ -2756,6 +2756,15 @@ package body Synth.Vhdl_Eval is B := Map_X01Z (B); return Create_Memory_U8 (Std_Ulogic'Pos (B), Res_Typ); end; + when Iir_Predefined_Ieee_1164_To_X01_Bit_Log => + declare + B : Bit; + S : Std_Ulogic; + begin + B := Read_Bit (Param1.Mem, 0); + S := Bit2log_Table (B); + return Create_Memory_U8 (Std_Ulogic'Pos (S), Res_Typ); + end; when Iir_Predefined_Ieee_1164_To_X01_Slv | Iir_Predefined_Ieee_Numeric_Std_To_X01_Uns | Iir_Predefined_Ieee_Numeric_Std_To_X01_Sgn => |