浏览代码

sdram: leave CKE permanently enabled

There is no point in using CKE; just leave it permanently enabled.
H. Peter Anvin 3 年之前
父节点
当前提交
56287b0a05
共有 7 个文件被更改,包括 2891 次插入2904 次删除
  1. 2888 2898
      fpga/output_files/max80.jam
  2. 二进制
      fpga/output_files/max80.jbc
  3. 二进制
      fpga/output_files/max80.jic
  4. 1 1
      fpga/output_files/max80.map
  5. 二进制
      fpga/output_files/max80.pof
  6. 二进制
      fpga/output_files/max80.sof
  7. 2 5
      fpga/sdram.sv

文件差异内容过多而无法显示
+ 2888 - 2898
fpga/output_files/max80.jam


二进制
fpga/output_files/max80.jbc


二进制
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 0xF76A3AFA
+- Data checksum for this conversion is 0xF769F89A
 
 - All the addresses in this file are byte addresses
 

二进制
fpga/output_files/max80.pof


二进制
fpga/output_files/max80.sof


+ 2 - 5
fpga/sdram.sv

@@ -150,6 +150,8 @@ module sdram
    assign	sr_cas_n = dram_cmd[1];
    assign	sr_we_n  = dram_cmd[0];
 
+   assign       sr_cke   = 1'b1;
+
    // SDRAM output clock buffer. The SDRAM output clock is
    // inverted with respect to our internal clock, so that
    // the SDRAM sees the positive clock edge in the middle of
@@ -167,8 +169,6 @@ module sdram
 			);
 
    // SDRAM output signal registers
-   reg			    dram_cke;
-   assign		    sr_cke = dram_cke;
    reg [12:0]		    dram_a;
    assign		    sr_a = dram_a;
    reg [1:0]		    dram_ba;
@@ -247,7 +247,6 @@ module sdram
    always @(posedge clk or negedge rst_n)
      if (~rst_n)
        begin
-	  dram_cke      <= 1'b0;
 	  dram_cmd      <= cmd_desl;
 	  dram_a        <= 13'hxxxx;
 	  dram_ba       <= 2'bxx;
@@ -275,8 +274,6 @@ module sdram
        end
      else
        begin
-	  dram_cke <= 1'b1;	// Always true once out of reset
-
 	  // Default values
 	  // Note: dram_ba are preserved
 	  dram_a        <= 13'hxxxx;

部分文件因为文件数量过多而无法显示