- using bui-generics for cache sizes

git-svn-id: http://moon:8086/svn/vhdl/trunk@116 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-10-25 17:16:21 +00:00
parent 8e41790680
commit 5120448104
+10
View File
@@ -89,6 +89,11 @@ architecture rtl of mips_top is
COMPONENT bui COMPONENT bui
GENERIC
(
icache_size : natural;
dcache_size : natural
);
PORT PORT
( (
RST_I : in STD_LOGIC; RST_I : in STD_LOGIC;
@@ -148,6 +153,11 @@ inst_pipeline: pipeline
); );
inst_bui: bui inst_bui: bui
GENERIC MAP
(
icache_size => 4096, -- words
dcache_size => 4096 -- words
)
PORT MAP PORT MAP
( (
RST_I => RST_I, RST_I => RST_I,