aboutsummaryrefslogtreecommitdiffstats
path: root/translate/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-06-21 21:24:15 +0200
committerTristan Gingold <tgingold@free.fr>2014-06-21 21:24:15 +0200
commit212268f54c947f4360a7d0e5b45faa97f76a4a9d (patch)
tree76a19a1ff148903c412f9f2191901ee6797b2939 /translate/ghdldrv
parent270280a34295fa42785f9c8d99ad24b93d411e0c (diff)
downloadghdl-212268f54c947f4360a7d0e5b45faa97f76a4a9d.tar.gz
ghdl-212268f54c947f4360a7d0e5b45faa97f76a4a9d.tar.bz2
ghdl-212268f54c947f4360a7d0e5b45faa97f76a4a9d.zip
Add psl cover directive (ticket19).
Diffstat (limited to 'translate/ghdldrv')
-rw-r--r--translate/ghdldrv/ghdlprint.adb1
-rw-r--r--translate/ghdldrv/ghdlrun.adb6
2 files changed, 5 insertions, 2 deletions
diff --git a/translate/ghdldrv/ghdlprint.adb b/translate/ghdldrv/ghdlprint.adb
index 325405911..3850ce40c 100644
--- a/translate/ghdldrv/ghdlprint.adb
+++ b/translate/ghdldrv/ghdlprint.adb
@@ -385,6 +385,7 @@ package body Ghdlprint is
| Tok_Psl_Sequence
| Tok_Psl_Endpoint
| Tok_Psl_Assert
+ | Tok_Psl_Cover
| Tok_Psl_Boolean
| Tok_Psl_Const
| Tok_Inf
diff --git a/translate/ghdldrv/ghdlrun.adb b/translate/ghdldrv/ghdlrun.adb
index 7dbce3ded..676c82824 100644
--- a/translate/ghdldrv/ghdlrun.adb
+++ b/translate/ghdldrv/ghdlrun.adb
@@ -246,8 +246,6 @@ package body Ghdlrun is
Grt.Lib.Ghdl_Bound_Check_Failed_L1'Address);
Def (Trans_Decls.Ghdl_Malloc0,
Grt.Lib.Ghdl_Malloc0'Address);
- Def (Trans_Decls.Ghdl_Assert_Default_Report,
- Grt.Lib.Ghdl_Assert_Default_Report'Address);
Def (Trans_Decls.Ghdl_Std_Ulogic_To_Boolean_Array,
Grt.Lib.Ghdl_Std_Ulogic_To_Boolean_Array'Address);
@@ -257,6 +255,10 @@ package body Ghdlrun is
Grt.Lib.Ghdl_Assert_Failed'Address);
Def (Trans_Decls.Ghdl_Psl_Assert_Failed,
Grt.Lib.Ghdl_Psl_Assert_Failed'Address);
+ Def (Trans_Decls.Ghdl_Psl_Cover,
+ Grt.Lib.Ghdl_Psl_Cover'Address);
+ Def (Trans_Decls.Ghdl_Psl_Cover_Failed,
+ Grt.Lib.Ghdl_Psl_Cover_Failed'Address);
Def (Trans_Decls.Ghdl_Program_Error,
Grt.Lib.Ghdl_Program_Error'Address);
Def (Trans_Decls.Ghdl_Malloc,