소스 검색

max80: change esp_ctr debug signal to 4 Hz

H. Peter Anvin 3 년 전
부모
커밋
b5e39487bd
5개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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