2016-04-19 08:28:33 +00:00
|
|
|
# ip
|
|
|
|
|
2016-09-15 08:38:16 +00:00
|
|
|
source ../../scripts/adi_env.tcl
|
2016-04-19 08:28:33 +00:00
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip.tcl
|
|
|
|
|
|
|
|
adi_ip_create axi_dacfifo
|
|
|
|
|
|
|
|
adi_ip_files axi_dacfifo [list \
|
2017-07-06 08:47:26 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_g2b.v" \
|
|
|
|
"$ad_hdl_dir/library/common/ad_b2g.v" \
|
2016-04-19 08:28:33 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_mem_asym.v" \
|
2017-08-04 09:19:12 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_mem.v" \
|
2016-04-19 08:28:33 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_axis_inf_rx.v" \
|
2017-04-21 10:23:03 +00:00
|
|
|
"$ad_hdl_dir/library/common/util_dacfifo_bypass.v" \
|
2016-06-22 09:24:54 +00:00
|
|
|
"axi_dacfifo_constr.xdc" \
|
2016-04-19 08:28:33 +00:00
|
|
|
"axi_dacfifo_wr.v" \
|
|
|
|
"axi_dacfifo_rd.v" \
|
2017-08-04 09:19:12 +00:00
|
|
|
"axi_dacfifo_address_buffer.v" \
|
2016-06-22 09:24:54 +00:00
|
|
|
"axi_dacfifo.v"]
|
2016-04-19 08:28:33 +00:00
|
|
|
|
|
|
|
adi_ip_properties_lite axi_dacfifo
|
|
|
|
|
2016-09-27 18:48:23 +00:00
|
|
|
ipx::infer_bus_interface {\
|
|
|
|
axi_awvalid \
|
|
|
|
axi_awid \
|
|
|
|
axi_awburst \
|
|
|
|
axi_awlock \
|
|
|
|
axi_awcache \
|
|
|
|
axi_awprot \
|
|
|
|
axi_awqos \
|
|
|
|
axi_awlen \
|
|
|
|
axi_awsize \
|
|
|
|
axi_awaddr \
|
|
|
|
axi_awready \
|
|
|
|
axi_wvalid \
|
|
|
|
axi_wdata \
|
|
|
|
axi_wstrb \
|
|
|
|
axi_wlast \
|
|
|
|
axi_wready \
|
|
|
|
axi_bvalid \
|
|
|
|
axi_bid \
|
|
|
|
axi_bresp \
|
|
|
|
axi_bready \
|
|
|
|
axi_arvalid \
|
|
|
|
axi_arid \
|
|
|
|
axi_arburst \
|
|
|
|
axi_arlock \
|
|
|
|
axi_arcache \
|
|
|
|
axi_arprot \
|
|
|
|
axi_arqos \
|
|
|
|
axi_arlen \
|
|
|
|
axi_arsize \
|
|
|
|
axi_araddr \
|
|
|
|
axi_arready \
|
|
|
|
axi_rvalid \
|
|
|
|
axi_rid \
|
|
|
|
axi_rresp \
|
|
|
|
axi_rlast \
|
|
|
|
axi_rdata \
|
|
|
|
axi_rready} \
|
|
|
|
xilinx.com:interface:aximm_rtl:1.0 [ipx::current_core]
|
|
|
|
|
|
|
|
ipx::infer_bus_interface axi_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::infer_bus_interface axi_resetn xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]
|
|
|
|
ipx::add_bus_parameter ASSOCIATED_BUSIF [ipx::get_bus_interfaces axi_clk \
|
|
|
|
-of_objects [ipx::current_core]]
|
|
|
|
set_property value axi [ipx::get_bus_parameters ASSOCIATED_BUSIF \
|
|
|
|
-of_objects [ipx::get_bus_interfaces axi_clk \
|
|
|
|
-of_objects [ipx::current_core]]]
|
|
|
|
|
|
|
|
ipx::add_address_space axi [ipx::current_core]
|
|
|
|
set_property master_address_space_ref axi [ipx::get_bus_interfaces axi \
|
|
|
|
-of_objects [ipx::current_core]]
|
|
|
|
set_property range 4294967296 [ipx::get_address_spaces axi \
|
|
|
|
-of_objects [ipx::current_core]]
|
|
|
|
set_property width 512 [ipx::get_address_spaces axi \
|
|
|
|
-of_objects [ipx::current_core]]
|
2016-04-19 08:28:33 +00:00
|
|
|
|
|
|
|
ipx::save_core [ipx::current_core]
|
|
|
|
|