mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 05:24:49 +00:00
Created tcl scripts to build 2 of the 4 xilinx IP.
This commit is contained in:
parent
8e4eacc18e
commit
9a0bf54840
20
fpga/generator/ahblite_axi_bridge.tcl
Normal file
20
fpga/generator/ahblite_axi_bridge.tcl
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
#set partNumber $::env(XILINX_PART)
|
||||||
|
#set boardNmae $::env(XILINX_BOARD)
|
||||||
|
set partNumber xcvu9p-flga2104-2L-e
|
||||||
|
set boardName xilinx.com:vcu118:part0:2.4
|
||||||
|
|
||||||
|
set ipName xlnx_ahblite_axi_bridge
|
||||||
|
|
||||||
|
create_project $ipName . -force -part $partNumber
|
||||||
|
set_property board_part $boardName [current_project]
|
||||||
|
|
||||||
|
# really just these two lines which change
|
||||||
|
create_ip -name ahblite_axi_bridge -vendor xilinx.com -library ip -module_name $ipName
|
||||||
|
set_property -dict [list CONFIG.C_M_AXI_DATA_WIDTH {64} CONFIG.C_S_AHB_DATA_WIDTH {64} CONFIG.C_M_AXI_THREAD_ID_WIDTH {4}] [get_ips $ipName]
|
||||||
|
|
||||||
|
generate_target {instantiation_template} [get_files ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
generate_target all [get_files ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
create_ip_run [get_files -of_objects [get_fileset sources_1] ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
launch_run -jobs 8 ${ipName}_synth_1
|
||||||
|
wait_on_run ${ipName}_synth_1
|
20
fpga/generator/axi_clock_converter.tcl
Normal file
20
fpga/generator/axi_clock_converter.tcl
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
#set partNumber $::env(XILINX_PART)
|
||||||
|
#set boardNmae $::env(XILINX_BOARD)
|
||||||
|
set partNumber xcvu9p-flga2104-2L-e
|
||||||
|
set boardName xilinx.com:vcu118:part0:2.4
|
||||||
|
|
||||||
|
set ipName xlnx_axi_clock_converter
|
||||||
|
|
||||||
|
create_project $ipName . -force -part $partNumber
|
||||||
|
set_property board_part $boardName [current_project]
|
||||||
|
|
||||||
|
create_ip -name axi_clock_converter -vendor xilinx.com -library ip -module_name $ipName
|
||||||
|
|
||||||
|
set_property -dict [list CONFIG.ACLK_ASYNC {1} CONFIG.PROTOCOL {AXI4} CONFIG.ADDR_WIDTH {31} CONFIG.DATA_WIDTH {64} CONFIG.ID_WIDTH {4}] [get_ips $ipName]
|
||||||
|
|
||||||
|
generate_target {instantiation_template} [get_files ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
generate_target all [get_files ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
create_ip_run [get_files -of_objects [get_fileset sources_1] ./$ipName.srcs/sources_1/ip/$ipName/$ipName.xci]
|
||||||
|
launch_run -jobs 8 ${ipName}_synth_1
|
||||||
|
wait_on_run ${ipName}_synth_1
|
Loading…
Reference in New Issue
Block a user