aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate/annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-01-24 05:03:05 +0100
committerTristan Gingold <tgingold@free.fr>2015-01-24 05:03:05 +0100
commit060a592ba5f168786e3d27e4cfdc5bc2955113ac (patch)
treedeb2b3bb4496cdc6afe1203e75ade9006aafe86b /src/vhdl/simulate/annotations.adb
parentfff5e9b1ef19214bc54073c635d70ed3e9d6f9b5 (diff)
downloadghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.tar.gz
ghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.tar.bz2
ghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.zip
simulation: use invalid_instance_slot instead of 0.
Diffstat (limited to 'src/vhdl/simulate/annotations.adb')
-rw-r--r--src/vhdl/simulate/annotations.adb6
1 files changed, 3 insertions, 3 deletions
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);