util_adcfifo: Update the interfaces for the asymetric memory

main
Istvan Csomortani 2019-09-09 14:11:02 +01:00 committed by Adrian Costina
parent f624d5df40
commit f38b9d44b9
2 changed files with 18 additions and 18 deletions

View File

@ -211,13 +211,13 @@ module util_adcfifo #(
generate
if (FPGA_TECHNOLOGY == 1) begin
mem_asym i_mem_asym (
.mem_i_wrclock (adc_clk),
.mem_i_wren (adc_wr_int),
.mem_i_wraddress (adc_waddr_int),
.mem_i_datain (adc_wdata_int),
.mem_i_rdclock (dma_clk),
.mem_i_rdaddress (dma_raddr[DMA_ADDRESS_WIDTH-1:0]),
.mem_o_dataout (dma_rdata_s));
.mem_i_wrclock_clk (adc_clk),
.mem_i_wren_wren (adc_wr_int),
.mem_i_wraddress_wraddress (adc_waddr_int),
.mem_i_datain_datain (adc_wdata_int),
.mem_i_rdclock_clk (dma_clk),
.mem_i_rdaddress_rdaddress (dma_raddr[DMA_ADDRESS_WIDTH-1:0]),
.mem_o_dataout_dataout (dma_rdata_s));
end else begin
ad_mem_asym #(
.A_ADDRESS_WIDTH (ADC_ADDRESS_WIDTH),

View File

@ -3,7 +3,7 @@ package require qsys
source ../scripts/adi_env.tcl
source ../scripts/adi_ip_intel.tcl
ad_ip_create util_adcfifo {UTIL ADC FIFO Interface}
ad_ip_create util_adcfifo {UTIL ADC FIFO IP core}
set_module_property ELABORATION_CALLBACK p_util_adcfifo
# files
@ -37,7 +37,7 @@ proc p_util_adcfifo {} {
# intel memory
add_hdl_instance mem_asym intel_mem_asym
add_hdl_instance mem_asym intel_mem_asym 1.0
set_instance_parameter_value mem_asym DEVICE_FAMILY $m_device_family
set_instance_parameter_value mem_asym A_ADDRESS_WIDTH 0
set_instance_parameter_value mem_asym A_DATA_WIDTH $m_adc_data_width
@ -46,7 +46,7 @@ proc p_util_adcfifo {} {
# interfaces
ad_interface clock adc_clk input 1 adc_clk
ad_interface clock adc_clk input 1
ad_interface reset adc_rst input 1 if_adc_clk
ad_interface signal adc_wr input 1 valid
ad_interface signal adc_wdata input ADC_DATA_WIDTH data