]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Wed, 27 May 2009 12:38:10 +0000 (12:38 +0000)
committerhadeshyp <hadeshyp>
Wed, 27 May 2009 12:38:10 +0000 (12:38 +0000)
trb_net16_hub_base.vhd
trb_net16_hub_ipu_logic.vhd

index 657b93414320790a64f5d4cb70e1d417f9c5e52b..c18c0a2bf563d9ffea8e65b5d44225ea6877f9c8 100644 (file)
@@ -756,13 +756,14 @@ HUB_MED_CONNECTED(31 downto MII_NUMBER) <= (others => '1');
 
 
   --debug Status and Control ports
-  buf_STAT_DEBUG(2 downto 0) <= buf_MED_PACKET_NUM_OUT(2 downto 0);
-  buf_STAT_DEBUG(3) <= buf_MED_DATAREADY_OUT(0);
-  buf_STAT_DEBUG(7 downto 4) <= buf_MED_DATA_OUT(3 downto 0);
-  buf_STAT_DEBUG(10 downto 8) <= MED_PACKET_NUM_IN(5 downto 3);
-  buf_STAT_DEBUG(11) <= MED_DATAREADY_IN(1);
-  buf_STAT_DEBUG(12)           <= m_DATAREADY_OUT(0);
-  buf_STAT_DEBUG(15 downto 13) <= m_PACKET_NUM_OUT(2 downto 0);
+  buf_STAT_DEBUG(15 downto 0) <= HUBLOGIC_IPU_STAT_DEBUG(15 downto 0);
+--   buf_STAT_DEBUG(2 downto 0) <= buf_MED_PACKET_NUM_OUT(2 downto 0);
+--   buf_STAT_DEBUG(3) <= buf_MED_DATAREADY_OUT(0);
+--   buf_STAT_DEBUG(7 downto 4) <= buf_MED_DATA_OUT(3 downto 0);
+--   buf_STAT_DEBUG(10 downto 8) <= MED_PACKET_NUM_IN(5 downto 3);
+--   buf_STAT_DEBUG(11) <= MED_DATAREADY_IN(1);
+--   buf_STAT_DEBUG(12)           <= m_DATAREADY_OUT(0);
+--   buf_STAT_DEBUG(15 downto 13) <= m_PACKET_NUM_OUT(2 downto 0);
 
 --   buf_STAT_DEBUG(17 downto 16) <= hub_to_buf_INIT_DATAREADY(1 downto 0);
 --   buf_STAT_DEBUG(20 downto 18) <= hub_to_buf_INIT_PACKET_NUM(2 downto 0);
index 0569142acabb1752615e420fa8aa929ee8b14f4e..fd01050809e60d6a0cc433b49de545c6f4a04656 100644 (file)
@@ -696,7 +696,7 @@ begin
         if RESET = '1' or locked = '0' then
           got_all_DHDR <= '0';
         else
-          got_all_DHDR <= or_all(waiting_for_DHDR_word);
+          got_all_DHDR <= not or_all(waiting_for_DHDR_word);
         end if;
       end if;
     end process;
@@ -827,7 +827,6 @@ reply_compare_finished <= reply_compare_start;
           next_waiting_for_DHDR_word <= not (locking_point or not real_activepoints);
           reply_arbiter_enable <= '0';
           next_current_waiting_for_reply <= not (locking_point or not real_activepoints);
-          next_waiting_for_DHDR_word <= not (locking_point or not real_activepoints);
           if locked = '1' then
             next_state <= WAIT_FOR_REPLY; --WAIT_FOR_HDR_DATA;
           end if;
@@ -1078,10 +1077,11 @@ reply_compare_finished <= reply_compare_start;
 
   STAT_DEBUG(6) <= REPLY_DATA_IN(14);
   STAT_DEBUG(7) <= REPLY_DATA_IN(30);
-  STAT_DEBUG(8) <= '0'; --REPLY_DATA_IN(46);
+  STAT_DEBUG(8) <= got_all_DHDR; --REPLY_DATA_IN(46);
   STAT_DEBUG(9) <= locked;
   STAT_DEBUG(13 downto 10) <= reply_fsm_state(3 downto 0);
-  STAT_DEBUG(31 downto 14) <= (others => '0');
+  STAT_DEBUG(14) <= REPLY_POOL_next_read;
+  STAT_DEBUG(31 downto 15) <= (others => '0');
   --STAT(15 downto 8) <= data_counter;
   STAT_POINTS_locked(POINT_NUMBER-1 downto 0) <= not got_trm;
   STAT_POINTS_locked(31 downto POINT_NUMBER)  <= (others => '0');