Skip to content
Snippets Groups Projects
Commit d66553e3 authored by Daniel Newbrook's avatar Daniel Newbrook
Browse files

Move nanosoc.config to top level project

parent 0d19965f
No related branches found
No related tags found
No related merge requests found
Pipeline #11508 passed
#-----------------------------------------------------------------------------
# NanoSoC Configuration file
# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
#
# Copyright (C) 2021-3, SoC Labs (www.soclabs.org)
#-----------------------------------------------------------------------------
#### IP Configuration
# !!EDIT this to point to the relevant logical directories of IP
ARM_CORSTONE_101_DIR ?= $(ARM_IP_LIBRARY_PATH)/latest/Corstone-101/logical
ARM_CORTEX_M0_DIR ?= $(ARM_IP_LIBRARY_PATH)/latest/Cortex-M0/logical
# DMA_xxx_INCLUDE (yes or leave blank)
DMA_0_PL230_INCLUDE := yes
DMA_1_PL230_INCLUDE :=
DMA_DMA350_INCLUDE :=
# DMA 350 options set to yes for one of them
# !! MAKE sure you run the correct configuration in the SLDMA350 directory
# Small configuration of DMA, 2 channels, no stream interface, no extended features
# Default configuration of DMA, 2 channels, stream interface, extended features
# Big configuration of DMA, 3 channels, stream interface, extended features
DMA350_SMALL :=
DMA350_DEFAULT :=
DMA350_BIG :=
# ADC Include (yes or leave blank)
ADC_0_INCLUDE:=
ADC_1_INCLUDE:=
ADC_2_INCLUDE:=
ADC_3_INCLUDE:=
\ No newline at end of file
Subproject commit 55eaa51a5b382c95c009e1b4eab4658579c8b8a4
Subproject commit 0aad87ad6fc7d93028fc5202388356d2b31afdf5
......@@ -13,7 +13,9 @@
# Source set_env script from soctools_flow
source soctools_flow/bin/project_setup.sh $@
if [ ! -f .dma350_configured ]; then
cp nanosoc_tech/nanosoc/sldma350_tech/config/address_map_m1_nanosoc.sv $ARM_IP_LIBRARY_PATH/DMA-350/CG096-r0p0-00rel0/CG096-BU-50000-r0p0-00rel0/dma350/logical/models/modules/generic/address_map_m1_nanosoc.sv
if [ ! -f $ARM_IP_LIBRARY_PATH/DMA-350/CG096-r0p0-00rel0/CG096-BU-50000-r0p0-00rel0/dma350/logical/models/modules/generic/address_map_m1_nanosoc.sv ]; then
cp nanosoc_tech/nanosoc/sldma350_tech/config/address_map_m1_nanosoc.sv $ARM_IP_LIBRARY_PATH/DMA-350/CG096-r0p0-00rel0/CG096-BU-50000-r0p0-00rel0/dma350/logical/models/modules/generic/address_map_m1_nanosoc.sv
fi
make -C nanosoc_tech/nanosoc/sldma350_tech/ config_dma_ahb
touch .dma350_configured
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment