AXI-Lite Slave — Register Map

Intermediate
Sign in →
00:00
01General Operation

The module exposes three 32-bit registers accessible via AXI4-Lite: REG_CTRL (0x00), REG_PERIOD (0x04), REG_GAIN (0x08). Two independent state machines handle write and read transactions per the AXI4-Lite protocol.

  • Register offsets: CTRL=0x00, PERIOD=0x04, GAIN=0x08
  • OKAY or SLVERR response depending on address validity
02Interface

Generics:

  • g_BASE_ADDR : std_logic_vector(31 downto 0) — Base address (default x"0000_0000")

AXI-Lite Ports:

SignalDirectionWidthDescription
i_axi_aclkInput1 bitAXI clock
i_axi_aresetInput1 bitSynchronous reset
s_axi_awaddrInput32 bitsWrite Address
s_axi_awvalidInput1 bitAW Valid
s_axi_awreadyOutput1 bitAW Ready
s_axi_wdataInput32 bitsWrite Data
s_axi_wstrbInput4 bitsWrite Strobe
s_axi_wvalidInput1 bitW Valid
s_axi_wreadyOutput1 bitW Ready
s_axi_brespOutput2 bitsWrite Response
s_axi_bvalidOutput1 bitB Valid
s_axi_breadyInput1 bitB Ready
s_axi_araddrInput32 bitsRead Address
s_axi_arvalidInput1 bitAR Valid
s_axi_arreadyOutput1 bitAR Ready
s_axi_rdataOutput32 bitsRead Data
s_axi_rrespOutput2 bitsRead Response
s_axi_rvalidOutput1 bitR Valid
s_axi_rreadyInput1 bitR Ready

Register Ports:

o_reg_ctrlOutput32 bitsREG_CTRL value
o_reg_periodOutput32 bitsREG_PERIOD value
o_reg_gainOutput32 bitsREG_GAIN value