core: Double the dcache and icache sizes
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 3 Jun 2020 01:26:33 +0000 (11:26 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 13 Jun 2020 10:07:56 +0000 (20:07 +1000)
This makes the dcache and icache both be 8kB.  This still only uses
one BRAM per way per cache on the Artix-7, since the BRAMs were only
half-used previously.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
core.vhdl

index 5517959eb4aa9117f56ae8519a6f210bcf571547..4d84b4ac376eafda23c7eacd8ca6405eb62808c4 100644 (file)
--- a/core.vhdl
+++ b/core.vhdl
@@ -195,7 +195,7 @@ begin
         generic map(
             SIM => SIM,
             LINE_SIZE => 64,
-            NUM_LINES => 32,
+            NUM_LINES => 64,
            NUM_WAYS => 2
             )
         port map(
@@ -335,7 +335,7 @@ begin
     dcache_0: entity work.dcache
         generic map(
             LINE_SIZE => 64,
-            NUM_LINES => 32,
+            NUM_LINES => 64,
            NUM_WAYS => 2
             )
         port map (