mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
README: Updated with links and UVM picture
This commit is contained in:
parent
7b535ddc72
commit
0c8bcb87ef
4 changed files with 7070 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||

|
||||
|
||||
For detailed documentation refer to the online documentation.
|
||||
For detailed documentation refer to the [online documentation](http://www.be4web.net) (Login: `zarubaf` Password: `zaruba`).
|
||||
# Coding Style
|
||||
|
||||
- Keep the files tidy. No superfluous line breaks, align ports on a common boundary.
|
||||
|
|
7048
docs/fig/uvm_fu_tb.ai
Normal file
7048
docs/fig/uvm_fu_tb.ai
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/fig/uvm_fu_tb.png
Normal file
BIN
docs/fig/uvm_fu_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
21
docs/tb.md
21
docs/tb.md
|
@ -5,3 +5,24 @@ The test-bench should evolve according to the following steps:
|
|||
1. Basic Usage: Behavioral memories and boot-code. With the option of a EOC flag.
|
||||
2. Constrained Random Testing: By co-simulating on a golden model (e.g.: Spike ISA simulator) and comparing signatures. Tests generated by the torture test framework.
|
||||
3. System Integration: Complete system integration.
|
||||
|
||||
Current functional coverage report is located at [here](http://www.be4web.net/ariane/covhtmlreport).
|
||||
|
||||
## Functional Unit Testbench
|
||||
|
||||
The testbench for Ariane's functional unit is a classical UVM testbench. It contains an agent that drives the generic FU interface described in an earlier section. The block diagram is depicted in the following image:
|
||||

|
||||
|
||||
A single sequence item consists of the following entries:
|
||||
|
||||
```
|
||||
logic[7:0] operator;
|
||||
rand logic[64:0] operand_a;
|
||||
rand logic[64:0] operand_b;
|
||||
rand logic[64:0] operand_c;
|
||||
|
||||
logic[64:0] result;
|
||||
logic compare_result;
|
||||
```
|
||||
|
||||
Currently the testbench is limited to the ALU use-case, e.g.: a single instruction needs exactly one cycle and it implements logical operations, arithmetic operations and shifts logical/arithmetic left and right.
|
Loading…
Add table
Add a link
Reference in a new issue