summaryrefslogtreecommitdiffstats
path: root/main.v
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 /main.v
parentdedf50ebd534d88af5cf2c44f1d076e6f1de6ce4 (diff)
downloadblackbird-system-fpga-7a5d72ff8019160492dfb9d71a1f04a4bd1a14fc.tar.gz
blackbird-system-fpga-7a5d72ff8019160492dfb9d71a1f04a4bd1a14fc.zip
Wire second debug jumper as VGA disable, and expose value to host
Bump revision number reported to 0x07
Diffstat (limited to 'main.v')
-rw-r--r--main.v8
1 files changed, 3 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];
OpenPOWER on IntegriCloud