hdlmake- updates
parent
48e90f0e9b
commit
7b958fed87
|
@ -41,6 +41,7 @@ all:
|
|||
-make -C sdrstk all
|
||||
-make -C usb_fx3 all
|
||||
-make -C usdrx1 all
|
||||
-make -C usrpe31x all
|
||||
|
||||
|
||||
clean:
|
||||
|
@ -78,6 +79,7 @@ clean:
|
|||
make -C sdrstk clean
|
||||
make -C usb_fx3 clean
|
||||
make -C usdrx1 clean
|
||||
make -C usrpe31x clean
|
||||
|
||||
|
||||
clean-all:
|
||||
|
@ -115,6 +117,7 @@ clean-all:
|
|||
make -C sdrstk clean-all
|
||||
make -C usb_fx3 clean-all
|
||||
make -C usdrx1 clean-all
|
||||
make -C usrpe31x clean-all
|
||||
|
||||
####################################################################################
|
||||
####################################################################################
|
||||
|
|
|
@ -19,8 +19,8 @@ M_DEPS += ../common/fmcomms2_qsys.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/axi_ad9361/altera/axi_ad9361_cmos_if.v
|
||||
M_DEPS += ../../../library/axi_ad9361/altera/axi_ad9361_lvds_if.v
|
||||
M_DEPS += ../../../altera/axi_ad9361_cmos_if.v
|
||||
M_DEPS += ../../../altera/axi_ad9361_lvds_if.v
|
||||
M_DEPS += ../../../library/altera/common/ad_cmos_clk.v
|
||||
M_DEPS += ../../../library/altera/common/ad_cmos_in.v
|
||||
M_DEPS += ../../../library/altera/common/ad_cmos_out.v
|
||||
|
|
|
@ -5,62 +5,17 @@
|
|||
####################################################################################
|
||||
####################################################################################
|
||||
|
||||
M_DEPS += system_top.v
|
||||
M_DEPS += system_project.tcl
|
||||
M_DEPS += system_constr.xdc
|
||||
M_DEPS += system_bd.tcl
|
||||
M_DEPS += ../scripts/adi_project.tcl
|
||||
M_DEPS += ../scripts/adi_env.tcl
|
||||
M_DEPS += ../scripts/adi_board.tcl
|
||||
M_DEPS += ../../library/xilinx/common/ad_iobuf.v
|
||||
M_DEPS += ../../library/axi_ad9361/axi_ad9361.xpr
|
||||
M_DEPS += ../../library/axi_dmac/axi_dmac.xpr
|
||||
M_DEPS += ../../library/util_cpack/util_cpack.xpr
|
||||
M_DEPS += ../../library/util_upack/util_upack.xpr
|
||||
|
||||
M_VIVADO := vivado -mode batch -source
|
||||
|
||||
M_FLIST := *.cache
|
||||
M_FLIST += *.data
|
||||
M_FLIST += *.xpr
|
||||
M_FLIST += *.log
|
||||
M_FLIST += *.jou
|
||||
M_FLIST += xgui
|
||||
M_FLIST += *.runs
|
||||
M_FLIST += *.srcs
|
||||
M_FLIST += *.sdk
|
||||
M_FLIST += *.hw
|
||||
M_FLIST += *.sim
|
||||
M_FLIST += .Xil
|
||||
M_FLIST += *.ip_user_files
|
||||
|
||||
|
||||
|
||||
.PHONY: all lib clean clean-all
|
||||
all: lib sdrstk.sdk/system_top.hdf
|
||||
.PHONY: all clean clean-all
|
||||
all:
|
||||
-make -C system_project.tcl all
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf $(M_FLIST)
|
||||
make -C system_project.tcl clean
|
||||
|
||||
|
||||
clean-all:clean
|
||||
make -C ../../library/axi_ad9361 clean
|
||||
make -C ../../library/axi_dmac clean
|
||||
make -C ../../library/util_cpack clean
|
||||
make -C ../../library/util_upack clean
|
||||
|
||||
|
||||
sdrstk.sdk/system_top.hdf: $(M_DEPS)
|
||||
-rm -rf $(M_FLIST)
|
||||
$(M_VIVADO) system_project.tcl >> sdrstk_vivado.log 2>&1
|
||||
|
||||
|
||||
lib:
|
||||
make -C ../../library/axi_ad9361
|
||||
make -C ../../library/axi_dmac
|
||||
make -C ../../library/util_cpack
|
||||
make -C ../../library/util_upack
|
||||
clean-all:
|
||||
make -C system_project.tcl clean-all
|
||||
|
||||
####################################################################################
|
||||
####################################################################################
|
||||
|
|
|
@ -45,7 +45,6 @@ set sys_ps7 [create_bd_cell -type ip -vlnv xilinx.com:ip:processing_system7:5.5
|
|||
|
||||
set_property -dict [list CONFIG.PCW_PRESET_BANK0_VOLTAGE {LVCMOS 1.8V}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_PRESET_BANK1_VOLTAGE {LVCMOS 1.8V}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_PACKAGE_NAME {clg225}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_USE_S_AXI_HP1 {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_USE_S_AXI_HP2 {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_EN_CLK1_PORT {1}] $sys_ps7
|
||||
|
@ -54,8 +53,8 @@ set_property -dict [list CONFIG.PCW_FPGA0_PERIPHERAL_FREQMHZ {100.0}] $sys_ps7
|
|||
set_property -dict [list CONFIG.PCW_FPGA1_PERIPHERAL_FREQMHZ {200.0}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_GPIO_EMIO_GPIO_ENABLE {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_GPIO_EMIO_GPIO_IO {17}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_SPI1_PERIPHERAL_ENABLE {0}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_I2C0_PERIPHERAL_ENABLE {0}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_SPI1_PERIPHERAL_ENABLE {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_I2C0_PERIPHERAL_ENABLE {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_UART1_PERIPHERAL_ENABLE {1}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_UART1_UART1_IO {MIO 12 .. 13}] $sys_ps7
|
||||
set_property -dict [list CONFIG.PCW_I2C1_PERIPHERAL_ENABLE {0}] $sys_ps7
|
||||
|
|
Loading…
Reference in New Issue