From 51204481045fed50d09f106ca1d22d9200769318 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 25 Oct 2008 17:16:21 +0000 Subject: [PATCH] - using bui-generics for cache sizes git-svn-id: http://moon:8086/svn/vhdl/trunk@116 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/core/mips_top.vhd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/CPUs/MIPS/src/core/mips_top.vhd b/lib/CPUs/MIPS/src/core/mips_top.vhd index 05959dd..3fa6408 100644 --- a/lib/CPUs/MIPS/src/core/mips_top.vhd +++ b/lib/CPUs/MIPS/src/core/mips_top.vhd @@ -89,6 +89,11 @@ architecture rtl of mips_top is COMPONENT bui + GENERIC + ( + icache_size : natural; + dcache_size : natural + ); PORT ( RST_I : in STD_LOGIC; @@ -148,6 +153,11 @@ inst_pipeline: pipeline ); inst_bui: bui + GENERIC MAP + ( + icache_size => 4096, -- words + dcache_size => 4096 -- words + ) PORT MAP ( RST_I => RST_I,