Commit 37443837 authored by Leonardo Solis's avatar Leonardo Solis

improved hw-instr selection for lapc or spm

can build only for spm
parent 2be2f825
...@@ -228,7 +228,6 @@ Krnl_GA_LDCLFLAGS+=--dk protocol:Krnl_GA_1:all \ ...@@ -228,7 +228,6 @@ Krnl_GA_LDCLFLAGS+=--dk protocol:Krnl_GA_1:all \
--dk protocol:Krnl_InterE_1:all \ --dk protocol:Krnl_InterE_1:all \
--dk protocol:Krnl_IntraE_1:all --dk protocol:Krnl_IntraE_1:all
## Commented because error was obtained: ## Commented because error was obtained:
## No interface pins matched 'get_bd_intf_pins -of /Krnl_Conform_1 -filter NAME=~m_axi_gmem' ## No interface pins matched 'get_bd_intf_pins -of /Krnl_Conform_1 -filter NAME=~m_axi_gmem'
## ERROR: caught error: Unable to find interface pin for AXI protocol checker insertion ## ERROR: caught error: Unable to find interface pin for AXI protocol checker insertion
...@@ -248,10 +247,20 @@ SPM:=none ...@@ -248,10 +247,20 @@ SPM:=none
ifneq ($(SPM),none) ifneq ($(SPM),none)
##--profile_kernel data:krnl1:cu1:m_axi_gmem0 ##--profile_kernel data:krnl1:cu1:m_axi_gmem0
##--profile_kernel data:krnl2:cu2:m_axi_gmem ##--profile_kernel data:krnl2:cu2:m_axi_gmem
Krnl_GA_LDCLFLAGS+=--profile_kernel data:Krnl_GA:Krnl_GA_1:all \ #Krnl_GA_LDCLFLAGS+=--profile_kernel data:Krnl_GA:Krnl_GA_1:all \
--profile_kernel data:Krnl_Conform:Krnl_Conform_1:all \ # --profile_kernel data:Krnl_Conform:Krnl_Conform_1:all \
--profile_kernel data:Krnl_InterE:Krnl_InterE_1:all \ # --profile_kernel data:Krnl_InterE:Krnl_InterE_1:all \
--profile_kernel data:Krnl_IntraE:Krnl_IntraE_1:all # --profile_kernel data:Krnl_IntraE:Krnl_IntraE_1:all
Krnl_GA_LDCLFLAGS+=\
--profile_kernel data:Krnl_GA:Krnl_GA_1:all \
--profile_kernel data:Krnl_Conform:Krnl_Conform_1:all \
--profile_kernel data:Krnl_InterE:Krnl_InterE_1:all \
--profile_kernel data:Krnl_IntraE:Krnl_IntraE_1:all \
--profile_kernel data:Krnl_IGL_Arbiter:Krnl_IGL_Arbiter_1:all \
--profile_kernel data:Krnl_Prng_BT_ushort_float:Krnl_Prng_BT_ushort_float_1:all \
--profile_kernel data:Krnl_Prng_GG_uchar:Krnl_Prng_GG_uchar_1:all \
--profile_kernel data:Krnl_Prng_GG_float:Krnl_Prng_GG_float_1:all
endif endif
#------------------------------- #-------------------------------
...@@ -432,8 +441,10 @@ hw: ...@@ -432,8 +441,10 @@ hw:
# Build instrumented hw (FPGA bitstream) # Build instrumented hw (FPGA bitstream)
# NOT integrated yet in a multistep compilation # NOT integrated yet in a multistep compilation
LAPCIN:=yes
SPMIN:=yes
hw-instr: hw-instr:
make all TARGETS=hw DEVICES=$(BOARD) LAPC=yes SPM=yes make all TARGETS=hw DEVICES=$(BOARD) LAPC=$(LAPCIN) SPM=$(SPMIN)
@echo $(newline) @echo $(newline)
@echo "==============================================================================================" @echo "=============================================================================================="
@echo "INFO: [instrumented] FPGA bitstream is under: \"./xclbin/$(XCLBINS).hw.*.xclbin\" " @echo "INFO: [instrumented] FPGA bitstream is under: \"./xclbin/$(XCLBINS).hw.*.xclbin\" "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment