From 1437f0fcf3c88e60bbfb5a2e325c6f80594b24ed Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 17 Jan 2022 12:14:05 +0000 Subject: [PATCH] move swerv config and json to soc --- demo/helloworld/Makefile | 4 +--- {demo/helloworld => soc}/JSON.pm | 0 soc/Makefile | 0 {demo/helloworld => soc}/swerv.config | 0 4 files changed, 1 insertion(+), 3 deletions(-) rename {demo/helloworld => soc}/JSON.pm (100%) create mode 100644 soc/Makefile rename {demo/helloworld => soc}/swerv.config (100%) diff --git a/demo/helloworld/Makefile b/demo/helloworld/Makefile index ff618cc..ab031cb 100644 --- a/demo/helloworld/Makefile +++ b/demo/helloworld/Makefile @@ -10,7 +10,6 @@ ABI = -mabi=ilp32 -march=rv32imc VERILATOR = verilator TESTDIR = ${PWD} BUILD_DIR = ${TESTDIR}/build -SWERV_CONFIG = ${TESTDIR}/swerv.config RV_DESIGN = ${RV_ROOT}/design RV_SOC = ${RV_ROOT}/soc @@ -43,9 +42,8 @@ all: clean verilator clean: rm -rf build obj_dir -# If define files do not exist, then run swerv.config. ${BUILD_DIR}/defines.h : - BUILD_PATH=${BUILD_DIR} ${SWERV_CONFIG} -target=default -set iccm_enable + BUILD_PATH=${BUILD_DIR} PERLLIB=${RV_SOC} ${RV_SOC}/swerv.config -target=default -set iccm_enable ##################### Verilog Builds ##################################### diff --git a/demo/helloworld/JSON.pm b/soc/JSON.pm similarity index 100% rename from demo/helloworld/JSON.pm rename to soc/JSON.pm diff --git a/soc/Makefile b/soc/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/demo/helloworld/swerv.config b/soc/swerv.config similarity index 100% rename from demo/helloworld/swerv.config rename to soc/swerv.config