From 82823890789a7c9b9c655447775429258eddf813 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 15 Mar 2009 20:05:51 +0000 Subject: [PATCH] - added cache line sizes to generic 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@385 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/core/mips_bui.vhd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/CPUs/MIPS/src/core/mips_bui.vhd b/lib/CPUs/MIPS/src/core/mips_bui.vhd index dbe2fb7..041e7c6 100644 --- a/lib/CPUs/MIPS/src/core/mips_bui.vhd +++ b/lib/CPUs/MIPS/src/core/mips_bui.vhd @@ -32,7 +32,9 @@ entity biu is Generic ( icache_size : natural := 2048; -- words - dcache_size : natural := 2048 -- words + icache_line : natural := 8; -- words + dcache_size : natural := 2048; -- words + dcache_line : natural := 8 -- words ); Port ( @@ -224,7 +226,7 @@ inst_icache : icache GENERIC MAP ( cache_size => icache_size, -- words - line_size => 8 + line_size => icache_line -- words ) PORT MAP ( @@ -249,7 +251,7 @@ inst_dcache : dcache GENERIC MAP ( cache_size => dcache_size, -- words - line_size => 8 + line_size => dcache_line -- words ) PORT MAP (