aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-04 18:20:30 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-04 18:20:30 +0200
commit688173587e76ee89b67b0c0aeb93385c0db08b22 (patch)
tree5d9fda9535196719ac8a71f90d1a2d62529d42f0 /src/vhdl/translate
parent17ab141656d8a0ba80309ca4d85e65a038c873e0 (diff)
downloadghdl-688173587e76ee89b67b0c0aeb93385c0db08b22.tar.gz
ghdl-688173587e76ee89b67b0c0aeb93385c0db08b22.tar.bz2
ghdl-688173587e76ee89b67b0c0aeb93385c0db08b22.zip
vhdl: rename Cover_Statement to Cover_Directive.
Diffstat (limited to 'src/vhdl/translate')
-rw-r--r--src/vhdl/translate/trans-chap9.adb16
-rw-r--r--src/vhdl/translate/trans-rtis.adb8
2 files changed, 12 insertions, 12 deletions
diff --git a/src/vhdl/translate/trans-chap9.adb b/src/vhdl/translate/trans-chap9.adb
index 1e179c122..476598775 100644
--- a/src/vhdl/translate/trans-chap9.adb
+++ b/src/vhdl/translate/trans-chap9.adb
@@ -531,7 +531,7 @@ package body Trans.Chap9 is
Assocs : O_Assoc_List;
begin
case Get_Kind (Stmt) is
- when Iir_Kind_Psl_Cover_Statement =>
+ when Iir_Kind_Psl_Cover_Directive =>
Translate_Psl_Report (Stmt, Base, Report_Proc);
when others =>
null;
@@ -556,7 +556,7 @@ package body Trans.Chap9 is
New_Var_Decl (Var_I, Wki_I, O_Storage_Local, Ghdl_Index_Type);
Init_Var (Var_I);
case Get_Kind (Stmt) is
- when Iir_Kind_Psl_Cover_Statement
+ when Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
-- Sequences for cover or endpoints are detected on every cycle,
-- so the start state is always active.
@@ -647,7 +647,7 @@ package body Trans.Chap9 is
when Iir_Kind_Psl_Assert_Statement =>
Chap8.Translate_Report
(Stmt, Ghdl_Psl_Assert_Failed, Severity_Level_Error);
- when Iir_Kind_Psl_Cover_Statement =>
+ when Iir_Kind_Psl_Cover_Directive =>
if Get_Report_Expression (Stmt) /= Null_Iir then
Start_Association (Assocs, Report_Proc);
New_Association (Assocs, New_Obj_Value (Instance));
@@ -742,7 +742,7 @@ package body Trans.Chap9 is
Info.Psl_Proc_Final_Subprg := O_Dnode_Null;
end if;
- when Iir_Kind_Psl_Cover_Statement =>
+ when Iir_Kind_Psl_Cover_Directive =>
Create_Psl_Final_Proc (Stmt, Base, Instance);
Start_Subprogram_Body (Info.Psl_Proc_Final_Subprg);
@@ -975,7 +975,7 @@ package body Trans.Chap9 is
when Iir_Kind_Psl_Declaration =>
null;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
Translate_Psl_Directive_Declarations (El);
when Iir_Kind_Component_Instantiation_Statement =>
@@ -1123,7 +1123,7 @@ package body Trans.Chap9 is
when Iir_Kind_Psl_Declaration =>
null;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
Translate_Psl_Directive_Statement (Stmt, Base_Info);
when Iir_Kind_Component_Instantiation_Statement =>
@@ -2722,7 +2722,7 @@ package body Trans.Chap9 is
| Iir_Kind_Psl_Endpoint_Declaration =>
null;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement =>
+ | Iir_Kind_Psl_Cover_Directive =>
null;
when Iir_Kind_Component_Instantiation_Statement =>
declare
@@ -2784,7 +2784,7 @@ package body Trans.Chap9 is
when Iir_Kind_Psl_Declaration =>
null;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
Elab_Psl_Directive (Stmt, Base_Info);
when Iir_Kind_Component_Instantiation_Statement =>
diff --git a/src/vhdl/translate/trans-rtis.adb b/src/vhdl/translate/trans-rtis.adb
index e59a12b92..96aacb8b0 100644
--- a/src/vhdl/translate/trans-rtis.adb
+++ b/src/vhdl/translate/trans-rtis.adb
@@ -2040,7 +2040,7 @@ package body Trans.Rtis is
Start_Init_Value (Info.Psl_Rti_Const);
Start_Record_Aggr (List, Ghdl_Rtin_Object);
case Get_Kind (Decl) is
- when Iir_Kind_Psl_Cover_Statement =>
+ when Iir_Kind_Psl_Cover_Directive =>
Kind := Ghdl_Rtik_Psl_Cover;
when Iir_Kind_Psl_Assert_Statement =>
Kind := Ghdl_Rtik_Psl_Assert;
@@ -2423,7 +2423,7 @@ package body Trans.Rtis is
when Iir_Kind_Psl_Declaration =>
null;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
Generate_Psl_Directive (Stmt);
when others =>
@@ -2995,7 +2995,7 @@ package body Trans.Rtis is
| Iir_Kind_Sensitized_Process_Statement =>
return Node_Info.Process_Rti_Const;
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
return Node_Info.Psl_Rti_Const;
when others =>
@@ -3036,7 +3036,7 @@ package body Trans.Rtis is
| Iir_Kind_Sensitized_Process_Statement =>
Ref := Get_Instance_Ref (Node_Info.Process_Scope);
when Iir_Kind_Psl_Assert_Statement
- | Iir_Kind_Psl_Cover_Statement
+ | Iir_Kind_Psl_Cover_Directive
| Iir_Kind_Psl_Endpoint_Declaration =>
Ref := Get_Instance_Ref (Node_Info.Psl_Scope);
when others =>