diff options
author | Tristan Gingold | 2015-01-24 05:03:05 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-01-24 05:03:05 +0100 |
commit | 060a592ba5f168786e3d27e4cfdc5bc2955113ac (patch) | |
tree | deb2b3bb4496cdc6afe1203e75ade9006aafe86b /src/vhdl/simulate | |
parent | fff5e9b1ef19214bc54073c635d70ed3e9d6f9b5 (diff) | |
download | ghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.tar.gz ghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.tar.bz2 ghdl-060a592ba5f168786e3d27e4cfdc5bc2955113ac.zip |
simulation: use invalid_instance_slot instead of 0.
Diffstat (limited to 'src/vhdl/simulate')
-rw-r--r-- | src/vhdl/simulate/annotations.adb | 6 | ||||
-rw-r--r-- | src/vhdl/simulate/annotations.ads | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/vhdl/simulate/annotations.adb b/src/vhdl/simulate/annotations.adb index 6548236..fb19399 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 cb0d94a..5d927b5 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. |