Entity: dma_fifo

Diagram

integer FIFO_AWIDTH integer FIFO_DWIDTH std_logic clk std_logic resetn std_logic fifo_reset std_logic in_stb std_logic_vector(FIFO_DWIDTH-1 downto 0) in_data std_logic out_ack std_logic in_ack std_logic out_stb std_logic_vector(FIFO_DWIDTH-1 downto 0) out_data_left std_logic_vector(FIFO_DWIDTH-1 downto 0) out_data_right

Description



Copyright 2019 (c) OscillatorIMP Digital Copyright 2014 - 2017 (c) Analog Devices, Inc. All rights reserved.

In this HDL repository, there are many different and unique modules, consisting of various HDL (Verilog or VHDL) components. The individual modules are developed independently, and may be accompanied by separate and unique license terms.

The user should read each of these license terms, and understand the freedoms and responsibilities that he or she has by using this source/core.

This core is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Redistribution and use of source or resulting binaries, with or without modification of this file, are permitted under one of the following two license terms:

  1. The GNU General Public License version 2 as published by the Free Software Foundation, which can be found in the top level directory of this repository (LICENSE_GPL2), and also online at: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

OR

  1. An ADI specific BSD license, which can be found in the top level directory of this repository (LICENSE_ADIBSD), and also on-line at: https://github.com/analogdevicesinc/hdl/blob/master/LICENSE_ADIBSD This will allow to generate bit files and not release the source code, as long as it attaches to an ADI device.


Generics

Generic name Type Value Description
FIFO_AWIDTH integer 3
FIFO_DWIDTH integer 32

Ports

Port name Direction Type Description
clk in std_logic
resetn in std_logic
fifo_reset in std_logic
in_stb in std_logic Write port
in_ack out std_logic
in_data in std_logic_vector(FIFO_DWIDTH-1 downto 0)
out_stb out std_logic Read port
out_ack in std_logic
out_data_left out std_logic_vector(FIFO_DWIDTH-1 downto 0)
out_data_right out std_logic_vector(FIFO_DWIDTH-1 downto 0)

Signals

Name Type Description
data_fifo_left MEM
data_fifo_right MEM
wr_addr_s unsigned(FIFO_AWIDTH-1 downto 0)
wr_addr_cnt natural range 0 to FIFO_MAX-1
rd_addr_s unsigned(FIFO_AWIDTH-2 downto 0)
rd_addr_cnt natural range 0 to FIFO_MAX-1
not_full Boolean
not_empty Boolean

Constants

Name Type Value Description
FIFO_MAX natural 2**FIFO_AWIDTH

Types

Name Type Description
MEM

Processes