-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathaxi4_init_bfm.sv
56 lines (52 loc) · 1.08 KB
/
axi4_init_bfm.sv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (C) 2022, Muzaffer Kal
// This module implements an AXI4 initiator BFM
module axi4_init_bfm #(master_name,
data_bus_width,
address_bus_width,
id_bus_width,
max_outstanding_transactions,
exclusive_access_supported)
input ACLK,
input ARESETn,
// Write Address Channel
output [id_bus_width-1:0] AWID,
output [address_bus_width-1:0] AWADDR,
output [AWLEN,
output AWSIZE,
output AWBURST,
output AWLOCK,
output AWCACHE,
output AWPROT,
output AWVALID,
input AWREADY,
// Write Data Channel
input WID,
input WDATA,
input WSTRB,
input WLAST,
input WVALID,
input WREADY,
// Write Response Channel
input BID,
input BRESP,
input BVALID,
input BREADY,
// Read Address Channel
input ARID,
input ARADDR,
input ARLEN,
input ARSIZE,
input ARBURST,
input ARLOCK,
input ARCACHE,
input ARPROT,
input ARVALID,
input ARREADY,
// Read Data Channel
input RID,
input RDATA,
input RRESP,
input RLAST,
input RVALID,
input RREADY);
endmodule