summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-16 17:06:10 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-01-16 17:06:10 -0600
commitdc6cbffa57e1d6a55586dd9398eb19757378d5a4 (patch)
tree153f7afba6684f854f9272d3820bc5aa6838f229
parent8888adbb728d3c37568663318365ce96bee6d6d7 (diff)
downloadtalos-system-fpga-dc6cbffa57e1d6a55586dd9398eb19757378d5a4.tar.gz
talos-system-fpga-dc6cbffa57e1d6a55586dd9398eb19757378d5a4.zip
Use open drain output on CPU standby reset line
-rw-r--r--main.v17
1 files changed, 15 insertions, 2 deletions
diff --git a/main.v b/main.v
index 2dac37e..dac9e2e 100644
--- a/main.v
+++ b/main.v
@@ -69,7 +69,7 @@ module system_fpga_top
output reg bmc_rst,
output reg fan_rst,
output reg usbhub_rst,
- output reg cpu_stby_rst,
+ inout cpu_stby_rst,
// Reserved for future use
output reg dual_5v_ctrl,
@@ -102,6 +102,19 @@ module system_fpga_top
input wire flexver_reset_in_l
);
+ // CPU standby reset is on 1.1V domain, but FPGA I/Os are on 3.3V domain
+ // Use open-drain reset signal
+ reg cpu_stby_rst_assert = 1'b1;
+
+ SB_IO #(
+ .PIN_TYPE(6'b101001),
+ .PULLUP(1'b0)
+ ) cpu_stby_rst_io (
+ .PACKAGE_PIN(cpu_stby_rst),
+ .OUTPUT_ENABLE(cpu_stby_rst_assert),
+ .D_OUT_0(1'b0)
+ );
+
// I2C pin control lines
wire i2c_scl_in;
wire i2c_scl_out;
@@ -673,7 +686,7 @@ module system_fpga_top
// CPU Reset
always @(posedge clk_in) begin
- cpu_stby_rst = en_buf[0];
+ cpu_stby_rst_assert = ~en_buf[0];
end
// BMC RESETs
OpenPOWER on IntegriCloud