File: axi_lite_slave.v

package info (click to toggle)
uhd 3.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 107,272 kB
  • ctags: 57,231
  • sloc: cpp: 66,160; ansic: 59,349; python: 13,245; vhdl: 7,651; tcl: 2,668; sh: 1,634; makefile: 1,031; xml: 557; pascal: 230; csh: 94; asm: 20; perl: 11
file content (42 lines) | stat: -rw-r--r-- 2,538 bytes parent folder | download | duplicates (4)
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
module axi_lite_slave
  (
   input aclk,                    // Global AXI clock
   input aresetn,                 // Global AXI reset, active low.
   //
   // AXI  Write address channel
   //
   input [31 : 0] m_axi_awaddr,  // Write address. The write address gives the address of the first transfer in a write burst 
   input [2 : 0] m_axi_awprot,   // Protection type. This signal indicates the privilege and security level of the transaction
   input m_axi_awvalid,          // Write address valid. This signal indicates that the channel is signaling valid write addr
   output m_axi_awready,         // Write address ready. This signal indicates that the slave is ready to accept an address
   //
   // AXI Write data channel.
   //
   input [31 : 0] m_axi_wdata,   // Write data
   input [3 : 0] m_axi_wstrb,    // Write strobes. This signal indicates which byte lanes hold valid data.
   input m_axi_wvalid,           // Write valid. This signal indicates that valid write data and strobes are available. 
   output m_axi_wready,          // Write ready. This signal indicates that the slave can accept the write data.
   //
   // AXI Write response channel signals
   //
   output [1 : 0] m_axi_bresp,   // Write response. This signal indicates the status of the write transaction.
   output m_axi_bvalid,          // Write response valid. This signal indicates that the channel is signaling a valid response
   input m_axi_bready,           // Response ready. This signal indicates that the master can accept a write response
   //
   // AXI Read address channel
   //
   input [31 : 0] m_axi_araddr,  // Read address. The read address gives the address of the first transfer in a read burst
   input [2 : 0] m_axi_arprot,   // Protection type. This signal indicates the privilege and security level of the transaction
   input m_axi_arvalid,          // Read address valid. This signal indicates that the channel is signaling valid read addr
   output m_axi_arready,         // Read address ready. This signal indicates that the slave is ready to accept an address
   //
   // AXI Read data channel
   //
   output [31 : 0] m_axi_rdata,  // Read data.
   output [1 : 0] m_axi_rresp,   // Read response. This signal indicates the status of the read transfer
   output m_axi_rvalid,          // Read valid. This signal indicates that the channel is signaling the required read data. 
   input m_axi_rready,           // Read ready. This signal indicates that the master can accept the read data and response
   //
   //
   //
   )