summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-04-14 19:18:01 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-04-14 19:18:01 -0500
commit7a5d72ff8019160492dfb9d71a1f04a4bd1a14fc (patch)
tree57c791ea9e2817e0137f72744a5ea1afe1931c79
parentdedf50ebd534d88af5cf2c44f1d076e6f1de6ce4 (diff)
downloadtalos-system-fpga-7a5d72ff8019160492dfb9d71a1f04a4bd1a14fc.tar.gz
talos-system-fpga-7a5d72ff8019160492dfb9d71a1f04a4bd1a14fc.zip
Wire second debug jumper as VGA disable, and expose value to hostv1.04
Bump revision number reported to 0x07
-rw-r--r--main.v8
-rw-r--r--system_fpga.pcf1
2 files changed, 4 insertions, 5 deletions
diff --git a/main.v b/main.v
index 7af9b66..0b6961e 100644
--- a/main.v
+++ b/main.v
@@ -80,6 +80,7 @@ module system_fpga_top
// Component disable lines
output reg pmc_disable_n,
+ input wire ast_vga_disable_n,
// System status lines
inout nic1_act_led_n,
@@ -211,8 +212,7 @@ module system_fpga_top
.D_IN_0(i2c_sda_in)
);
- // TODO update version
- parameter fpga_version = 8'b00000110;
+ parameter fpga_version = 8'b00000111;
parameter vendor_id1 = 8'h52;
parameter vendor_id2 = 8'h43;
parameter vendor_id3 = 8'h53;
@@ -320,8 +320,6 @@ module system_fpga_top
end
assign clk_in_lpc = lpc_clock_divider[2];
- reg clock_select = 1'b1;
-
assign clk_in = (clock_select)?clk_in_ring:clk_in_lpc;
// I2C device
@@ -534,7 +532,7 @@ module system_fpga_top
i2c_data_to_master <= i2c_pg_reg[7:0];
end
i2c_status_reg_addr: begin
- i2c_data_to_master <= {2'b00, ~cpub_present_n, wait_err, operation_err, err_found, sysen_buf, sysgood_buf};
+ i2c_data_to_master <= {1'b0, ~ast_vga_disable_n, ~cpub_present_n, wait_err, operation_err, err_found, sysen_buf, sysgood_buf};
end
i2c_pwr_en_stat_reg_addr1: begin
i2c_data_to_master <= en_buf[7:0];
diff --git a/system_fpga.pcf b/system_fpga.pcf
index 7c33711..f3cba75 100644
--- a/system_fpga.pcf
+++ b/system_fpga.pcf
@@ -100,6 +100,7 @@ set_io bmc_system_reset_request_n 12
# Component disable lines
set_io pmc_disable_n 21
+set_io ast_vga_disable_n 16
# System status lines
set_io nic1_act_led_n 93
OpenPOWER on IntegriCloud