altera/adrv9371x- add dacfifo

main
Rejeesh Kutty 2017-03-01 15:52:07 -05:00
parent 3586397f57
commit ec89b1a45f
2 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,11 @@
set dac_fifo_name axi_ad9371_tx_fifo
set dac_fifo_address_width 10
set dac_data_width 128
set dac_dma_data_width 128
source $ad_hdl_dir/projects/common/a10gx/a10gx_system_qsys.tcl
source $ad_hdl_dir/projects/common/altera/dacfifo_qsys.tcl
source ../common/adrv9371x_qsys.tcl

View File

@ -0,0 +1,10 @@
if {$dac_data_width != $dac_dma_data_width} {
return -code error [format "ERROR: util_dacfifo dac/dma widths must be the same!"]
}
add_instance $dac_fifo_name util_dacfifo 1.0
set_instance_parameter_value $dac_fifo_name {ADDRESS_WIDTH} $dac_fifo_address_width
set_instance_parameter_value $dac_fifo_name {DATA_WIDTH} $dac_data_width