cl_syoscb_queue Class Reference

Class which base concet of a queue. More...

Inheritance diagram for cl_syoscb_queue:
Inheritance graph
[legend]
Collaboration diagram for cl_syoscb_queue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void build_phase (uvm_phase phase)
 Gets the global scoreboard configuration.
void check_phase (uvm_phase phase)
 Checks if the queue is empty. If not then a UVM error is issued.
virtual bit add_item (string producer, uvm_sequence_item item)
 Queue API: Adds an uvm_sequence_item.
virtual bit delete_item (int unsigned idx)
 Queue API: Deletes the item at index idx from the queue
virtual cl_syoscb_item get_item (int unsigned idx)
 Queue API: Gets the item at index idx from the queue
virtual int unsigned get_size ()
 Queue API: Returns the current size of the queue
virtual bit empty ()
 Queue API: Returns whether or not the queue is empty.
virtual bit insert_item (string producer, uvm_sequence_item item, int unsigned idx)
 Queue API: Inserts a uvm_sequence_item at index idx.
virtual
cl_syoscb_queue_iterator_base 
create_iterator ()
 Queue API: Creates an iterator for this queue.
virtual bit delete_iterator (cl_syoscb_queue_iterator_base iterator)
 Queue API: Deletes a given iterator for this queue.

Protected Attributes

cl_syoscb_cfg cfg
 Handle to the configuration.
cl_syoscb_queue_iterator_base iterators [cl_syoscb_queue_iterator_base]
 List of iterators registered with queue.
int unsigned iter_idx
 Current number of iterators.
semaphore iter_sem
 Semaphore guarding exclusive access to the queue when multiple iterators are in play.

Detailed Description

Class which base concet of a queue.

All queues must extend this class and implement the queue API.

Definition at line 3 of file cl_syoscb_queue.svh.


Member Function Documentation

bit cl_syoscb_queue::add_item ( string  producer,
uvm_sequence_item  item 
) [virtual]

Queue API: Adds an uvm_sequence_item.

The implementation must wrap this in a cl_syoscb_item object before the item is inserted

Reimplemented in cl_syoscb_queue_std, and cl_syoscb_queue_std.

Definition at line 84 of file cl_syoscb_queue.svh.

bit cl_syoscb_queue::empty (  )  [virtual]

Queue API: Returns whether or not the queue is empty.

1'b0 means thet te queue is not empty. 1'b1 means that the queue is empty

Reimplemented in cl_syoscb_queue_std, and cl_syoscb_queue_std.

Definition at line 109 of file cl_syoscb_queue.svh.

bit cl_syoscb_queue::insert_item ( string  producer,
uvm_sequence_item  item,
int unsigned  idx 
) [virtual]

Queue API: Inserts a uvm_sequence_item at index idx.

The implementation must wrap the uvm_sequence_item in a cl_syoscb_item before it is inserted.

Reimplemented in cl_syoscb_queue_std, and cl_syoscb_queue_std.

Definition at line 116 of file cl_syoscb_queue.svh.


The documentation for this class was generated from the following file:
 All Classes Functions Variables

Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.2.3

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
Doxygen Version: 1.6.1
IDV SV Filter Version: 2.6.2
Mon Sep 28 02:58:00 2015
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV