From dba419239bc636e8f2298313e6e3b0097d8a9f83 Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Wed, 14 Jun 2017 10:41:14 -0400 Subject: [PATCH] hdlmake.pl updates --- projects/fmcjesdadc1/Makefile | 6 +++ projects/fmcjesdadc1/a10gx/Makefile | 42 ++++++-------------- projects/fmcjesdadc1/a10soc/Makefile | 57 +++++++--------------------- 3 files changed, 30 insertions(+), 75 deletions(-) diff --git a/projects/fmcjesdadc1/Makefile b/projects/fmcjesdadc1/Makefile index 1f822eee3..feab6bb8c 100644 --- a/projects/fmcjesdadc1/Makefile +++ b/projects/fmcjesdadc1/Makefile @@ -7,6 +7,8 @@ .PHONY: all clean clean-all all: + -make -C a10gx all + -make -C a10soc all -make -C a5gt all -make -C a5soc all -make -C kc705 all @@ -15,6 +17,8 @@ all: clean: + make -C a10gx clean + make -C a10soc clean make -C a5gt clean make -C a5soc clean make -C kc705 clean @@ -23,6 +27,8 @@ clean: clean-all: + make -C a10gx clean-all + make -C a10soc clean-all make -C a5gt clean-all make -C a5soc clean-all make -C kc705 clean-all diff --git a/projects/fmcjesdadc1/a10gx/Makefile b/projects/fmcjesdadc1/a10gx/Makefile index 78559b591..8127eccb2 100644 --- a/projects/fmcjesdadc1/a10gx/Makefile +++ b/projects/fmcjesdadc1/a10gx/Makefile @@ -15,34 +15,27 @@ M_DEPS += system_top.v M_DEPS += system_qsys.tcl M_DEPS += system_project.tcl M_DEPS += system_constr.sdc -M_DEPS += ../common/daq2_spi.v -M_DEPS += ../common/daq2_qsys.tcl +M_DEPS += ../common/fmcjesdadc1_spi.v +M_DEPS += ../common/fmcjesdadc1_qsys.tcl M_DEPS += ../../scripts/adi_tquest.tcl M_DEPS += ../../scripts/adi_project_alt.tcl M_DEPS += ../../scripts/adi_env.tcl M_DEPS += ../../common/a10gx/a10gx_system_qsys.tcl M_DEPS += ../../common/a10gx/a10gx_system_assign.tcl -M_DEPS += ../../../library/altera/avl_adxcfg/avl_adxcfg.v -M_DEPS += ../../../library/altera/avl_adxcfg/avl_adxcfg_hw.tcl +M_DEPS += ../../../library/common/ad_sysref_gen.v M_DEPS += ../../../library/altera/avl_adxcvr/avl_adxcvr_hw.tcl M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr.v M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr_hw.tcl M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr_up.v -M_DEPS += ../../../library/altera/common/ad_mul.v M_DEPS += ../../../library/altera/common/up_clock_mon_constr.sdc M_DEPS += ../../../library/altera/common/up_rst_constr.sdc M_DEPS += ../../../library/altera/common/up_xfer_cntrl_constr.sdc M_DEPS += ../../../library/altera/common/up_xfer_status_constr.sdc -M_DEPS += ../../../library/axi_ad9144/axi_ad9144.v -M_DEPS += ../../../library/axi_ad9144/axi_ad9144_channel.v -M_DEPS += ../../../library/axi_ad9144/axi_ad9144_core.v -M_DEPS += ../../../library/axi_ad9144/axi_ad9144_hw.tcl -M_DEPS += ../../../library/axi_ad9144/axi_ad9144_if.v -M_DEPS += ../../../library/axi_ad9680/axi_ad9680.v -M_DEPS += ../../../library/axi_ad9680/axi_ad9680_channel.v -M_DEPS += ../../../library/axi_ad9680/axi_ad9680_hw.tcl -M_DEPS += ../../../library/axi_ad9680/axi_ad9680_if.v -M_DEPS += ../../../library/axi_ad9680/axi_ad9680_pnmon.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_channel.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_hw.tcl +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_if.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_pnmon.v M_DEPS += ../../../library/axi_dmac/2d_transfer.v M_DEPS += ../../../library/axi_dmac/address_generator.v M_DEPS += ../../../library/axi_dmac/axi_dmac.v @@ -63,11 +56,7 @@ M_DEPS += ../../../library/axi_dmac/splitter.v M_DEPS += ../../../library/axi_dmac/src_axi_mm.v M_DEPS += ../../../library/axi_dmac/src_axi_stream.v M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v -M_DEPS += ../../../library/common/ad_axis_inf_rx.v M_DEPS += ../../../library/common/ad_datafmt.v -M_DEPS += ../../../library/common/ad_dds.v -M_DEPS += ../../../library/common/ad_dds_1.v -M_DEPS += ../../../library/common/ad_dds_sine.v M_DEPS += ../../../library/common/ad_pnmon.v M_DEPS += ../../../library/common/ad_rst.v M_DEPS += ../../../library/common/ad_xcvr_rx_if.v @@ -75,16 +64,11 @@ M_DEPS += ../../../library/common/up_adc_channel.v M_DEPS += ../../../library/common/up_adc_common.v M_DEPS += ../../../library/common/up_axi.v M_DEPS += ../../../library/common/up_clock_mon.v -M_DEPS += ../../../library/common/up_dac_channel.v -M_DEPS += ../../../library/common/up_dac_common.v M_DEPS += ../../../library/common/up_delay_cntrl.v M_DEPS += ../../../library/common/up_xfer_cntrl.v M_DEPS += ../../../library/common/up_xfer_status.v M_DEPS += ../../../library/scripts/adi_env.tcl M_DEPS += ../../../library/scripts/adi_ip_alt.tcl -M_DEPS += ../../../library/util_adcfifo/util_adcfifo.v -M_DEPS += ../../../library/util_adcfifo/util_adcfifo_constr.sdc -M_DEPS += ../../../library/util_adcfifo/util_adcfifo_hw.tcl M_DEPS += ../../../library/util_axis_fifo/address_gray.v M_DEPS += ../../../library/util_axis_fifo/address_gray_pipelined.v M_DEPS += ../../../library/util_axis_fifo/address_sync.v @@ -96,10 +80,6 @@ M_DEPS += ../../../library/util_cpack/util_cpack.v M_DEPS += ../../../library/util_cpack/util_cpack_dsf.v M_DEPS += ../../../library/util_cpack/util_cpack_hw.tcl M_DEPS += ../../../library/util_cpack/util_cpack_mux.v -M_DEPS += ../../../library/util_upack/util_upack.v -M_DEPS += ../../../library/util_upack/util_upack_dmx.v -M_DEPS += ../../../library/util_upack/util_upack_dsf.v -M_DEPS += ../../../library/util_upack/util_upack_hw.tcl M_ALTERA := quartus_sh --64bit -t @@ -138,7 +118,7 @@ M_FLIST += *.dpf .PHONY: all clean clean-all -all: daq2_a10gx.sof +all: fmcjesdadc1_a10gx.sof @@ -149,9 +129,9 @@ clean-all: rm -rf $(M_FLIST) -daq2_a10gx.sof: $(M_DEPS) +fmcjesdadc1_a10gx.sof: $(M_DEPS) -rm -rf $(M_FLIST) - $(M_ALTERA) system_project.tcl >> daq2_a10gx_quartus.log 2>&1 + $(M_ALTERA) system_project.tcl >> fmcjesdadc1_a10gx_quartus.log 2>&1 #################################################################################### #################################################################################### diff --git a/projects/fmcjesdadc1/a10soc/Makefile b/projects/fmcjesdadc1/a10soc/Makefile index 3e8a49b50..feac3e22a 100644 --- a/projects/fmcjesdadc1/a10soc/Makefile +++ b/projects/fmcjesdadc1/a10soc/Makefile @@ -15,42 +15,27 @@ M_DEPS += system_top.v M_DEPS += system_qsys.tcl M_DEPS += system_project.tcl M_DEPS += system_constr.sdc -M_DEPS += ../common/adrv9371x_qsys.tcl +M_DEPS += ../common/fmcjesdadc1_spi.v +M_DEPS += ../common/fmcjesdadc1_qsys.tcl M_DEPS += ../../scripts/adi_tquest.tcl M_DEPS += ../../scripts/adi_project_alt.tcl M_DEPS += ../../scripts/adi_env.tcl M_DEPS += ../../common/a10soc/a10soc_system_qsys.tcl M_DEPS += ../../common/a10soc/a10soc_system_assign.tcl -M_DEPS += ../../common/a10soc/a10soc_plddr4_dacfifo_qsys.tcl -M_DEPS += ../../common/a10soc/a10soc_plddr4_assign.tcl -M_DEPS += ../../../library/altera/avl_adxcfg/avl_adxcfg.v -M_DEPS += ../../../library/altera/avl_adxcfg/avl_adxcfg_hw.tcl +M_DEPS += ../../../library/common/ad_sysref_gen.v M_DEPS += ../../../library/altera/avl_adxcvr/avl_adxcvr_hw.tcl -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo.v -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_byteenable_coder.v -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_byteenable_decoder.v -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_constr.sdc -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_hw.tcl -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_rd.v -M_DEPS += ../../../library/altera/avl_dacfifo/avl_dacfifo_wr.v M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr.v M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr_hw.tcl M_DEPS += ../../../library/altera/axi_adxcvr/axi_adxcvr_up.v -M_DEPS += ../../../library/altera/common/ad_dcfilter.v -M_DEPS += ../../../library/altera/common/ad_mem_asym.v -M_DEPS += ../../../library/altera/common/ad_mul.v M_DEPS += ../../../library/altera/common/up_clock_mon_constr.sdc M_DEPS += ../../../library/altera/common/up_rst_constr.sdc M_DEPS += ../../../library/altera/common/up_xfer_cntrl_constr.sdc M_DEPS += ../../../library/altera/common/up_xfer_status_constr.sdc -M_DEPS += ../../../library/axi_ad9371/axi_ad9371.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_hw.tcl -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_if.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_rx.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_rx_channel.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_rx_os.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_tx.v -M_DEPS += ../../../library/axi_ad9371/axi_ad9371_tx_channel.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_channel.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_hw.tcl +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_if.v +M_DEPS += ../../../library/axi_ad9250/axi_ad9250_pnmon.v M_DEPS += ../../../library/axi_dmac/2d_transfer.v M_DEPS += ../../../library/axi_dmac/address_generator.v M_DEPS += ../../../library/axi_dmac/axi_dmac.v @@ -71,31 +56,19 @@ M_DEPS += ../../../library/axi_dmac/splitter.v M_DEPS += ../../../library/axi_dmac/src_axi_mm.v M_DEPS += ../../../library/axi_dmac/src_axi_stream.v M_DEPS += ../../../library/axi_dmac/src_fifo_inf.v -M_DEPS += ../../../library/common/ad_axis_inf_rx.v -M_DEPS += ../../../library/common/ad_b2g.v M_DEPS += ../../../library/common/ad_datafmt.v -M_DEPS += ../../../library/common/ad_dds.v -M_DEPS += ../../../library/common/ad_dds_1.v -M_DEPS += ../../../library/common/ad_dds_sine.v -M_DEPS += ../../../library/common/ad_g2b.v -M_DEPS += ../../../library/common/ad_iqcor.v +M_DEPS += ../../../library/common/ad_pnmon.v M_DEPS += ../../../library/common/ad_rst.v M_DEPS += ../../../library/common/ad_xcvr_rx_if.v M_DEPS += ../../../library/common/up_adc_channel.v M_DEPS += ../../../library/common/up_adc_common.v M_DEPS += ../../../library/common/up_axi.v M_DEPS += ../../../library/common/up_clock_mon.v -M_DEPS += ../../../library/common/up_dac_channel.v -M_DEPS += ../../../library/common/up_dac_common.v +M_DEPS += ../../../library/common/up_delay_cntrl.v M_DEPS += ../../../library/common/up_xfer_cntrl.v M_DEPS += ../../../library/common/up_xfer_status.v -M_DEPS += ../../../library/common/util_dacfifo_bypass.v -M_DEPS += ../../../library/common/util_delay.v M_DEPS += ../../../library/scripts/adi_env.tcl M_DEPS += ../../../library/scripts/adi_ip_alt.tcl -M_DEPS += ../../../library/util_adcfifo/util_adcfifo.v -M_DEPS += ../../../library/util_adcfifo/util_adcfifo_constr.sdc -M_DEPS += ../../../library/util_adcfifo/util_adcfifo_hw.tcl M_DEPS += ../../../library/util_axis_fifo/address_gray.v M_DEPS += ../../../library/util_axis_fifo/address_gray_pipelined.v M_DEPS += ../../../library/util_axis_fifo/address_sync.v @@ -107,10 +80,6 @@ M_DEPS += ../../../library/util_cpack/util_cpack.v M_DEPS += ../../../library/util_cpack/util_cpack_dsf.v M_DEPS += ../../../library/util_cpack/util_cpack_hw.tcl M_DEPS += ../../../library/util_cpack/util_cpack_mux.v -M_DEPS += ../../../library/util_upack/util_upack.v -M_DEPS += ../../../library/util_upack/util_upack_dmx.v -M_DEPS += ../../../library/util_upack/util_upack_dsf.v -M_DEPS += ../../../library/util_upack/util_upack_hw.tcl M_ALTERA := quartus_sh --64bit -t @@ -149,7 +118,7 @@ M_FLIST += *.dpf .PHONY: all clean clean-all -all: adrv9371x_a10soc.sof +all: fmcjesdadc1_a10soc.sof @@ -160,9 +129,9 @@ clean-all: rm -rf $(M_FLIST) -adrv9371x_a10soc.sof: $(M_DEPS) +fmcjesdadc1_a10soc.sof: $(M_DEPS) -rm -rf $(M_FLIST) - $(M_ALTERA) system_project.tcl >> adrv9371x_a10soc_quartus.log 2>&1 + $(M_ALTERA) system_project.tcl >> fmcjesdadc1_a10soc_quartus.log 2>&1 #################################################################################### ####################################################################################