aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/simulate/simul-annotations.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/simulate/simul-annotations.adb')
-rw-r--r--src/vhdl/simulate/simul-annotations.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/simulate/simul-annotations.adb b/src/vhdl/simulate/simul-annotations.adb
index 21ab0a034..9db4aad02 100644
--- a/src/vhdl/simulate/simul-annotations.adb
+++ b/src/vhdl/simulate/simul-annotations.adb
@@ -66,8 +66,8 @@ package body Simul.Annotations is
Info := new Sim_Info_Type'(Kind => Kind_Signal,
Obj_Scope => Block_Info,
Slot => Block_Info.Nbr_Objects);
- -- Reserve one more slot for value.
- Block_Info.Nbr_Objects := Block_Info.Nbr_Objects + 1;
+ -- Reserve one more slot for value, and initial driver value.
+ Block_Info.Nbr_Objects := Block_Info.Nbr_Objects + 2;
when Kind_Terminal =>
Info := new Sim_Info_Type'(Kind => Kind_Terminal,
Obj_Scope => Block_Info,