|
|
@ -14,9 +14,11 @@ module top( |
|
|
|
output reg pwr_0v8_en, //41 |
|
|
|
output reg pwr_1v2_en, //42 |
|
|
|
output reg pwr_1v8_en, //43 |
|
|
|
output reg pwr_2v5_en, //44 |
|
|
|
output pwr_2v5_en, //44 |
|
|
|
output reg pwr_3v3_en, //47 |
|
|
|
output reg [3:0] pcierst, //bit0: 48~49~50~53 bit4 active low |
|
|
|
output [3:0] pcierst, //bit0: 48~49~50~53 bit4 active low |
|
|
|
|
|
|
|
|
|
|
|
output reg nvme_rst_n, //54 active low |
|
|
|
output reg ft_por, //94 |
|
|
|
output reg gpio0_a1, //92 |
|
|
@ -219,23 +221,22 @@ always @(posedge clk_1k) begin |
|
|
|
12'd1: pwr_3v3_en <= 1'b1; |
|
|
|
12'd100: begin |
|
|
|
pwr_1v2_en <= 1'b1; |
|
|
|
pwr_2v5_en <= 1'b1; |
|
|
|
//pwr_2v5_en <= 1'b1; |
|
|
|
end |
|
|
|
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; |
|
|
|
end |
|
|
|
12'd290: begin |
|
|
|
ft_por <= 1; |
|
|
|
power_on <= 1; |
|
|
|
end |
|
|
|
|
|
|
|
endcase |
|
|
|
end else begin |
|
|
|
case (mills_count) |
|
|
|
12'd10: begin |
|
|
|
pcierst <= 4'h0; |
|
|
|
nvme_rst_n <= 1'b0; |
|
|
|
ft_por <= 1'b0; |
|
|
|
end |
|
|
@ -243,13 +244,17 @@ always @(posedge clk_1k) begin |
|
|
|
12'd140: pwr_0v8_en <= 1'b0; |
|
|
|
12'd160: begin |
|
|
|
pwr_1v2_en <= 1'b0; |
|
|
|
pwr_2v5_en <= 1'b0; |
|
|
|
// pwr_2v5_en <= 1'b0; |
|
|
|
end |
|
|
|
12'd310: pwr_3v3_en <= 1'b0; |
|
|
|
12'd1000: power_on <= 1'b0; |
|
|
|
|
|
|
|
endcase |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
assign pwr_2v5_en = pwr_1v2_en; |
|
|
|
assign pcierst = {4{nvme_rst_n}}; |
|
|
|
|
|
|
|
endmodule |
|
|
|
|
|
|
|