-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
48 lines (34 loc) · 1.94 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
THIS_PATH=$(pwd)/$BASH_SOURCE # Path to this file
# Path to Performance Simulation Workspace (PSW)
PSW_WORKSPACE=$(realpath $(dirname $THIS_PATH))
############################ SIMULATOR ############################
export PSW_PERF_SIM=${PSW_WORKSPACE}/etiss-perf-sim
export PSW_SWEVAL_LIB=${PSW_PERF_SIM}/etiss_plugins/SoftwareEvalLib
export PSW_SWEVAL_LIB_SCRIPTS=${PSW_SWEVAL_LIB}/scripts
############################ CODE GENERATION ############################
PSW_CODE_GEN=${PSW_WORKSPACE}/code_gen
# Generators
export PSW_GENERATORS=${PSW_CODE_GEN}/generators
export PSW_M2ISAR=${PSW_GENERATORS}/M2-ISA-R
export PSW_M2ISAR_PERF=${PSW_GENERATORS}/M2-ISA-R-Perf
# Descriptions
PSW_DESCRIPTIONS=${PSW_CODE_GEN}/descriptions
PSW_CORE_DSL=${PSW_DESCRIPTIONS}/core_dsl
export PSW_DEFAULT_CORE_DSL=${PSW_CORE_DSL}/etiss_arch_riscv/top.core_desc
# Temp & Output dirs
PSW_CODE_GEN_TEMP=${PSW_CODE_GEN}/temp
export PSW_TEMP_M2ISAR_MODEL=${PSW_CODE_GEN_TEMP}/m2isar_model
export PSW_TEMP_MONITOR_DESCRIPTION=${PSW_CODE_GEN_TEMP}/monitor_description
export PSW_CODE_GEN_OUT=${PSW_CODE_GEN}/out
############################ SCRIPTS ############################
export PSW_SCRIPTS_SUPPORT=${PSW_WORKSPACE}/scripts/support
############################ TARGET SOFTWARE ############################
export PSW_TARGETSW_EXAMPLES=${PSW_WORKSPACE}/target_sw/examples
export PSW_TARGETSW_CV32E40P_EMBENCH=${PSW_TARGETSW_EXAMPLES}/cv32e40p/embench
export PSW_TARGETSW_CV32E40P_DHRYSTONE_OFFSET=${PSW_TARGETSW_EXAMPLES}/cv32e40p/dhrystone/ri5cy-dhry
export PSW_TARGETSW_CV32E40P_DHRYSTONE_DEFAULT=${PSW_TARGETSW_CV32E40P_DHRYSTONE_OFFSET}-10000
export PSW_TARGETSW_CVA6_EMBENCH=${PSW_TARGETSW_EXAMPLES}/cva6/embench
export PSW_TARGETSW_CVA6_DHRYSTONE_OFFSET=${PSW_TARGETSW_EXAMPLES}/cva6/dhrystone/ariane-dhry
export PSW_TARGETSW_CVA6_DHRYSTONE_DEFAULT=${PSW_TARGETSW_CVA6_DHRYSTONE_OFFSET}-10000
export PSW_TARGETSW_CVA6_BOOTROM=${PSW_TARGETSW_EXAMPLES}/cva6/boot/bootrom.elf