- added TX_RAM_SIZE 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@806 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2010-03-21 14:49:51 +00:00
parent 10a5d17015
commit 88bd1e16d9
2 changed files with 22 additions and 4 deletions
+15 -1
View File
@@ -33,6 +33,7 @@ ARCHITECTURE behavior OF tb_emac_jb IS
constant CLK_PERIOD : time := 10 ns;
constant MII_CLK_PERIOD : time := 8 ns;
signal CLK : std_logic := '1';
signal RST : std_logic := '1';
@@ -93,7 +94,8 @@ BEGIN
inst_emac_jb : entity work.emac_jb
GENERIC MAP
(
f_sysclk => 100.0
f_sysclk => 100.0,
TX_RAM_SIZE => 2048
)
PORT MAP
(
@@ -313,6 +315,18 @@ STIMULUS: process
emac_alloc (1536);
emac_write (1536);
emac_alloc (1536);
emac_write (1536);
emac_alloc (1536);
emac_write (1536);
emac_alloc (1536);
emac_write (1536);
emac_alloc (1536);
emac_write (1536);
emac_alloc (64);
emac_write (64);