- 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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user