|
|
@ -152,7 +152,7 @@ end |
|
|
|
|
|
|
|
// reset key detection |
|
|
|
wire rst_key; |
|
|
|
key_delay #(.debound(50)) reset_key( |
|
|
|
key_delay #(.debound(10'd50)) reset_key( |
|
|
|
.keypin(por_rst & sys_rst_in), |
|
|
|
.clk_1K(clk_1k), |
|
|
|
.keyout(rst_key)); // reset key pressed, output 1, otherwise output 0. |
|
|
@ -216,13 +216,13 @@ always @(posedge clk_33m) |
|
|
|
always @(posedge clk_1k) begin |
|
|
|
if (!power_on) begin |
|
|
|
case(mills_count) |
|
|
|
12'd1: pwr_3v3_en <= 1; |
|
|
|
12'd1: pwr_3v3_en <= 1'b1; |
|
|
|
12'd100: begin |
|
|
|
pwr_1v2_en <= 1; |
|
|
|
pwr_2v5_en <= 1; |
|
|
|
pwr_1v2_en <= 1'b1; |
|
|
|
pwr_2v5_en <= 1'b1; |
|
|
|
end |
|
|
|
12'd130: pwr_0v8_en <= 1; |
|
|
|
12'd160: pwr_1v8_en <= 1; |
|
|
|
12'd130: pwr_0v8_en <= 1'b1; |
|
|
|
12'd160: pwr_1v8_en <= 1'b1; |
|
|
|
12'd270: begin |
|
|
|
pcierst <= 4'hf; |
|
|
|
nvme_rst_n <= 1'b1; |
|
|
|