From 22169c4a9c673a95a774120cfb584688e440ca18 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 30 Sep 2014 10:49:51 +0200 Subject: [PATCH] axi_dmac: Add default driver values for optional input ports This silences warnings from the tools about undriven ports. Signed-off-by: Lars-Peter Clausen --- library/axi_dmac/axi_dmac_ip.tcl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/library/axi_dmac/axi_dmac_ip.tcl b/library/axi_dmac/axi_dmac_ip.tcl index 4c722af5c..cf5b6ad18 100644 --- a/library/axi_dmac/axi_dmac_ip.tcl +++ b/library/axi_dmac/axi_dmac_ip.tcl @@ -88,4 +88,13 @@ set_property ENABLEMENT_DEPENDENCY \ "(spirit:decode(id('MODELPARAM_VALUE.C_DMA_TYPE_SRC')) = 2 and spirit:decode(id('MODELPARAM_VALUE.C_SYNC_TRANSFER_START')) = 1)" \ [ipx::get_ports "fifo_wr_sync"] +foreach port {"m_dest_axi_aresetn" "m_src_axi_aresetn" "s_axis_valid" \ + "s_axis_data" "m_axis_ready" "fifo_wr_en" "fifo_wr_din" "fifo_rd_en"} { + set_property DRIVER_VALUE "0" [ipx::get_ports $port] +} + +foreach port {"s_axis_user" "fifo_wr_sync"} { + set_property DRIVER_VALUE "1" [ipx::get_ports $port] +} + ipx::save_core [ipx::current_core]