Make block ram entity generic over width and depth
This commit is contained in:
@ -58,7 +58,10 @@ begin
|
||||
|
||||
read_address <= x(9 downto 3) & y(8 downto 3);
|
||||
|
||||
terminal_buffer: entity work.terminal_buffer port map (
|
||||
terminal_buffer: entity work.ram_2port generic map (
|
||||
WIDTH_BITS => 8,
|
||||
DEPTH_BITS => 13
|
||||
) port map (
|
||||
clk => clk,
|
||||
ra => read_address,
|
||||
do => current_char,
|
||||
|
Reference in New Issue
Block a user