From 060a592ba5f168786e3d27e4cfdc5bc2955113ac Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 24 Jan 2015 05:03:05 +0100 Subject: simulation: use invalid_instance_slot instead of 0. --- src/vhdl/simulate/annotations.adb | 6 +++--- src/vhdl/simulate/annotations.ads | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/vhdl/simulate/annotations.adb b/src/vhdl/simulate/annotations.adb index 6548236c1..fb193996c 100644 --- a/src/vhdl/simulate/annotations.adb +++ b/src/vhdl/simulate/annotations.adb @@ -240,7 +240,7 @@ package body Annotations is Prot_Info := new Sim_Info_Type'(Kind => Kind_Frame, - Inst_Slot => 0, + Inst_Slot => Invalid_Instance_Slot, Frame_Scope => Current_Scope, Nbr_Objects => 0, Nbr_Instances => 0); @@ -501,7 +501,7 @@ package body Annotations is Subprg_Info := new Sim_Info_Type'(Kind => Kind_Frame, - Inst_Slot => 0, + Inst_Slot => Invalid_Instance_Slot, Frame_Scope => Current_Scope, Nbr_Objects => 0, Nbr_Instances => 0); @@ -1010,7 +1010,7 @@ package body Annotations is Package_Info := new Sim_Info_Type' (Kind => Kind_Block, - Inst_Slot => Instance_Slot_Type (Nbr_Packages), + Inst_Slot => Invalid_Instance_Slot, Frame_Scope => Current_Scope, Nbr_Objects => 0, Nbr_Instances => 0); diff --git a/src/vhdl/simulate/annotations.ads b/src/vhdl/simulate/annotations.ads index cb0d94aa5..5d927b54e 100644 --- a/src/vhdl/simulate/annotations.ads +++ b/src/vhdl/simulate/annotations.ads @@ -85,7 +85,7 @@ package Annotations is when Kind_Block | Kind_Frame | Kind_Process => - -- Slot number. + -- Slot number in the parent (for blocks). Inst_Slot : Instance_Slot_Type; -- scope level for this frame. -- cgit v1.2.3