summaryrefslogtreecommitdiff
path: root/translate/grt/grt-signals.ads
diff options
context:
space:
mode:
authorgingold2006-08-12 14:03:22 +0000
committergingold2006-08-12 14:03:22 +0000
commit34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd (patch)
treefa29b174d2a31ba011eedb562d4d21e2a411a8ea /translate/grt/grt-signals.ads
parent63925c8de8d3171e6b258796e4d167524691490a (diff)
downloadghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.gz
ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.bz2
ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.zip
ghdl 0.25 released
Diffstat (limited to 'translate/grt/grt-signals.ads')
-rw-r--r--translate/grt/grt-signals.ads19
1 files changed, 15 insertions, 4 deletions
diff --git a/translate/grt/grt-signals.ads b/translate/grt/grt-signals.ads
index 69cee8c..9abea65 100644
--- a/translate/grt/grt-signals.ads
+++ b/translate/grt/grt-signals.ads
@@ -38,8 +38,9 @@ package Grt.Signals is
type Transaction;
type Transaction_Acc is access Transaction;
type Transaction (Kind : Transaction_Kind) is record
- Time : Std_Time;
+ Line : Ghdl_I32;
Next : Transaction_Acc;
+ Time : Std_Time;
case Kind is
when Trans_Value =>
Val : Value_Union;
@@ -48,7 +49,7 @@ package Grt.Signals is
when Trans_Error =>
-- FIXME: should have a location field, to be able to display
-- a message.
- null;
+ File : Ghdl_C_String;
end case;
end record;
@@ -403,10 +404,18 @@ package Grt.Signals is
procedure Ghdl_Signal_Internal_Checks;
-- Subprograms to be called by generated code.
- procedure Ghdl_Signal_Simple_Assign_Error (Sign : Ghdl_Signal_Ptr);
+ procedure Ghdl_Signal_Simple_Assign_Error (Sign : Ghdl_Signal_Ptr;
+ File : Ghdl_C_String;
+ Line : Ghdl_I32);
procedure Ghdl_Signal_Start_Assign_Error (Sign : Ghdl_Signal_Ptr;
Rej : Std_Time;
- After : Std_Time);
+ After : Std_Time;
+ File : Ghdl_C_String;
+ Line : Ghdl_I32);
+ procedure Ghdl_Signal_Next_Assign_Error (Sign : Ghdl_Signal_Ptr;
+ After : Std_Time;
+ File : Ghdl_C_String;
+ Line : Ghdl_I32);
procedure Ghdl_Signal_Set_Disconnect (Sign : Ghdl_Signal_Ptr;
Time : Std_Time);
@@ -615,6 +624,8 @@ private
"__ghdl_signal_simple_assign_error");
pragma Export (C, Ghdl_Signal_Start_Assign_Error,
"__ghdl_signal_start_assign_error");
+ pragma Export (C, Ghdl_Signal_Next_Assign_Error,
+ "__ghdl_signal_next_assign_error");
pragma Export (C, Ghdl_Signal_Start_Assign_Null,
"__ghdl_signal_start_assign_null");