From a683e585972582dd32d8ab0b158ab3bb51cdda8c Mon Sep 17 00:00:00 2001 From: Andreas Olofsson Date: Fri, 6 Nov 2015 20:45:38 -0500 Subject: [PATCH] Associating clock with bus interface - This should be moved to the block , block specific... --- common/fpga/create_ip.tcl | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/common/fpga/create_ip.tcl b/common/fpga/create_ip.tcl index c324701..2d2ccd4 100644 --- a/common/fpga/create_ip.tcl +++ b/common/fpga/create_ip.tcl @@ -55,13 +55,24 @@ foreach file $ip_files { # Package ########################################################### -::ipx::package_project -import_files -force -root_dir $projdir -::set_property vendor {www.parallella.org} [ipx::current_core] -::set_property library {user} [ipx::current_core] -::set_property taxonomy {{/AXI_Infrastructure}} [ipx::current_core] -::set_property vendor_display_name {ADAPTEVA} [ipx::current_core] -::set_property company_url {www.parallella.org} [ipx::current_core] -::set_property supported_families { \ +ipx::package_project -import_files -force -root_dir $projdir +ipx::remove_memory_map {s_axi} [ipx::current_core] +ipx::add_memory_map {s_axi} [ipx::current_core] +ipx::associate_bus_interfaces -busif s_axi -clock sys_clk [ipx::current_core] +ipx::associate_bus_interfaces -busif m_axi -clock sys_clk [ipx::current_core] + +set_property slave_memory_map_ref {s_axi} [ipx::get_bus_interface s_axi [ipx::current_core]] + +ipx::add_address_block {axi_lite} [ipx::get_memory_map s_axi [ipx::current_core]] +set_property range {65536} [ipx::get_address_block axi_lite \ + [ipx::get_memory_map s_axi [ipx::current_core]]] + +set_property vendor {www.parallella.org} [ipx::current_core] +set_property library {user} [ipx::current_core] +set_property taxonomy {{/AXI_Infrastructure}} [ipx::current_core] +set_property vendor_display_name {ADAPTEVA} [ipx::current_core] +set_property company_url {www.parallella.org} [ipx::current_core] +set_property supported_families { \ {virtex7} {Production} \ {qvirtex7} {Production} \ {kintex7} {Production} \