library/axi_clkgen: Fix second clock output
A typo prevents the usage of second clock output.main
parent
8db77d8f3a
commit
9180d4dd39
|
@ -137,7 +137,7 @@ proc propagate {cellpath otherinfo} {
|
||||||
set_property CONFIG.FREQ_HZ $clk0_out_freq $clk0_out
|
set_property CONFIG.FREQ_HZ $clk0_out_freq $clk0_out
|
||||||
|
|
||||||
if {[get_property "CONFIG.ENABLE_CLKOUT1" $ip] == "true"} {
|
if {[get_property "CONFIG.ENABLE_CLKOUT1" $ip] == "true"} {
|
||||||
set clk0_out [get_bd_pins "$ip/clk_1"]
|
set clk1_out [get_bd_pins "$ip/clk_1"]
|
||||||
set clk1_out_freq [expr ($clk_freq + 0.0) * $vco_mul / ($vco_div * $clk1_div)]
|
set clk1_out_freq [expr ($clk_freq + 0.0) * $vco_mul / ($vco_div * $clk1_div)]
|
||||||
set_property CONFIG.FREQ_HZ $clk1_out_freq $clk1_out
|
set_property CONFIG.FREQ_HZ $clk1_out_freq $clk1_out
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue