pyGHDL.dom.Sequential
#
Classes
IfBranch
: ABranch
is a base-class for all branches in a if statement.ElsifBranch
: ABranch
is a base-class for all branches in a if statement.ElseBranch
: ABranch
is a base-class for all branches in a if statement.IfStatement
: ACompoundStatement
is a base-class for all compound statements.IndexedChoice
: ASequentialChoice
is a base-class for all sequential choices (in case statements).RangedChoice
: ASequentialChoice
is a base-class for all sequential choices (in case statements).Case
: ACase
is a base-class for all cases.OthersCase
: ACase
is a base-class for all cases.CaseStatement
: ACompoundStatement
is a base-class for all compound statements.ForLoopStatement
: ALoopStatement
is a base-class for all loop statements.SequentialSimpleSignalAssignment
: ASequentialStatement
is a base-class for all sequential statements.SequentialProcedureCall
: ASequentialStatement
is a base-class for all sequential statements.SequentialAssertStatement
: ASequentialStatement
is a base-class for all sequential statements.SequentialReportStatement
: ASequentialStatement
is a base-class for all sequential statements.NullStatement
: ASequentialStatement
is a base-class for all sequential statements.WaitStatement
: ASequentialStatement
is a base-class for all sequential statements.
Classes
- class pyGHDL.dom.Sequential.IfBranch(branchNode, condition, statements=None)[source]#
Inheritance
- Parameters:
branchNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
statements (Iterable[SequentialStatement]) –
- __init__(branchNode, condition, statements=None)[source]#
Initializes a VHDL model entity.
- Parameters:
branchNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
statements (Iterable[SequentialStatement]) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.ElsifBranch(branchNode, condition, statements=None)[source]#
Inheritance
- Parameters:
branchNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
statements (Iterable[SequentialStatement]) –
- __init__(branchNode, condition, statements=None)[source]#
Initializes a VHDL model entity.
- Parameters:
branchNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
statements (Iterable[SequentialStatement]) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.ElseBranch(branchNode, statements=None)[source]#
Inheritance
- Parameters:
branchNode (Iir) –
statements (Iterable[SequentialStatement]) –
- __init__(branchNode, statements=None)[source]#
Initializes a VHDL model entity.
- Parameters:
branchNode (Iir) –
statements (Iterable[SequentialStatement] | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.IfStatement(ifNode, ifBranch, elsifBranches=None, elseBranch=None, label=None)[source]#
Inheritance
- Parameters:
ifNode (Iir) –
ifBranch (IfBranch) –
elsifBranches (Iterable[ElsifBranch]) –
elseBranch (ElseBranch) –
label (str) –
- __init__(ifNode, ifBranch, elsifBranches=None, elseBranch=None, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
ifNode (Iir) –
ifBranch (IfBranch) –
elsifBranches (Iterable[ElsifBranch] | None) –
elseBranch (ElseBranch | None) –
label (str | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.IndexedChoice(node, expression)[source]#
Inheritance
- Parameters:
node (Iir) –
expression (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
- __init__(node, expression)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
expression (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.RangedChoice(node, rng)[source]#
Inheritance
- Parameters:
node (Iir) –
rng (Range) –
- __init__(node, rng)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
rng (Range) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.Case(node, choices, statements=None)[source]#
Inheritance
- Parameters:
node (Iir) –
choices (Iterable[SequentialChoice]) –
statements (Iterable[SequentialStatement]) –
- __init__(node, choices, statements=None)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
choices (Iterable[SequentialChoice]) –
statements (Iterable[SequentialStatement] | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.OthersCase(caseNode, statements=None)[source]#
Inheritance
- Parameters:
caseNode (Iir) –
statements (Iterable[SequentialStatement]) –
- __init__(caseNode, statements=None)[source]#
Initializes a VHDL model entity.
- Parameters:
caseNode (Iir) –
statements (Iterable[SequentialStatement] | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Sequential.CaseStatement(caseNode, label, expression, cases)[source]#
Inheritance
- Parameters:
caseNode (Iir) –
label (str) –
expression (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
cases (Iterable[SequentialCase]) –
- __init__(caseNode, label, expression, cases)[source]#
Initializes a VHDL model entity.
- Parameters:
caseNode (Iir) –
label (str) –
expression (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
cases (Iterable[SequentialCase]) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.ForLoopStatement(loopNode, loopIndex, rng, statements=None, label=None)[source]#
Inheritance
- Parameters:
loopNode (Iir) –
loopIndex (str) –
rng (Range) –
statements (Iterable[SequentialStatement]) –
label (str) –
- __init__(loopNode, loopIndex, rng, statements=None, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
loopNode (Iir) –
loopIndex (str) –
rng (Range) –
statements (Iterable[SequentialStatement] | None) –
label (str | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.SequentialSimpleSignalAssignment(assignmentNode, target, waveform, label=None)[source]#
Inheritance
- Parameters:
assignmentNode (Iir) –
target (Symbol) –
waveform (Iterable[WaveformElement]) –
label (str) –
- __init__(assignmentNode, target, waveform, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
assignmentNode (Iir) –
target (Symbol) –
waveform (Iterable[WaveformElement]) –
label (str | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.SequentialProcedureCall(callNode, procedureName, parameterMappings, label=None)[source]#
Inheritance
- Parameters:
callNode (Iir) –
procedureName (Symbol) –
parameterMappings (Iterable[ParameterAssociationItem]) –
label (str) –
- __init__(callNode, procedureName, parameterMappings, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
callNode (Iir) –
procedureName (Symbol) –
parameterMappings (Iterable[ParameterAssociationItem]) –
label (str | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.SequentialAssertStatement(assertNode, condition, message=None, severity=None, label=None)[source]#
Inheritance
- Parameters:
assertNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
message (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
severity (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- __init__(assertNode, condition, message=None, severity=None, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
assertNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
message (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
severity (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.SequentialReportStatement(reportNode, message, severity=None, label=None)[source]#
Inheritance
- Parameters:
reportNode (Iir) –
message (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
severity (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- __init__(reportNode, message, severity=None, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
reportNode (Iir) –
message (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
severity (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.NullStatement(waitNode, label=None)[source]#
Inheritance
- Parameters:
waitNode (Iir) –
label (str) –
- __init__(waitNode, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
waitNode (Iir) –
label (str | None) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.
- class pyGHDL.dom.Sequential.WaitStatement(waitNode, sensitivityList=None, condition=None, timeout=None, label=None)[source]#
Inheritance
- Parameters:
waitNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
timeout (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- __init__(waitNode, sensitivityList=None, condition=None, timeout=None, label=None)[source]#
Initializes a VHDL model entity.
- Parameters:
waitNode (Iir) –
condition (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
timeout (BaseExpression | QualifiedExpression | FunctionCall | TypeConversion | Literal) –
label (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property NormalizedLabel: str | None#
Returns a model entity’s normalized (lower case) label.
- Returns:
Normalized label of a model entity.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _label: Nullable[str]#
The label of a model entity.
- _normalizedLabel: Nullable[str]#
The normalized (lower case) label of a model entity.