소스 검색

Make the LED output numbers match the order on the back

H. Peter Anvin 3 년 전
부모
커밋
10bc2b4ed1
9개의 변경된 파일1844개의 추가작업 그리고 1414개의 파일을 삭제
  1. 2 2
      fpga/max80.pins
  2. 3 3
      fpga/max80.sv
  3. 1836 1406
      fpga/output_files/max80.jam
  4. BIN
      fpga/output_files/max80.jbc
  5. BIN
      fpga/output_files/max80.jic
  6. 1 1
      fpga/output_files/max80.map
  7. 2 2
      fpga/output_files/max80.pin
  8. BIN
      fpga/output_files/max80.pof
  9. BIN
      fpga/output_files/max80.sof

+ 2 - 2
fpga/max80.pins

@@ -73,7 +73,7 @@ n6	spi_cs_flash_n
 # k9	N/C
 m11	hdmi_scl
 # l9	N/C
-t13	led[1]
+t13	led[0]
 # m9	N/C
 # r9	VCC
 n9	exth_hb
@@ -90,7 +90,7 @@ p9	gpio[1]
 n12	exth_ha
 n11	exth_hg
 r13	hdmi_sda
-t14	led[3]
+t14	led[1]
 t15	hdmi_hpd
 m10	sd_dat[1]
 # p11	N/C

+ 3 - 3
fpga/max80.sv

@@ -99,8 +99,8 @@ module max80 (
 	      input	    rtc_32khz,
 	      input	    rtc_int_n,
 
-	      // LED
-	      output [3:1]  led,
+	      // LED (2 = D23/G, 1 = D22/R, 0 = D17/B)
+	      output [2:0]  led,
 
 	      // GPIO pins
 	      inout [5:0]   gpio,
@@ -519,7 +519,7 @@ module max80 (
    wire [15:0] iodev = mem_quad[3] << cpu_mem_addr[9:6];
 
    // LED indication from the CPU
-   reg [3:1]   led_q;
+   reg [2:0]   led_q;
    always @(negedge rst_n or posedge clk)
      if (~rst_n)
        led_q <= 3'b000;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1836 - 1406
fpga/output_files/max80.jam


BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


+ 1 - 1
fpga/output_files/max80.map

@@ -10,7 +10,7 @@ Quad-Serial configuration device dummy clock cycle: 8
 
 Notes:
 
-- Data checksum for this conversion is 0xF77ED65F
+- Data checksum for this conversion is 0xF77B4515
 
 - All the addresses in this file are byte addresses
 

+ 2 - 2
fpga/output_files/max80.pin

@@ -321,7 +321,7 @@ exth_hc                      : T9        : input  : 3.3-V LVTTL       :
 abc_master                   : T10       : output : 3.3-V LVTTL       :         : 4         : Y              
 exth_hf                      : T11       : bidir  : 3.3-V LVTTL       :         : 4         : Y              
 abc_xinpstb_n                : T12       : input  : 3.3-V LVTTL       :         : 4         : Y              
-led[1]                       : T13       : output : 3.3-V LVTTL       :         : 4         : Y              
-led[3]                       : T14       : output : 3.3-V LVTTL       :         : 4         : Y              
+led[0]                       : T13       : output : 3.3-V LVTTL       :         : 4         : Y              
+led[1]                       : T14       : output : 3.3-V LVTTL       :         : 4         : Y              
 hdmi_hpd                     : T15       : bidir  : 3.3-V LVTTL       :         : 4         : Y              
 VCCIO4                       : T16       : power  :                   : 3.3V    : 4         :                

BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.