Skip to content
Snippets Groups Projects
Unverified Commit 60eeffbe authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

Merge pull request #382 from Xilinx/fix/fclk_override

Build and Fclk fixes for Zynq UltraScale+
parents df872f7c 51983a19
No related branches found
No related tags found
No related merge requests found
...@@ -332,12 +332,13 @@ class CreateStitchedIP(Transformation): ...@@ -332,12 +332,13 @@ class CreateStitchedIP(Transformation):
) )
tcl.append("set_property core_revision 2 [ipx::find_open_core %s]" % block_vlnv) tcl.append("set_property core_revision 2 [ipx::find_open_core %s]" % block_vlnv)
tcl.append("ipx::create_xgui_files [ipx::find_open_core %s]" % block_vlnv) tcl.append("ipx::create_xgui_files [ipx::find_open_core %s]" % block_vlnv)
# mark bus interface params as user-resolvable to avoid FREQ_MHZ mismatches
tcl.append(
"set_property value_resolve_type user [ipx::get_bus_parameters "
"-of [ipx::get_bus_interfaces -of [ipx::current_core ]]]"
)
# if targeting Vitis, add some properties to the IP # if targeting Vitis, add some properties to the IP
if self.vitis: if self.vitis:
tcl.append(
"set_property value_resolve_type user [ipx::get_bus_parameters "
"-of [ipx::get_bus_interfaces -of [ipx::current_core ]]]"
)
# replace source code with dcp # replace source code with dcp
tcl.append( tcl.append(
"set_property sdx_kernel true [ipx::find_open_core %s]" % block_vlnv "set_property sdx_kernel true [ipx::find_open_core %s]" % block_vlnv
......
...@@ -134,6 +134,7 @@ if {$ZYNQ_TYPE == "zynq_us+"} { ...@@ -134,6 +134,7 @@ if {$ZYNQ_TYPE == "zynq_us+"} {
set_property -dict [list CONFIG.PSU__USE__S_AXI_GP2 {1}] [get_bd_cells zynq_ps] set_property -dict [list CONFIG.PSU__USE__S_AXI_GP2 {1}] [get_bd_cells zynq_ps]
set_property -dict [list CONFIG.PSU__USE__M_AXI_GP1 {0}] [get_bd_cells zynq_ps] set_property -dict [list CONFIG.PSU__USE__M_AXI_GP1 {0}] [get_bd_cells zynq_ps]
#set frequency of PS clock (this can't always be exactly met) #set frequency of PS clock (this can't always be exactly met)
set_property -dict [list CONFIG.PSU__OVERRIDE__BASIC_CLOCK {0}] [get_bd_cells zynq_ps]
set_property -dict [list CONFIG.PSU__CRL_APB__PL0_REF_CTRL__FREQMHZ [expr int($FREQ_MHZ)]] [get_bd_cells zynq_ps] set_property -dict [list CONFIG.PSU__CRL_APB__PL0_REF_CTRL__FREQMHZ [expr int($FREQ_MHZ)]] [get_bd_cells zynq_ps]
} elseif {$ZYNQ_TYPE == "zynq_7000"} { } elseif {$ZYNQ_TYPE == "zynq_7000"} {
create_bd_cell -type ip -vlnv xilinx.com:ip:processing_system7:5.5 zynq_ps create_bd_cell -type ip -vlnv xilinx.com:ip:processing_system7:5.5 zynq_ps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment