Make block ram entity generic over width and depth

This commit is contained in:
2018-04-25 22:55:39 +02:00
parent 20aa3137a8
commit 7cf0aa33c0
3 changed files with 21 additions and 13 deletions

View File

@ -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,