summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.v14
-rw-r--r--system_fpga.pcf2
2 files changed, 13 insertions, 3 deletions
diff --git a/main.v b/main.v
index 32df956..f238b20 100644
--- a/main.v
+++ b/main.v
@@ -58,7 +58,7 @@ module system_fpga_top
inout i2c_sda,
// Second CPU presence detect
- input wire cpub_present_n,
+ input wire cpub_present_l,
output wire cpub_clk_oea,
output wire cpub_clk_oeb,
@@ -126,6 +126,16 @@ module system_fpga_top
.D_IN_0(flexver_reset_req_l)
);
+ // The CPU presence detect line requires a pullup to 3.3V
+ wire cpub_present_n;
+ SB_IO #(
+ .PIN_TYPE(6'b000001),
+ .PULLUP(1'b1)
+ ) cpub_present_l_io (
+ .PACKAGE_PIN(cpub_present_l),
+ .D_IN_0(cpub_present_n)
+ );
+
// Make NIC activity lights work
// WARNING: Hic Sunt Dracones!
//
@@ -212,7 +222,7 @@ module system_fpga_top
.D_IN_0(i2c_sda_in)
);
- parameter fpga_version = 8'h09;
+ parameter fpga_version = 8'h0a;
parameter vendor_id1 = 8'h52;
parameter vendor_id2 = 8'h43;
parameter vendor_id3 = 8'h53;
diff --git a/system_fpga.pcf b/system_fpga.pcf
index 2bfc070..2beb0f1 100644
--- a/system_fpga.pcf
+++ b/system_fpga.pcf
@@ -78,7 +78,7 @@ set_io i2c_scl 86
set_io i2c_sda 85
# CPU B Presence Detect
-set_io cpub_present_n 4
+set_io cpub_present_l 4
set_io cpub_clk_oea 10
set_io cpub_clk_oeb 9
OpenPOWER on IntegriCloud