Uvm Syoscb-1.0.2.4
Uvm Syoscb-1.0.2.4
Uvm Syoscb-1.0.2.4
oreboard
1.0.2.4
2 Getting started 3
4 Implementation notes 11
4.1 Implementation APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 General error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Error
ategories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 Multiple queue referen
es . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6 Class Index 15
6.1 Class Hierar
hy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
7 Class Index 17
7.1 Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9 Class Do
umentation 21
9.1
l_syos
b Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
9.1.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.2.1 add_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.2.2 build_phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.2.3 get_subs
riber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.2
l_syos
b_
fg Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.2.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2.1 get_max_queue_size . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2.2 get_primary_queue . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2.3 set_max_queue_size . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2.4 set_primary_queue . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2.2.5 set_queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.3 pk_syos
b::
l_syos
b_
fg Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . 26
9.3.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2.1 get_max_queue_size . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2.2 get_primary_queue . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2.3 set_max_queue_size . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2.4 set_primary_queue . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.3.2.5 set_queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4
l_syos
b_
ompare Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.5
l_syos
b_
ompare_base Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . 30
9.5.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.5.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 31
9.5.2.1
ompare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.5.2.2
ompare_do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.6
l_syos
b_
ompare_io Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . 32
9.6.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.6.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 33
9.6.2.1
ompare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.6.2.2
ompare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.6.2.3
ompare_do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
CONTENTS iii
9.6.2.4
ompare_do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.7 pk_syos
b::
l_syos
b_item Class Referen
e . . . . . . . . . . . . . . . . . . . . . . 34
9.7.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.8
l_syos
b_item Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.8.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.9
l_syos
b_queue Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9.9.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.9.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 37
9.9.2.1 add_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.9.2.2 empty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.9.2.3 insert_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.10
l_syos
b_queue_iterator_base Class Referen
e . . . . . . . . . . . . . . . . . . . 39
9.10.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.10.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 40
9.10.2.1 rst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.10.2.2 is_done . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.10.2.3 last . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.10.2.4 previous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.11 pk_syos
b::
l_syos
b_queue_iterator_base Class Referen
e . . . . . . . . . . . . 42
9.11.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.12
l_syos
b_queue_iterator_std Class Referen
e . . . . . . . . . . . . . . . . . . . . 43
9.12.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.12.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 44
9.12.2.1 rst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.12.2.2 is_done . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.12.2.3 last . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.12.2.4 last . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.12.2.5 previous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9.13
l_syos
b_queue_std Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . 46
9.13.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.13.2 Member Fun
tion Do
umentation . . . . . . . . . . . . . . . . . . . . . . . 47
9.13.2.1 add_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.13.2.2 empty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.13.2.3 insert_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
9.14
l_syos
b_subs
riber Class Referen
e . . . . . . . . . . . . . . . . . . . . . . . . . 49
9.14.1 Detailed Des
ription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 1
Main Page
User and implementation do
umentation for the UVM s
oreboard This do
umentation provides
the following additional do
umentation, besides the normal sour
e
ode do
umentation:
It is assumed that the reader is familiar with the UVM s
oreboard ar
hite
ture des
ribed in the
SyoSil paper on the subje
t: Versatile UVM S
oreboarding lo
ated in in the do
s dire
tory.
2 Main Page
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 2
Getting started
4 Getting started
This software pa
kage also provides some simple examples beside the sour
e
ode for the UVM
s
oreboard.
Before starting to integrate the UVM s
oreboard into your own
ode then it might be bene
ial
to look at the provided examples. An example testben
h is pla
ed in the tb dire
tory and the
tests are in the tb/test dire
tory.
To run the examples you need to sele
t a Vendor sin
e the examples
an be run with all of the
three major SystemVerilog simulator vendors: Mentor Graphi
s, Caden
e and Synopsys. See
README.txt for a des
ription of how to sele
t the vendor.
On
e the vendor has been sele
ted then the available Make targets for that vendor
an be listed
by typing: "make". Typi
ally, you run the simulation with: make sim.
In general you
an type: make help to get information about what Make options are available.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 3
The UVM s oreboard is easily integrated into your existing testben h environment.
lass my
lass;
pk_syos
b::
l_syos
b my_new_s
b;
...
lass my
lass;
l_syos
b my_new_s
b;
...
l_syos
b syos
b;
l_syos
b_
fg syos
b_
fg;
...
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
3.4 Conguring the UVM s
oreboard 7
uvm_ onfig_db #( l_syos b_ fg)::set(this, "syos b", " fg", this.syos b_ fg);
...
...
...
// Insert UVM sequen
e item for queue: Q1, for produ
er: P1
syos
b.add_item("Q1", "P1", item1);
Invoking the
l_syos
b::add_item() (p. 22) method will simply wrap the UVM sequen
e item
in a
l_syos
b_item (p. 35) obje
t, add it the
orre
t queue and nally invoke the
ongured
ompare method.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
8 How to integrate the UVM s
oreboard
The UVM environment will typi
ally
ontain a handle to the s
oreboard as des
ribed above. This
an then be utilized if UVM sequen
es needs to be added from a test
ase:
//-------------------------------------
// UVM Ma
ros
//-------------------------------------
`uvm_obje
t_utils_begin(
l_s
btest_seq_item)
`uvm_field_int(int_a, UVM_ALL_ON)
`uvm_obje
t_utils_end
//-------------------------------------
// Constru
tor
//-------------------------------------
fun
tion
l_s
btest_seq_item::new (string name = "
l_s
btest_seq_item");
super.new(name);
endfun
tion
end
lass:
l_s
btest_seq_item
//-------------------------------------
// UVM Ma
ros
//-------------------------------------
`uvm_
omponent_utils(
l_s
btest_test)
//-------------------------------------
// Constru
tor
//-------------------------------------
fun
tion new(string name = "
l_s
btest_test", uvm_
omponent parent = null);
super.new(name, parent);
endfun
tion: new
//-------------------------------------
// UVM Phase methods
//-------------------------------------
fun
tion void build_phase(uvm_phase phase);
super.build_phase(phase);
s
btest_env =
l_s
btest_env::type_id::
reate("s
btest_env", this);
endfun
tion: build_phase
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
3.6 TLM based API hook up 9
l_syos
b syos
b;
l_syos
b_
fg syos
b_
fg;
myagent agent1;
myagent agent2;
...
...
...
...
begin
l_syos
b_subs
riber subs
riber;
// Get the subs
riber for Produ
er: P1 for queue: Q1 and
onne
t it
// to the UVM monitor produ
ing transa
tions for this queue
subs
riber = this.syos
b.get_subs
riber("Q1", "P1");
this.agent1.mon.<analysis port>.
onne
t(subs
riber.analysis_export);
// Get the subs
riber for Produ
er: P1 for queue: Q2 and
onne
t it
// to the UVM monitor produ
ing transa
tions for this queue
subs
riber = this.syos
b.get_subs
riber("Q2", "P1");
this.agent1.mon.<analysis port>.
onne
t(subs
riber.analysis_export);
end
endfun
tion:
onne
t_phase
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
10 How to integrate the UVM s
oreboard
l_syos
b_queue_std::get_type(),
"*");
The full build phase, in
luding the fa
tory overwrites, of
l_s
btest_env is shown here for
om-
pleteness:
l_syos
b_queue_std::get_type(),
"*");
...
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 4
Implementation notes
12 Implementation notes
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 5
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 6
Class Index
6.1 Class Hierar
hy
This inheritan
e list is sorted roughly, but not
ompletely, alphabeti
ally:
l_syos
b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
l_syos
b_
fg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
pk_syos
b::
l_syos
b_
fg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
l_syos
b_
ompare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
l_syos
b_
ompare_base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
l_syos
b_
ompare_io . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
l_syos
b_
ompare_io . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
pk_syos
b::
l_syos
b_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
l_syos
b_item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
l_syos
b_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
l_syos
b_queue_std . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
l_syos
b_queue_std . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
l_syos
b_queue_iterator_base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
l_syos
b_queue_iterator_std . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
l_syos
b_queue_iterator_std . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
pk_syos
b::
l_syos
b_queue_iterator_base . . . . . . . . . . . . . . . . . . . . . . . . 42
l_syos
b_subs
riber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
16 Class Index
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 7
Class Index
7.1 Class List
Here are the
lasses, stru
ts, unions and interfa
es with brief des
riptions:
l_syos
b (Top level
lass implementing the root of the SyoSil UVM s
oreboard ) . . . 21
l_syos
b_
fg (Conguration
lass for the SyoSil UVM s
oreboard ) . . . . . . . . . . 23
pk_syos
b::
l_syos
b_
fg (Conguration
lass for the SyoSil UVM s
oreboard ) . . 26
l_syos
b_
ompare (Class whi
h a
t as the root of the
ompare algorithm ) . . . . . 29
l_syos
b_
ompare_base (Base
lass for all
omapre algorithms ) . . . . . . . . . . 30
l_syos
b_
ompare_io (Class whi
h implements the in order
ompare algorithm ) . 32
pk_syos
b::
l_syos
b_item (The UVM s
oreboard item ) . . . . . . . . . . . . . . 34
l_syos
b_item (The UVM s
oreboard item ) . . . . . . . . . . . . . . . . . . . . . . 35
l_syos
b_queue (Class whi
h base
on
et of a queue ) . . . . . . . . . . . . . . . . . 36
l_syos
b_queue_iterator_base (Queue iterator base
lass dening the iterator
API used for iterating queues ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
pk_syos
b::
l_syos
b_queue_iterator_base (Queue iterator base
lass dening
the iterator API used for iterating queues ) . . . . . . . . . . . . . . . . . . . . 42
l_syos
b_queue_iterator_std (Queue iterator
lass dening the iterator API used
for iterating std queues ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
l_syos
b_queue_std (Standard implementation of a queue ) . . . . . . . . . . . . . 46
l_syos
b_subs
riber (Generi
subs
riber for the s
oreboard ) . . . . . . . . . . . . 49
18 Class Index
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 8
src
Files
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Chapter 9
Class Do
umentation
9.1
l_syos
b Class Referen
e
Top level
lass implementing the root of the SyoSil UVM s
oreboard. Collaboration diagram for
l_syos
b:
cl_syoscb_cfg
compare_strategy subscribers
cl_syoscb
void
ompare ()
Invokes the
ompare strategy.
22 Class Do
umentation
l_syos
b_subs
riber get_subs
riber (string queue_name, string produ
er)
Returns a UVM subs
riber for a given
ombination of queue and produ
er The returned UVM
subs
riber
an then be
onne
ted to a UVM monitor or similar whi
h produ
es transa
tions whi
h
should be s
oreboarded.
Top level
lass implementing the root of the SyoSil UVM s
oreboard.
Denition at line 2 of le
l_syos
b.svh.
l_syos b.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.2
l_syos
b_
fg Class Referen
e 23
cl_syoscb_cfg
cfg queues
cl_syoscb_queue
owner iterators
cl_syoscb_queue_iterator_base
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.2
l_syos
b_
fg Class Referen
e 25
l_syos b_ fg.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
26 Class Do
umentation
cl_syoscb_queue
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.3 pk_syos
b::
l_syos
b_
fg Class Referen
e 27
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
28 Class Do
umentation
pk_syos b.sv
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.4
l_syos
b_
ompare Class Referen
e 29
cl_syoscb_cfg
cl_syoscb_compare cl_syoscb_queue_iterator_base
void
ompare ()
Invokes the
ompare algorithms
ompare method.
Class whi
h a
t as the root of the
ompare algorithm. It instantiates the
hosen
ompare algorithm.
Denition at line 3 of le
l_syos
b_
ompare.svh.
The do
umentation for this
lass was generated from the following le:
l_syos b_ ompare.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
30 Class Do
umentation
cl_syoscb_compare_base
cl_syoscb_compare_io
cl_syoscb_cfg
cl_syoscb_compare_base cl_syoscb_queue
owner iterators
cl_syoscb_queue_iterator_base
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.5
l_syos
b_
ompare_base Class Referen
e 31
l_syos
b_
fg
fg
Handle to the
onguration.
l_syos b_ ompare_base.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
32 Class Do
umentation
cl_syoscb_compare_base
cl_syoscb_compare_io
cl_syoscb_cfg
cl_syoscb_compare_base cl_syoscb_queue
owner iterators
cl_syoscb_compare_io cl_syoscb_queue_iterator_base
ompare ()
virtual void
Compare API: Mandatory overwriting of the base
lass'
ompare method.
void
ompare_do ()
Compare API: Mandatory overwriting of the base
lass' do_
ompare method.
ompare ()
virtual void
Compare API: This method is the
ompare algorithms publi
ompare method.
void
ompare_do ()
Compare API: Does the a
tual
ompare.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.6
l_syos
b_
ompare_io Class Referen
e 33
l_syos b_ ompare_io.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
34 Class Do
umentation
The UVM s
oreboard item. This item wraps the uvm_sequen
e_items. This ensures that future
extensions to the UVM s
oreboard will always be able to use all uvm_sqeuen
e_items from
already existing testben
hes et
. even though more META data is added to the wrapping item.
Denition at line 651 of le pk_syos
b.sv.
The do
umentation for this
lass was generated from the following le:
pk_syos b.sv
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.8
l_syos
b_item Class Referen
e 35
The UVM s
oreboard item. This item wraps the uvm_sequen
e_items. This ensures that future
extensions to the UVM s
oreboard will always be able to use all uvm_sqeuen
e_items from
already existing testben
hes et
. even though more META data is added to the wrapping item.
Denition at line 4 of le
l_syos
b_item.svh.
The do
umentation for this
lass was generated from the following le:
l_syos b_item.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
36 Class Do
umentation
cl_syoscb_queue
cl_syoscb_queue_std
cl_syoscb_queue
cl_syoscb_cfg cl_syoscb_queue_iterator_base
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.9
l_syos
b_queue Class Referen
e 37
insert_item (string produ
er, uvm_sequen
e_item item, int unsigned idx)
virtual bit
Queue API: Inserts a uvm_sequen
e_item at index idx.
virtual
l_syos
b_queue_iterator_base
reate_iterator ()
Queue API: Creates an iterator for this queue.
delete_iterator (
l_syos
b_queue_iterator_base iterator)
virtual bit
Queue API: Deletes a given iterator for this queue.
l_syos
b_
fg
fg
Handle to the
onguration.
semaphore iter_sem
Semaphore guarding ex
lusive a
ess to the queue when multiple iterators are in play.
Class whi
h base
on
et of a queue. All queues must extend this
lass and implement the queue
API.
Denition at line 3 of le
l_syos
b_queue.svh.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
38 Class Do
umentation
l_syos b_queue.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.10
l_syos
b_queue_iterator_base Class Referen
e 39
cl_syoscb_queue_iterator_base
cl_syoscb_queue_iterator_std
cl_syoscb_queue_iterator_base
iterators owner
cl_syoscb_queue
queues cfg
cl_syoscb_cfg
virtual bitprevious ()
Iterator API: Moves the iterator to the previous item in the queue.
virtual bitrst ()
Iterator API: Moves the iterator to the rst item in the queue.
virtual bitlast ()
Iterator API: Moves the iterator to the last item in the queue.
virtual int unsigned get_idx ()
Iterator API: Returns the
urrent index
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
40 Class Do
umentation
Queue iterator base
lass dening the iterator API used for iterating queues.
Denition at line 2 of le
l_syos
b_queue_iterator_base.svh.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.10
l_syos
b_queue_iterator_base Class Referen
e 41
l_syos b_queue_iterator_base.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
42 Class Do
umentation
cl_syoscb_queue
Queue iterator base
lass dening the iterator API used for iterating queues.
Denition at line 742 of le pk_syos
b.sv.
The do
umentation for this
lass was generated from the following le:
pk_syos b.sv
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.12
l_syos
b_queue_iterator_std Class Referen
e 43
cl_syoscb_queue_iterator_base
cl_syoscb_queue_iterator_std
cl_syoscb_queue_iterator_base
iterators owner
cl_syoscb_queue_iterator_std cl_syoscb_queue
queues cfg
cl_syoscb_cfg
virtual bitprevious ()
Iterator API: See
l_syos
b_queue_iterator_base ( 39) for details
p.
virtual bitrst ()
Iterator API: See
l_syos
b_queue_iterator_base ( 39) for details
p.
virtual bitlast ()
Iterator API: Moves the iterator to the last item in the queue.
get_idx ()
virtual int unsigned
Iterator API: See
l_syos
b_queue_iterator_base ( p. 39) for details
virtual
l_syos
b_item get_item ()
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
44 Class Do
umentation
virtual bitis_done ()
Iterator API: Returns 1'b0 as long as the iterator has not rea
hed the end.
virtual bitset_queue (
l_syos
b_queue owner)
Iterator API: Sets releated queue
Queue iterator
lass dening the iterator API used for iterating std queues.
Denition at line 2 of le
l_syos
b_queue_iterator_std.svh.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.12
l_syos
b_queue_iterator_std Class Referen
e 45
l_syos b_queue_iterator_std.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
46 Class Do
umentation
cl_syoscb_queue
cl_syoscb_queue_std
cl_syoscb_queue cl_syoscb_item
empty ()
virtual bit
Queue API: See
l_syos
b_queue ( 36) for more details
p.
insert_item (string produ
er, uvm_sequen
e_item item, int unsigned idx)
virtual bit
Queue API: See
l_syos
b_queue ( 36) for more details
p.
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.13
l_syos
b_queue_std Class Referen
e 47
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
48 Class Do
umentation
l_syos b_queue_std.svh
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
9.14
l_syos
b_subs
riber Class Referen
e 49
stringget_queue_name ()
Subs
riber API: Returns the name of the queue whi
h this subs
riber is
onne
ted to.
void set_queue_name (string qn)
Subs
riber API: Sets the name of the queue whi
h this subs
riber is
onne
ted to.
stringget_produ
er ()
Subs
riber API: Returns the name of the produer whi
h this subs
riber is
onne
ted to.
void set_produ
er (string p)
Subs
riber API: Sets the name of the produ
er whi
h this subs
riber is
onne
ted to.
Generi
subs
riber for the s
oreboard. It provides the write method for UVM monitors and utilizes
the fun
tion based API of the s
oreboard to insert the items re
eived through the write method.
Denition at line 4 of le
l_syos
b_subs
riber.svh.
The do
umentation for this
lass was generated from the following le:
Generated on Mon O
t 26 03:49:53 2015 for SyoSil ApS UVM S
oreboard by Doxygen
Index
/home/ja
ob/work/uvm_s
oreboard/sr
/ Di- empty, 47
re
tory Referen
e, 19 insert_item, 47
l_syos
b_subs
riber, 49
add_item
ompare
l_syos
b, 22
l_syos
b_
ompare_base, 31
l_syos
b_queue, 37
l_syos
b_
ompare_io, 33
l_syos
b_queue_std, 47
ompare_do
l_syos
b_
ompare_base, 31
build_phase
l_syos
b_
ompare_io, 33
l_syos
b, 22
empty
l_syos
b, 21
l_syos
b_queue, 37
add_item, 22
l_syos
b_queue_std, 47
build_phase, 22
get_subs
riber, 22 rst
l_syos
b_
fg, 23
l_syos
b_queue_iterator_base, 40
get_max_queue_size, 24
l_syos
b_queue_iterator_std, 44
get_primary_queue, 24
set_max_queue_size, 24 get_max_queue_size
set_primary_queue, 25
l_syos
b_
fg, 24
set_queues, 25 pk_syos
b::
l_syos
b_
fg, 27
l_syos
b_
ompare, 29 get_primary_queue
l_syos
b_
ompare_base, 30
l_syos
b_
fg, 24
ompare, 31 pk_syos
b::
l_syos
b_
fg, 27
ompare_do, 31 get_subs
riber
l_syos
b_
ompare_io, 32
l_syos
b, 22
ompare, 33
ompare_do, 33 insert_item
l_syos
b_item, 35
l_syos
b_queue, 37
l_syos
b_queue, 36
l_syos
b_queue_std, 47
add_item, 37 is_done
empty, 37
l_syos
b_queue_iterator_base, 40
insert_item, 37
l_syos
b_queue_iterator_std, 44
l_syos
b_queue_iterator_base, 39
rst, 40 last
is_done, 40
l_syos
b_queue_iterator_base, 40
last, 40
l_syos
b_queue_iterator_std, 44, 45
previous, 41
l_syos
b_queue_iterator_std, 43 pk_syos
b::
l_syos
b_
fg, 26
rst, 44 get_max_queue_size, 27
is_done, 44 get_primary_queue, 27
last, 44, 45 set_max_queue_size, 27
previous, 45 set_primary_queue, 27
l_syos
b_queue_std, 46 set_queues, 27
add_item, 47 pk_syos
b::
l_syos
b_item, 34
INDEX 51
Generated on Mon O t 26 03:49:53 2015 for SyoSil ApS UVM S oreboard by Doxygen