axil_ram·A single-port memory exposed as an AXI4-Lite slave.
This is everything Akrida knew about the design. It never sees the design's code.
axil_ram is a single-port memory exposed as an AXI4-Lite slave. A master
writes and reads 32-bit words over a standard AXI4-Lite interface. The block
has no registers other than the memory array and no interrupts.
+--------------------------------------+
AW ---> | write address \ |
W ---> | write data >-- write ctrl --+ |
B <--- | write response / v |
| [ memory ]|
AR ---> | read address \ | |
R <--- | read data >-- read ctrl <--+ |
+--------------------------------------+
| Name | Default | Meaning |
|---|---|---|
| DATA_WIDTH | 32 | Data bus width in bits |
| ADDR_WIDTH | 16 | Byte address width in bits |
| STRB_WIDTH | DATA_WIDTH/8 | Number of byte lanes |
| PIPELINE_OUTPUT | 0 | 1 adds one register stage on the read data path |
The verification target uses the defaults: 32-bit data, 16-bit addresses, 4 byte lanes, no output pipeline.
| Port | Dir | Width | Description |
|---|---|---|---|
| clk | in | 1 | Clock. All signals are sampled on the rising edge. |
| rst | in | 1 | Synchronous reset, active high |
| s_axil_awaddr | in | ADDR_WIDTH | Write address (byte address) |
| s_axil_awprot | in | 3 | Write protection type (ignored) |
| s_axil_awvalid | in | 1 | Write address valid |
| s_axil_awready | out | 1 | Write address ready |
| s_axil_wdata | in | DATA_WIDTH | Write data |
| s_axil_wstrb | in | STRB_WIDTH | Write byte strobes |
| s_axil_wvalid | in | 1 | Write data valid |
| s_axil_wready | out | 1 | Write data ready |
| s_axil_bresp | out | 2 | Write response |
| s_axil_bvalid | out | 1 | Write response valid |
| s_axil_bready | in | 1 | Write response ready |
| s_axil_araddr | in | ADDR_WIDTH | Read address (byte address) |
| s_axil_arprot | in | 3 | Read protection type (ignored) |
| s_axil_arvalid | in | 1 | Read address valid |
| s_axil_arready | out | 1 | Read address ready |
| s_axil_rdata | out | DATA_WIDTH | Read data |
| s_axil_rresp | out | 2 | Read response |
| s_axil_rvalid | out | 1 | Read data valid |
| s_axil_rready | in | 1 | Read data ready |
Exclusive access, burst transactions and error responses (SLVERR, DECERR) are not supported. AXI4-Lite has no bursts.