Entity: main_bram

Diagram

natural WIDTH natural HEIGHT_BITS natural MEMORY_SIZE string RAM_INIT_FILE std_logic clk std_logic_vector(HEIGHT_BITS - 1 downto 0) addr std_logic_vector(WIDTH-1 downto 0) din std_logic_vector((WIDTH/8)-1 downto 0) sel std_ulogic re std_ulogic we std_logic_vector(WIDTH-1 downto 0) dout

Description

Single port Block RAM with one cycle output buffer

Generics

Generic name Type Value Description
WIDTH natural 64
HEIGHT_BITS natural 1024
MEMORY_SIZE natural 65536
RAM_INIT_FILE string

Ports

Port name Direction Type Description
clk in std_logic
addr in std_logic_vector(HEIGHT_BITS - 1 downto 0)
din in std_logic_vector(WIDTH-1 downto 0)
dout out std_logic_vector(WIDTH-1 downto 0)
sel in std_logic_vector((WIDTH/8)-1 downto 0)
re in std_ulogic
we in std_ulogic

Signals

Name Type Description
memory ram_t RAM instance
obuf std_logic_vector(WIDTH-1 downto 0) Others

Constants

Name Type Value Description
WIDTH_BYTES natural WIDTH / 8

Types

Name Type Description
ram_t RAM type definition

Functions

Processes