Snitch Runtime
Loading...
Searching...
No Matches
snrt.h
1// Copyright 2023 ETH Zurich and University of Bologna.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5#pragma once
6
7#include <stddef.h>
8#include <stdint.h>
9
10// Configuration- and system-specific definitions (HAL)
11#include "snitch_cluster_addrmap.h"
12#include "snitch_cluster_cfg.h"
13#include "snitch_cluster_peripheral_addrmap.h"
14#include "snitch_cluster_raw_addrmap.h"
15#define SNRT_TCDM_START_ADDR SNITCH_CLUSTER_ADDRMAP_CLUSTER_TCDM_BASE_ADDR
16
17// Forward declarations
18#include "alloc_decls.h"
19#include "cls_decls.h"
20#include "dma_decls.h"
21#include "memory_decls.h"
22#include "riscv_decls.h"
23#include "start_decls.h"
24#include "sync_decls.h"
25#include "team_decls.h"
26
27// Implementation
28#include "alloc.h"
29#include "alloc_v2.h"
30#include "cls.h"
31#include "cluster_interrupts.h"
32#include "copift.h"
33#include "dm.h"
34#include "dma.h"
35#include "dump.h"
36#include "eu.h"
37#include "kmp.h"
38#include "omp.h"
39#include "perf_cnt.h"
40#include "printf.h"
41#include "riscv.h"
42#include "snitch_cluster_global_interrupts.h"
43#include "snitch_cluster_memory.h"
44#include "snitch_cluster_start.h"
45#include "ssr.h"
46#include "sync.h"
47#include "team.h"
48#include "types.h"
Defines functions to dynamically allocate the cluster's L1 memory.
This file provides functions to program the Snitch DMA.
This file contains functions to conveniently program Snitch's SSRs.
This file provides functions to synchronize Snitch cores.
This file contains functions and macros related to Snitch team management.