Skip to content
Snippets Groups Projects
Commit 9408699b authored by dam1n19's avatar dam1n19
Browse files

changed imem to rom to allow initial program loading, updated bootloader code...

changed imem to rom to allow initial program loading, updated bootloader code and added accelerator option to makefile
parent a2e3324d
Branches
Tags
1 merge request!1changed imem to rom to allow initial program loading, updated bootloader code...
......@@ -85,13 +85,13 @@ BOOTROM_BUILD_DIR ?= $(SOCLABS_PROJECT_DIR)/system/src/bootrom
QUICKSTART ?= no
NANOSOC_EXPANSION_REGION ?= yes
ACCELERATOR ?= no
# Simulator Defines
DEFINES_VC += $(MEM_INIT) +define+CORTEX_M0 +define+USE_TARMAC
ifeq ($(NANOSOC_EXPANSION_REGION),yes)
DEFINES_VC += +define+NANOSOC_EXPANSION_REGION
ifeq ($(ACCELERATOR),yes)
DEFINES_VC += +define+ACCELERATOR_SUBSYSTEM
endif
# System Design Filelist
......
......@@ -135,7 +135,7 @@ int main (void)
// UART init
UartStdOutInit();
UartPuts("\n\n\nSOCLABS: ARM Cortex-M0 nanosoc\n");
UartPuts("\n\n\nSoCLabs NanoSoC\n");
FlashLoader();
return 0;
}
......
......@@ -37,7 +37,8 @@ module nanosoc_region_imem_0 #(
);
// SRAM Instantiation
sl_ahb_sram #(
// sl_ahb_sram #(
sl_ahb_rom #(
.SYS_DATA_W (SYS_DATA_W),
.RAM_ADDR_W (IMEM_RAM_ADDR_W),
.RAM_DATA_W (IMEM_RAM_DATA_W),
......
s1(22Jun2023:09:30:49): xmprep +overwrite -f /home/dam1n19/accelerator-project/flist/project/system.flist -define ADP_FILE="/home/dam1n19/accelerator-project/nanosoc_tech/testcodes/adp_demo/adp.cmd" +define+CORTEX_M0 +define+USE_TARMAC +define+NANOSOC_EXPANSION_REGION +debug -timescale 1ps/1ps -top nanosoc_tb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment