From 978f41cbe84d4e26ed1ea0f8c2af3f0aa4fdfa57 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 1 Apr 2015 14:11:45 +0200 Subject: [PATCH] util_adc_pack: Add fifo_wr interface Signed-off-by: Lars-Peter Clausen --- library/util_adc_pack/util_adc_pack_ip.tcl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/library/util_adc_pack/util_adc_pack_ip.tcl b/library/util_adc_pack/util_adc_pack_ip.tcl index 6d8de5c1a..953026b88 100644 --- a/library/util_adc_pack/util_adc_pack_ip.tcl +++ b/library/util_adc_pack/util_adc_pack_ip.tcl @@ -28,4 +28,15 @@ for {set i 0} {$i < 8} {incr i} { } } +adi_add_bus "fifo_wr" "master" \ + "analog.com:interface:fifo_wr_rtl:1.0" \ + "analog.com:interface:fifo_wr:1.0" \ + { \ + {"dvalid" "EN"} \ + {"ddata" "DATA"} \ + {"dsync" "SYNC"} \ + } + +adi_add_bus_clock "clk" "fifo_wr" + ipx::save_core [ipx::current_core]