Content
Background
Rtl code parsing
Parameter define
Top layer interface
Uvm code parsing
Case test examples
Reference
---------------------------------------------------------------------------------------------------------------------------------
Background
EDA tools: ubuntu16.04, vcs , verdi.
---------------------------------------------------------------------------------------------------------------------------------
Rtl code parsing
Parameter define(arb_define.vh):
ARB_NUM: req number
ARB_PRIORITY_WIDTH: priority width. The larger the value of this field, the higher the priority. Example: when ARB_PRIORITY_WIDTH=2,it indicates that there are four priority levels(0,1,2,3). When the field of a req is set to 3, it has the highest priority.
ARB_MODE:1:Round-robin; 0: fixed-priority.
------------------------------------------------
Top layer interface(arb.sv):
Timing of ch_req & ch_grant:
Format of ch_pr_cfg:
Signal declaration:
Generate ch_req_vld:
Arbitration:
---------------------------------------------------------------------------------------------------------------------------------
Uvm code parsing
In progress
---------------------------------------------------------------------------------------------------------------------------------
Case test examples
- ARB_NUM = 8; ARB_PRIORITY_WIDTH=2; ARB_MODE = 1 :
- ARB_NUM = 8; ARB_PRIORITY_WIDTH=2; ARB_MODE = 0 :
- ARB_NUM = 5; ARB_PRIORITY_WIDTH=3; ARB_MODE = 1 :
- ARB_NUM = 5; ARB_PRIORITY_WIDTH=3; ARB_MODE = 0 :
- ARB_NUM = 9; ARB_PRIORITY_WIDTH=3; ARB_MODE = 1 :
- ARB_NUM = 9; ARB_PRIORITY_WIDTH=3; ARB_MODE = 0 :
Reference
-------------------------------------------------------------------------------------------------------------------------------
unfinished
-------------------------------------------------------------------------------------------------------------------------------