Class uvm_pkg::uvm_algorithmic_comparator
Collaboration Diagram of uvm_algorithmic_comparator
Name |
Default value |
Description |
---|---|---|
BEFORE |
int |
|
AFTER |
int |
|
TRANSFORMER |
int |
Name |
Type |
Description |
---|---|---|
type_name |
string |
|
before_export |
uvm_analysis_imp#(int, uvm_algorithmic_comparator#(int, int, int)) |
|
after_export |
Port after_export The export to which a data stream of type AFTER is sent via a connected analysis port. Publishers (monitors) can send in an ordered stream of transactions to be transformed and compared to the AFTER transactions. |
Name |
Actual Type |
Description |
---|---|---|
this_type |
Constructors
- new(string name, uvm_component parent = null, int transformer = null)
Function
new
Creates an instance of a specialization of this class. In addition to the standard uvm_component constructor arguments, name and parent , the constructor takes a handle to a transformer object, which must already be allocated (handles can't be null ) and must implement the transform() method.
- Parameters:
name (string)
parent (uvm_component)
transformer (int)
Functions
- get_type_name()
- connect_phase(uvm_phase phase)
- Parameters:
phase (uvm_phase)
- write(int b)
- Parameters:
b (int)
Port
before_export
The export to which a data stream of type BEFORE is sent via a connected analysis port. Publishers (monitors) can send in an ordered stream of transactions against which the transformed BEFORE transactions will (be compared.