- 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
This commit is contained in:
@@ -32,7 +32,9 @@ entity biu is
|
|||||||
Generic
|
Generic
|
||||||
(
|
(
|
||||||
icache_size : natural := 2048; -- words
|
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
|
Port
|
||||||
(
|
(
|
||||||
@@ -224,7 +226,7 @@ inst_icache : icache
|
|||||||
GENERIC MAP
|
GENERIC MAP
|
||||||
(
|
(
|
||||||
cache_size => icache_size, -- words
|
cache_size => icache_size, -- words
|
||||||
line_size => 8
|
line_size => icache_line -- words
|
||||||
)
|
)
|
||||||
PORT MAP
|
PORT MAP
|
||||||
(
|
(
|
||||||
@@ -249,7 +251,7 @@ inst_dcache : dcache
|
|||||||
GENERIC MAP
|
GENERIC MAP
|
||||||
(
|
(
|
||||||
cache_size => dcache_size, -- words
|
cache_size => dcache_size, -- words
|
||||||
line_size => 8
|
line_size => dcache_line -- words
|
||||||
)
|
)
|
||||||
PORT MAP
|
PORT MAP
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user