Skip to content

Commit

Permalink
Add property to track end labels for scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
hs-apotell committed Sep 21, 2023
1 parent 6bc980b commit 46203da
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 3 deletions.
2 changes: 2 additions & 0 deletions include/sv_vpi_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ extern "C" {
#define vpiEventTypespec 698
#define vpiModuleTypespec 768 /* !!! NOT Standard !!! */
#define vpiRefTypespec 769 /* !!! NOT Standard !!! */
#define vpiLabel 770
#define vpiEndLabel 771

#define vpiClockingBlock 650
#define vpiClockingIODecl 651
Expand Down
5 changes: 5 additions & 0 deletions model/class_defn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@
vpi: vpiClassTypespec
type: class_typespec
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
7 changes: 6 additions & 1 deletion model/interface_inst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,9 @@
- class_ref: gen_stmts
vpi: vpiGenStmt
type: gen_stmt
card: any
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
5 changes: 5 additions & 0 deletions model/module_inst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,8 @@
vpi: vpiGenStmt
type: gen_stmt
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
6 changes: 5 additions & 1 deletion model/named_begin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@
vpi: vpiStmt
type: stmt
card: any

- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
5 changes: 5 additions & 0 deletions model/named_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@
vpi: vpiWaitingProcesses
type: thread_obj
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
5 changes: 5 additions & 0 deletions model/named_fork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@
vpi: vpiStmt
type: stmt
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
7 changes: 6 additions & 1 deletion model/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@
name: compile unit
vpi: vpiUnit
type: bool
card: 1
card: 1
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1
5 changes: 5 additions & 0 deletions model/program.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,8 @@
vpi: vpiGenScopeArray
type: gen_scope_array
card: any
- property: endlabel
name: endlabel
vpi: vpiEndLabel
type: string
card: 1

0 comments on commit 46203da

Please sign in to comment.