pzsdr/ccfmc: add fan controls

main
Rejeesh Kutty 2016-02-19 16:40:54 -05:00
parent 377461e0d4
commit 4fb6589b2d
2 changed files with 11 additions and 0 deletions

View File

@ -88,6 +88,10 @@ set_property IODELAY_GROUP gmii2rgmii_iodelay_group\
[get_cells -hier -filter {name =~ *delay_rgmii_rxd*}] \
[get_cells -hier -filter {name =~ *delay_rgmii_rx_ctl}]
# fan control/sense
set_property -dict {PACKAGE_PIN B7 IOSTANDARD LVCMOS18} [get_ports fan_pwm] ; ## IO_L18P_T2_34
set_property -dict {PACKAGE_PIN A7 IOSTANDARD LVCMOS18} [get_ports fan_tach] ; ## IO_L18N_T2_34
# unused io (gpio/gt)

View File

@ -93,6 +93,9 @@ module system_top (
gpio_bd,
fan_pwm,
fan_tach,
clk_0_p,
clk_0_n,
clk_1_p,
@ -215,6 +218,9 @@ module system_top (
inout [11:0] gpio_bd;
output fan_pwm;
input fan_tach;
input clk_0_p;
input clk_0_n;
input clk_1_p;
@ -304,6 +310,7 @@ module system_top (
// assignments
assign fan_pwm = 1'b1;
assign hdmi_pd = 1'b0;
assign spi_csn = spi_csn_s[0];
assign spi_clk = spi_clk_s;