Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ gui ?= 0
ipstools ?= 0
inst_hex_name ?= build/stim_instr.txt
data_hex_name ?= build/stim_data.txt
inst_entry ?= 0xCC000000
data_entry ?= 0xCC010000
boot_addr ?= 0xCC000080
inst_entry ?= 0xC0000000
data_entry ?= 0xC0008800
boot_addr ?= 0xC0000080
test ?= hello_world
mesh_dv ?= 1
fast_sim ?= 0
Expand Down Expand Up @@ -158,7 +158,7 @@ INC += -Isw/kernel_pulp/headers_bin
# sw/kernel_pulp/headers_bin/<test>_pulp_task_bin.h
# which the CV32 main.c `#include`s. The linker (sw/kernel/link.ld) KEEPs
# that array inside the `.pulp_binary` section, right after the optional
# Spatz binary in instrram (0xCC000000...). This mirrors what is done for
# Spatz binary in instrram (0xC0000000...). This mirrors what is done for
# Spatz tasks via spatz/sw/Makefile and the `.spatz_binary` section.
# ----------------------------------------------------------------------------
TEST_DIR_PATH := $(if $(_FOUND_TEST_DIR),$(_FOUND_TEST_DIR),sw/tests/$(test))
Expand Down
233 changes: 150 additions & 83 deletions README.md

Large diffs are not rendered by default.

161 changes: 161 additions & 0 deletions doc/memory_map.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions doc/sw_layout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion hw/mesh/magia_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ package magia_pkg;
typedef struct packed {
int unsigned NumBanks; // Number of TCDM banks
int unsigned NumWordsBank; // Number of words per TCDM bank
int unsigned PrivBytes; // Bytes at the bottom of L1, reachable only by the own tile
} l1_cfg_t;

typedef struct packed {
Expand Down Expand Up @@ -117,7 +118,8 @@ package magia_pkg;

localparam l1_cfg_t MagiaL1DefaultCfg = '{
NumBanks: N_MEM_BANKS,
NumWordsBank: N_WORDS_BANK
NumWordsBank: N_WORDS_BANK,
PrivBytes: 32'h0002_0000 // 128 KiB
};

localparam ctrl_core_cfg_t MagiaCtrlCoreDefaultCfg = '{
Expand Down
Loading
Loading