diff --git a/hal/socdebug_controller_ip.waive b/hal/socdebug_controller_ip.waive new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/makefile b/makefile new file mode 100644 index 0000000000000000000000000000000000000000..f40a3c4269d85f60a8740bd9c2e803cb708ae021 --- /dev/null +++ b/makefile @@ -0,0 +1,32 @@ +#----------------------------------------------------------------------------- +# SoCLabs SoCDebug Flow Makefile +# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license. +# +# Contributors +# +# David Mapstone (d.a.mapstone@soton.ac.uk) +# +# Copyright (C) 2021-3, SoC Labs (www.soclabs.org) +#----------------------------------------------------------------------------- + +include $(SOCLABS_SOCTOOLS_FLOW_DIR)/resources/hal/makefile.hal_checks + +LINT_DIR = $(SOCLABS_PROJECT_DIR)/lint/socdebug +LINT_INFO_DIR = $(SOCLABS_SOCDEBUG_TECH_DIR)/hal + +# Core Design Filelist +DESIGN_VC ?= $(SOCLABS_SOCDEBUG_TECH_DIR)/flist/socdebug_controller_ip.flist + +# Defines +DEFINES_VC += $(MEM_INIT) +define+CORTEX_M0 +define+USE_TARMAC + +# Lint Waivers +HAL_WAIVE = -design_info $(LINT_INFO_DIR)/socdebug_controller_ip.waive + +HAL_TOP = socdebug_ahb + +lint_xm: + @rm -rf $(LINT_DIR) + @mkdir -p $(LINT_DIR) + cd $(LINT_DIR); hal -f $(DESIGN_VC) +debug -XMVERILOGARGS "-timescale 1ps/1ps" -top $(HAL_TOP) $(HAL_WAIVE) $(LINT_NOCHECK) +