Browse Source

update ft2004_top.v

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 4 years ago
parent
commit
84348e209a
  1. 1
      .gitignore
  2. 5
      src/ft2004_top.v

1
.gitignore

@ -1 +1,2 @@
*.log
*.jed

5
src/ft2004_top.v

@ -194,6 +194,8 @@ always @(posedge clk_1k) begin
end
// enable various votage groups.
// if `time_en == 1'b0, msclk_count always equal to `0`
// so power pins will stable.
always @(posedge clk_1k) begin
if (!power_on) begin
case(msclk_count)
@ -213,7 +215,7 @@ always @(posedge clk_1k) begin
power_on <= 1;
end
endcase
end else if (power_on == 1) begin
end else begin
case (msclk_count)
16'd10: begin
pcierst <= 4'h0;
@ -229,7 +231,6 @@ always @(posedge clk_1k) begin
16'd310: pwr_3v3_en <= 1'b0;
16'd1000: power_on <= 1'b0;
endcase
end else begin
end
end

Loading…
Cancel
Save