Tesi Robotica Algoritmi ed architetture per la risoluzione di... | Page 108
108
# location of profiling code - marks’s -- not used in current version
PROF_LIB = $(LEVEL)/../tiger/tool_source/Profiling
104
# location of profiling tools
PROF_TOOLS = $(LEVEL)/../tiger/tool_source/profiling_tools
109
114
119
124
129
134
139
# enable profiling
#PROFILER_ON = true
# parameters for profiling in simulation
# default: hierarchical profiling of execution cycle
CNT_INC = 00010
DO_HIER = 1
# parameters for profiling on board
# sof file to program the board in pure sw mode
PGM_SOF = $(PROF_TOOLS)/tiger_leap.sof
# profiling target
INSTR_PROF = 0x00000001
CYCLE_PROF = 0x00000002
STALL_PROF = 0x00000004
ISTALL_PROF = 0x00000008
DSTALL_PROF = 0x00000010
# profiling type
HIER_PROF = 0x00000001
FLAT_PROF = 0x00000000
# Functions that have percentage greater than this number will be
predicted
MIN_PERCENTAGE_TO_PREDICT = 5
# Name of the accelerating function
ACCELERATOR_NAME = ‘grep ’^set_accelerator_function "’ config.tcl | sed ’
s/set_accelerator_function //’ | sed ’s/"//g’‘
# parameters for profiling - by mark.. not used in current version
NUM_FUNCTIONS = 16
LOG_NUM_FUNCTIONS = 4
RESULTS_CONVERT = convertPowerResults #convertFuncResults #
convertFuncResults or convertPowerResults
COUNTER_WIDTH = 32
# ie. for chstone/jpeg this would be jpeg
PWD = $(shell pwd)