pzsdr/ccfmc: add fan controls
parent
377461e0d4
commit
4fb6589b2d
|
@ -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_rxd*}] \
|
||||||
[get_cells -hier -filter {name =~ *delay_rgmii_rx_ctl}]
|
[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)
|
# unused io (gpio/gt)
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,9 @@ module system_top (
|
||||||
|
|
||||||
gpio_bd,
|
gpio_bd,
|
||||||
|
|
||||||
|
fan_pwm,
|
||||||
|
fan_tach,
|
||||||
|
|
||||||
clk_0_p,
|
clk_0_p,
|
||||||
clk_0_n,
|
clk_0_n,
|
||||||
clk_1_p,
|
clk_1_p,
|
||||||
|
@ -215,6 +218,9 @@ module system_top (
|
||||||
|
|
||||||
inout [11:0] gpio_bd;
|
inout [11:0] gpio_bd;
|
||||||
|
|
||||||
|
output fan_pwm;
|
||||||
|
input fan_tach;
|
||||||
|
|
||||||
input clk_0_p;
|
input clk_0_p;
|
||||||
input clk_0_n;
|
input clk_0_n;
|
||||||
input clk_1_p;
|
input clk_1_p;
|
||||||
|
@ -304,6 +310,7 @@ module system_top (
|
||||||
|
|
||||||
// assignments
|
// assignments
|
||||||
|
|
||||||
|
assign fan_pwm = 1'b1;
|
||||||
assign hdmi_pd = 1'b0;
|
assign hdmi_pd = 1'b0;
|
||||||
assign spi_csn = spi_csn_s[0];
|
assign spi_csn = spi_csn_s[0];
|
||||||
assign spi_clk = spi_clk_s;
|
assign spi_clk = spi_clk_s;
|
||||||
|
|
Loading…
Reference in New Issue