gpio_filter
Gate GPIO AXI-Lite register reads and writes by AxPROT.
Independent enables and required AxPROT values apply on the AW and AR paths; failing beats never reach the subordinate. An axi_lite_demux routes them to an error subordinate that answers DECERR with read data 0xBADCAB1E.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
MAX_TRANS | int unsigned | 32 | Maximum open transactions per channel in the demux. |
Ports
| Name | Direction | Type | Description |
|---|---|---|---|
clk_i | input | logic | System clock. |
rst_ni | input | logic | Async reset, active-low. |
test_en_i | input | logic | DFT test enable, driven to the demux test input. |
write_filter_enable_i | input | logic | Enable AW AxPROT filter. |
read_filter_enable_i | input | logic | Enable AR AxPROT filter. |
awprot_requirement_i | input | logic [2:0] | AW AxPROT value that must match exactly. |
arprot_requirement_i | input | logic [2:0] | AR AxPROT value that must match exactly. |
axil_req_i | input | gpio_axil_req_t | Manager-side AXI-Lite request. |
axil_resp_o | output | gpio_axil_resp_t | Manager-side AXI-Lite response. |
filtered_axil_req_o | output | gpio_axil_req_t | Subordinate-side AXI-Lite request. |
filtered_axil_resp_i | input | gpio_axil_resp_t | Subordinate-side AXI-Lite response. |