pyGHDL.dom.PSL
¶
This module contains all DOM classes for VHDL’s design units (context
,
architecture
, package
,
package body
, context
and
configuration
.
Classes
VerificationUnit
: APrimaryUnit
is a base-class for all primary units.VerificationProperty
: APrimaryUnit
is a base-class for all primary units.VerificationMode
: APrimaryUnit
is a base-class for all primary units.DefaultClock
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multiple
Classes
- class pyGHDL.dom.PSL.VerificationUnit(node, identifier)[source]¶
Inheritance
- Parameters:
node (Iir) –
identifier (str) –
- __init__(node, identifier)[source]¶
Initializes a design unit.
- Parameters:
identifier (
str
) – Identifier (name) of the design unit.documentation – Associated documentation of the design unit.
node (Iir) –
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Return type:
- Returns:
Name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.PSL.VerificationProperty(node, identifier)[source]¶
Inheritance
- Parameters:
node (Iir) –
identifier (str) –
- __init__(node, identifier)[source]¶
Initializes a design unit.
- Parameters:
identifier (
str
) – Identifier (name) of the design unit.documentation – Associated documentation of the design unit.
node (Iir) –
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Return type:
- Returns:
Name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.PSL.VerificationMode(node, identifier)[source]¶
Inheritance
- Parameters:
node (Iir) –
identifier (str) –
- __init__(node, identifier)[source]¶
Initializes a design unit.
- Parameters:
identifier (
str
) – Identifier (name) of the design unit.documentation – Associated documentation of the design unit.
node (Iir) –
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Return type:
- Returns:
Name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyGHDL.dom.PSL.DefaultClock(node, identifier)[source]¶
Inheritance
- Parameters:
node (Iir) –
identifier (str) –
- __init__(node, identifier)[source]¶
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
identifier (str) –
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Return type:
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.