Browse Source

Make the LED output numbers match the order on the back

H. Peter Anvin 3 years ago
parent
commit
10bc2b4ed1

+ 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;

File diff suppressed because it is too large
+ 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


Some files were not shown because too many files changed in this diff