Entity: axi_dma_regs

Diagram

std_logic clk axil_m2s_t axils_m2s std_logic transfer_done axil_s2m_t axils_s2m std_logic start_transfer std_logic_vector(31 downto 0) src_address std_logic_vector(31 downto 0) dst_address std_logic_vector(31 downto 0) num_bytes

Description

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2014-2021, Lars Asplund lars.anders.asplund@gmail.com

Ports

Port name Direction Type Description
clk in std_logic
axils_m2s in axil_m2s_t
axils_s2m out axil_s2m_t
start_transfer out std_logic
transfer_done in std_logic
src_address out std_logic_vector(31 downto 0)
dst_address out std_logic_vector(31 downto 0)
num_bytes out std_logic_vector(31 downto 0)

Signals

Name Type Description
state state_t
addr std_logic_vector(axils_m2s.ar.addr'range)

Types

Name Type Description
state_t (idle,
writing,
write_response,
reading)

Functions

Description
Compare addresses of 32-bit words discarding byte address

Processes

State machines

state transitions cluster_state state idle idle writing writing idle->writing axils_m2s.aw.valid = '1'    reading reading idle->reading axils_m2s.ar.valid = '1'    write_response write_response writing->write_response axils_m2s.w.valid = '1'    write_response->idle axils_m2s.b.ready = '1'    reading->idle axils_m2s.r.ready = '1'