Minor changes

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@813 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2010-03-23 11:39:43 +00:00
parent 737df176f1
commit 4057a7ba43
+4 -2
View File
@@ -68,7 +68,7 @@ ARCHITECTURE behavior OF tb_emac_top_jb IS
signal loop_back_en : std_logic := '0';
type emac_action_t is (emac_idle, emac_alloc, emac_write, emac_read, emac_free);
type emac_action_t is (emac_idle, emac_alloc, emac_wait_alloc, emac_write, emac_wait_data, emac_read, emac_free);
signal emac_action : emac_action_t;
BEGIN
@@ -173,6 +173,7 @@ STIMULUS: process
WE_I <= '0';
-- check alloc busy
emac_action <= emac_wait_alloc;
check_bsy:
while (true) loop
CYC_I <= '1';
@@ -233,7 +234,7 @@ STIMULUS: process
variable size, num_words : natural;
begin
emac_action <= emac_read;
emac_action <= emac_wait_data;
-- check if data available
check_data_avail:
@@ -264,6 +265,7 @@ STIMULUS: process
wait until rising_edge(CLK);
emac_action <= emac_read;
-- Read RX data
size := size_in;
if (size_in = 0) then