Bladeren bron

max80: change esp_ctr debug signal to 4 Hz

H. Peter Anvin 3 jaren geleden
bovenliggende
commit
b5e39487bd
5 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      fpga/max80.sv
  2. BIN
      fpga/output_files/max80.jbc
  3. BIN
      fpga/output_files/max80.jic
  4. BIN
      fpga/output_files/max80.pof
  5. BIN
      fpga/output_files/max80.sof

+ 1 - 1
fpga/max80.sv

@@ -834,7 +834,7 @@ module max80 (
 	.irq	( iodev_irq_esp )
 	);
 `else // !`ifdef REALLY_ESP32
-   reg [5:0] esp_ctr;
+   reg [5:-13] esp_ctr;		// 32768 * 2^-13 = 4 Hz
 
    always @(posedge ctr_32khz)
      esp_ctr <= esp_ctr + 1'b1;

BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof