Top level class implementing the root of the SyoSil UVM scoreboard. More...

Public Member Functions | |
| void | build_phase (uvm_phase phase) |
| The build_phase gets the scoreboard configuration and forwards it to the child components (cl_syoscb_queue and cl_syoscb_compare). | |
| void | add_item (string queue_name, string producer, uvm_sequence_item item) |
| Method for adding a uvm_sequence_item to a given queue for a given producer. | |
| void | compare () |
| Invokes the compare strategy. | |
| cl_syoscb_subscriber | get_subscriber (string queue_name, string producer) |
| Returns a UVM subscriber for a given combination of queue and producer The retrurned UVM subscriber can then be connected to a UVM monitor or similar which produces transactions which should be scoreboarded. | |
Top level class implementing the root of the SyoSil UVM scoreboard.
Definition at line 2 of file cl_syoscb.svh.
| void cl_syoscb::add_item | ( | string | queue_name, | |
| string | producer, | |||
| uvm_sequence_item | item | |||
| ) |
Method for adding a uvm_sequence_item to a given queue for a given producer.
The method will check if the queue and producer exists before adding it to the queue.
The uvm_sequence_item will be wrapped by a cl_syoscb_item along with some META data Thus, it is the cl_syoscb_item which will be added to the queue and not the uvm_sequence_item directly.
This ensures that the scoreboard can easily be added to an existing testbench with already defined sequence items etc.
Definition at line 120 of file cl_syoscb.svh.
| void cl_syoscb::build_phase | ( | uvm_phase | phase | ) |
The build_phase gets the scoreboard configuration and forwards it to the child components (cl_syoscb_queue and cl_syoscb_compare).
Additionally, it creates all of the queues defined in the configuration object. Finally, it also creates the compare strategy via a factory create call.
Definition at line 56 of file cl_syoscb.svh.
| cl_syoscb_subscriber cl_syoscb::get_subscriber | ( | string | queue_name, | |
| string | producer | |||
| ) |
Returns a UVM subscriber for a given combination of queue and producer The retrurned UVM subscriber can then be connected to a UVM monitor or similar which produces transactions which should be scoreboarded.
Definition at line 170 of file cl_syoscb.svh.
|
Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.2.1 Copyright 2014-2015 SyoSil ApS All Rights Reserved Worldwide Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
![]() Doxygen Version: 1.6.1 IDV SV Filter Version: 2.6.2 Thu Jun 4 23:02:22 2015 |