diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/translate/trans-chap5.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/translate/trans-chap5.adb b/src/vhdl/translate/trans-chap5.adb index d140a4ed0..5f8375760 100644 --- a/src/vhdl/translate/trans-chap5.adb +++ b/src/vhdl/translate/trans-chap5.adb @@ -437,11 +437,11 @@ package body Trans.Chap5 is else -- Association by value. The formal cannot be referenced in the - -- actual. + -- actual, but the type of the formal may be used by the actual. Set_Map_Env (Formal_Env); + Chap6.Translate_Signal_Name (Formal, Formal_Sig, Formal_Val); Actual_En := Chap7.Translate_Expression (Actual, Formal_Type); Actual_Sig := E2M (Actual_En, Get_Info (Formal_Type), Mode_Value); - Chap6.Translate_Signal_Name (Formal, Formal_Sig, Formal_Val); Mode := Connect_Value; -- raise Internal_Error; end if; |