ertan0%6 (Chapter 1=The DUT —Pedto Araujo
Chapter 1 - The DUT
This training guide will focus on showing how we can build a basic UVM environment, so the device
under test was kept very simple in order to emphasize the explanation of UVM itself.
The DUT used is a simple ALU, limited to a single operation: the add operation. The inputs and
outputs are represented in Figure 1.1
clk
ina_| Simpleadder |_ out
inb en_o
DUT
eni
{(http://colorlesscube.com/wp-content/uploads/ch2-dut.png)
Figure 1.1: Representation of the DUT's inputs/outputs
This DUT takes two values of 2 bits each, ina and inb, sums them and sends the result to the
output out. The inputs are sampled to the signal of en_/ and the output is sent at the same time en_o
is signalled.
‘The operation of the DUT is represented as a timing diagram and as a state machine in Figure 1.2.
(http://colorlesscube.com/wp-
clk content/uploads/ch2-dut_timing_diagram.png)
https!
en i State: 0 (http:
Wars tor nj colorle
ina Dia sscube.
Jens com/w
inb 1 Lo pe
‘State: T
ater sending conten
eno the outoxt starts reading
= inputs t/uploa
out i aftofa after reading 48/ch2-
2bits dutta
te_mac
sands the result hine.pn
othe outpet
2)
ipscolerlesscubo.comlwen-guide-for-becimersichaper--tbeul! 45ertan0%6 (Chapter 1=The DUT —Pedto Araujo
Figure 1.2: Operation of the DUT
The code for this DUT can be found here:
+ simpleadder.v (https://github.com/pedro-araujo/uvm-testbench-tutorial-simple-
adder/blob/master/simpleadder.v)
6 thoughts on “Chapter 1 - The DUT”
SUBRAT
October 4, 2015 at 18:23 (httos//colorlesscube.com/uvm-gulde-for-beginners/chapter-t-the.dutl#comment
65268)
Hello Pedro,
Your blog has been really helpful for me as I could not find a much simpler explanation
of UVM on the net, Currently, | am working on creating a UVM Environment for DDR3 and
facing a lot of issues. Can you please get in touch with me via email?
Thanks,
Subrat
REPLY (HTTPS//COLORLESSCUBE.CON/UVM-GUIDE-FOR-BEGINNERS/CHAPTER-T-THE-DUT/PREPLYTOCOM=65269#RESPOND)
TARUN
April 13, 2016 at 06:05 (hetps:/colorlesscube.com/uvm-guide-for-beginners/chapter-1-the-dut/#comment.66715)
Opearation of DUT image is missing. Please upload it.
PLY {HTTPS://COLORLESSCUBE,COM/UVM-GUIDE-FOR-BEGINNERS/CHAP?
R-1-THE.DUT/?REPLYTOCOM=6571SHRESPOND)
NAYAN
1 May, 2016 at 04:32 (hetps//colorlesscube.com/uvin-gulde-for-beginners/chapter-1-the-dut/#comment-66828)
Pedro
ipscolerlescubo.comlwen-guide-for-becimersichaper--tbeull