diff --git a/projects/pzsdr/ccfmc/system_constr.xdc b/projects/pzsdr/ccfmc/system_constr.xdc index ac6233513..8ddea307b 100644 --- a/projects/pzsdr/ccfmc/system_constr.xdc +++ b/projects/pzsdr/ccfmc/system_constr.xdc @@ -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) diff --git a/projects/pzsdr/ccfmc/system_top.v b/projects/pzsdr/ccfmc/system_top.v index a9a748a02..95a24d9a1 100644 --- a/projects/pzsdr/ccfmc/system_top.v +++ b/projects/pzsdr/ccfmc/system_top.v @@ -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;