1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
use crate::*;
#[derive(Clone, Debug, PartialEq, Node)]
pub struct CheckerPortList {
pub nodes: (List<Symbol, CheckerPortItem>,),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct CheckerPortItem {
pub nodes: (
Vec<AttributeInstance>,
Option<CheckerPortDirection>,
PropertyFormalType,
FormalPortIdentifier,
Vec<VariableDimension>,
Option<(Symbol, PropertyActualArg)>,
),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum CheckerPortDirection {
Input(Box<Keyword>),
Output(Box<Keyword>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum CheckerOrGenerateItem {
CheckerOrGenerateItemDeclaration(Box<CheckerOrGenerateItemDeclaration>),
InitialConstruct(Box<InitialConstruct>),
AlwaysConstruct(Box<AlwaysConstruct>),
FinalConstruct(Box<FinalConstruct>),
AssertionItem(Box<AssertionItem>),
ContinuousAssign(Box<ContinuousAssign>),
CheckerGenerateItem(Box<CheckerGenerateItem>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum CheckerOrGenerateItemDeclaration {
Data(Box<CheckerOrGenerateItemDeclarationData>),
FunctionDeclaration(Box<FunctionDeclaration>),
CheckerDeclaration(Box<CheckerDeclaration>),
AssertionItemDeclaration(Box<AssertionItemDeclaration>),
CovergroupDeclaration(Box<CovergroupDeclaration>),
GenvarDeclaration(Box<GenvarDeclaration>),
ClockingDeclaration(Box<ClockingDeclaration>),
Clocking(Box<CheckerOrGenerateItemDeclarationClocking>),
Disable(Box<CheckerOrGenerateItemDeclarationDisable>),
Empty(Box<Symbol>),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct CheckerOrGenerateItemDeclarationData {
pub nodes: (Option<Rand>, DataDeclaration),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct Rand {
pub nodes: (Keyword,),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct CheckerOrGenerateItemDeclarationClocking {
pub nodes: (Keyword, Keyword, ClockingIdentifier, Symbol),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub struct CheckerOrGenerateItemDeclarationDisable {
pub nodes: (Keyword, Keyword, Keyword, ExpressionOrDist, Symbol),
}
#[derive(Clone, Debug, PartialEq, Node)]
pub enum CheckerGenerateItem {
LoopGenerateConstruct(Box<LoopGenerateConstruct>),
ConditionalGenerateConstruct(Box<ConditionalGenerateConstruct>),
GenerateRegion(Box<GenerateRegion>),
ElaborationSystemTask(Box<ElaborationSystemTask>),
}