- made ram sizable
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@979 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
+8
-1
@@ -2,7 +2,14 @@ LIBRARY IEEE;
|
||||
USE IEEE.STD_LOGIC_1164.ALL;
|
||||
USE IEEE.NUMERIC_STD.ALL;
|
||||
|
||||
library work;
|
||||
use work.utils_pkg.all;
|
||||
|
||||
ENTITY ram_wb IS
|
||||
GENERIC
|
||||
(
|
||||
NUM_WORDS : integer := 64
|
||||
);
|
||||
Port
|
||||
(
|
||||
CLK_I : in STD_LOGIC;
|
||||
@@ -63,7 +70,7 @@ data_valid_register:
|
||||
inst_ram : ram
|
||||
GENERIC MAP
|
||||
(
|
||||
word_addr_width => 6
|
||||
word_addr_width => NextExpBaseTwo(NUM_WORDS)
|
||||
)
|
||||
PORT MAP
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user