]> jspc29.x-matter.uni-frankfurt.de Git - TOMcat.git/commitdiff
fixes 2
authorMichael Boehmer <mboehmer@ph.tum.de>
Sat, 25 Jun 2022 22:12:47 +0000 (00:12 +0200)
committerMichael Boehmer <mboehmer@ph.tum.de>
Sat, 25 Jun 2022 22:12:47 +0000 (00:12 +0200)
gbe/tomcat_gbe.vhd

index acdb76451c016bf221179cc7910701291aa804cb..6d1048cbd53c269f528076e39490810df926a08e 100644 (file)
@@ -272,44 +272,44 @@ begin
 -- Outputs
 -------------------------------------------------------------------------------
 --  INTCOM(19 downto 0) <= (others => '0');
-  INTCOM(19)          <= debug(19); --'0';
-  INTCOM(18)          <= debug(18); --'0';
-  INTCOM(17)          <= debug(17); --'0';
-  INTCOM(16)          <= debug(16); --'0';
-  INTCOM(15)          <= debug(15); --'0';
-  INTCOM(14)          <= debug(14); --'0';
-  INTCOM(13)          <= debug(13); --'0';
-  INTCOM(12)          <= debug(12); --'0';
-  INTCOM(11)          <= debug(11); --'0';
-  INTCOM(10)          <= debug(10); --'0';
-  INTCOM(9)           <= debug(9); --'0';
-  INTCOM(8)           <= debug(8); --'0';
-  INTCOM(7)           <= debug(7); --'0';
-  INTCOM(6)           <= debug(6); --'0';
-  INTCOM(5)           <= debug(5); --'0';
-  INTCOM(4)           <= debug(4); --'0';
-  INTCOM(3)           <= debug(3); --'0';
-  INTCOM(2)           <= debug(2); --'0';
-  INTCOM(1)           <= debug(1); --'0';
-  INTCOM(0)           <= debug(0); --'0';
+  INTCOM(19)          <= debug(33); --'0';
+  INTCOM(18)          <= debug(32); --'0';
+  INTCOM(17)          <= debug(31); --'0';
+  INTCOM(16)          <= debug(30); --'0';
+  INTCOM(15)          <= debug(28); --'0';
+  INTCOM(14)          <= debug(27); --'0';
+  INTCOM(13)          <= debug(26); --'0';
+  INTCOM(12)          <= debug(25); --'0';
+  INTCOM(11)          <= debug(24); --'0';
+  INTCOM(10)          <= debug(23); --'0';
+  INTCOM(9)           <= debug(22); --'0';
+  INTCOM(8)           <= debug(21); --'0';
+  INTCOM(7)           <= debug(19); --'0';
+  INTCOM(6)           <= debug(18); --'0';
+  INTCOM(5)           <= debug(17); --'0';
+  INTCOM(4)           <= debug(16); --'0';
+  INTCOM(3)           <= debug(15); --'0';
+  INTCOM(2)           <= debug(14); --'0';
+  INTCOM(1)           <= debug(13); --'0';
+  INTCOM(0)           <= debug(12); --'0';
   
 --  GPIO                <= (others => '0');
   GPIO(15)            <= '0';
   GPIO(14)            <= '0';
-  GPIO(13)            <= debug(33); --'0';
-  GPIO(12)            <= debug(32); --'0';
-  GPIO(11)            <= debug(31); --'0';
-  GPIO(10)            <= debug(30); --'0';
-  GPIO(9)             <= debug(29); --'0';
-  GPIO(8)             <= debug(28); --'0';
-  GPIO(7)             <= debug(27); --'0';
-  GPIO(6)             <= debug(26); --'0';
-  GPIO(5)             <= debug(25); --'0';
-  GPIO(4)             <= debug(24); --'0';
-  GPIO(3)             <= debug(23); --'0';
-  GPIO(2)             <= debug(22); --'0';
-  GPIO(1)             <= debug(21); --'0';
-  GPIO(0)             <= debug(20); --'0';
+  GPIO(13)            <= debug(29); --'0';
+  GPIO(12)            <= debug(20); --'0';
+  GPIO(11)            <= debug(11); --'0';
+  GPIO(10)            <= debug(10); --'0';
+  GPIO(9)             <= debug(9); --'0';
+  GPIO(8)             <= debug(8); --'0';
+  GPIO(7)             <= debug(7); --'0';
+  GPIO(6)             <= debug(6); --'0';
+  GPIO(5)             <= debug(5); --'0';
+  GPIO(4)             <= debug(4); --'0';
+  GPIO(3)             <= debug(3); --'0';
+  GPIO(2)             <= debug(2); --'0';
+  GPIO(1)             <= debug(1); --'0';
+  GPIO(0)             <= debug(0); --'0';
   
   TIMING_TEST         <= reset_via_gbe; --'0';
 
@@ -319,8 +319,8 @@ begin
   LED_SFP_GREEN   <= not '0';
   LED_SFP_RED     <= not '0';
   LED_SFP_YELLOW  <= not '0';
-  LED(3)          <= not '0';
-  LED(2)          <= not '0';
+  LED(3)          <= not debug(9); --'0'; LRR
+  LED(2)          <= not debug(10); --'0'; LTR
   LED(1)          <= not '0';
   LED(0)          <= not '0';