Skip to content

Commit 8e4dc82

Browse files
committed
Updated to better document the apb_vip_if
1 parent 5c21397 commit 8e4dc82

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

docs/config/Comments.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ Alter Comment Type: Class
2828
package, packages
2929

3030

31+
Alter Comment Type: Module
32+
33+
SystemVerilog Keywords:
34+
interface, interfaces
35+
36+
3137
Alter Comment Type: Function
38+
3239
SystemVerilog Keywords:
3340
task, tasks
3441

src/interfaces/apb_vip_if.sv

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@
3030
//
3131
// See Also:
3232
// <_APB_AGENT_PARAM_DEFS>
33-
interface apb_vip_if #(
33+
interface apb_vip_if
34+
import apb_agent_pkg::*;
35+
#(
3436
`_APB_AGENT_PARAM_DEFS
3537
) (
3638
input logic preset_n,
3739
input logic pclk
3840
);
3941

40-
import apb_agent_pkg::*;
4142

4243
localparam int _STRB_WIDTH = DATA_WIDTH/8;
4344

@@ -59,15 +60,32 @@ interface apb_vip_if #(
5960
// Signal: penable
6061
// Enable
6162
logic penable;
63+
64+
// Signal: pwrite
65+
// Write
6266
apb_write_e pwrite;
67+
68+
// Signal: pwdata
69+
// Write Data
6370
logic [ DATA_WIDTH-1:0] pwdata;
71+
72+
// Signal: pstrb
73+
// Write strobe
6474
logic [ _STRB_WIDTH-1:0] pstrb;
6575

6676
// Group: Completer Signals
6777
////////////////////////////////////////////////////////////////////////////////////////////////
6878

79+
// Signal: pready
80+
// pready
6981
logic pready;
82+
83+
// Signal: prdata
84+
// Read Data
7085
logic [DATA_WIDTH-1:0] prdata;
86+
87+
// Signal: pslverr
88+
// Completer Error
7189
logic pslverr;
7290

7391
endinterface : apb_vip_if

0 commit comments

Comments
 (0)