pluto_hdl_adi/projects/common/xilinx/dacfifo_bd.tcl

13 lines
504 B
Tcl
Raw Normal View History

# sys bram (use only when dma is not capable of keeping up).
# generic fifo interface - existence is oblivious to software.
2017-02-27 20:53:42 +00:00
if {$dac_data_width != $dac_dma_data_width} {
return -code error [format "ERROR: util_dacfifo dac/dma widths must be the same!"]
}
2016-08-16 16:05:56 +00:00
2017-02-27 20:53:42 +00:00
create_bd_cell -type ip -vlnv analog.com:user:util_dacfifo:1.0 $dac_fifo_name
set_property CONFIG.DATA_WIDTH $dac_data_width [get_bd_cells $dac_fifo_name]
set_property CONFIG.ADDRESS_WIDTH $dac_fifo_address_width [get_bd_cells $dac_fifo_name]