Project Report
Project Report
February 2025
MOHAMED EHAB
Contents
Abstract : ………………………………………..……………………... 2
Introduction : ……...………………………..………………….………. 3
Methodology : ……………………….……….……………….…….…. 5
Implementation : ………………………..…….……………………….. 6
- Interface : ……………………………………….…………….... 7
- Sequence item : ………………………….………………………8
- Sequence : ………………………….…………………………... 9
- Driver : ……………….……………………………………….. 10
- Monitor : …………………………………….………………… 11
- Sequencer : ………………………………....…………………. 12
- Agent : ………………………………………………………… 12
- Ral model : …………………………………………....………. 13
- Scoreboard : ………………………………………...….……... 14
- Coverage : …………………………………………………….. 15
- Environment : …………………………………………………. 16
- Test : …………………………………...……………………… 17
- Run file : ………………………………………………………. 18
Results : …………………………………………………….…………..19
Reference : ……………………………………………………..……... 22
1
Abstract
2
Introduction
R-type add, sub, sll, slt, xor, srl, sra, or, and
S-type sw
J-type Jal
3
Test Plan
The test plan includes directed and random tests, ensuring high coverage of
both typical and edge cases. functional and code coverage are employed to
validate critical design behaviors.
4
Methodology
5
Implementation
• Design
The RTL design used in this project was obtained from a publicly available
GitHub repository Repo Link This repository provided the baseline RTL,
which was used as the DUT in the verification environment.
• TestBench
The UVM testbench was implemented to mimic the pipeline behavior of the RISC-V
processor
6
▪ Testbench Component
1. Interface
The interface serves as a bridge between the testbench and the DUT,
encapsulating all input and output signals. It abstracts the complexity
of signal-level communication, ensuring a structured and efficient
connection between testbench components and the DUT.
7
2. Sequence Item
8
3. Sequence
9
4. Driver
10
5. Monitor
11
6. Sequencer
7. Agent
12
8. RAL Model
13
9. Scoreboard
14
10. Coverage
15
11. Environment (env)
16
12. Test
17
▪ Run file
18
Results
After debugging and fixing these issues, the design achieved 100%
functional coverage, confirming its correctness.
19
20
Future Work
21
Reference
• ChipVerify
22