-
Notifications
You must be signed in to change notification settings - Fork 446
Expand file tree
/
Copy pathpaths.py
More file actions
72 lines (59 loc) · 2.7 KB
/
Copy pathpaths.py
File metadata and controls
72 lines (59 loc) · 2.7 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
""" Paths for different VTR flow executables and resources """
import pathlib
# Path to the root repository directory
root_path = pathlib.Path(__file__).absolute().parent.parent.parent.parent.parent
# VTR Paths
vtr_flow_path = root_path / "vtr_flow"
vtr_primitives_path = root_path / "build" / "share" / "yosys" / "parmys" / "vtr_primitives.v"
HDL_top_mods_path = root_path / "vtr_flow" / "benchmarks" / "top_modules.tcl"
# ODIN paths
odin_path = root_path / "odin_ii"
odin_exe_path = odin_path / "odin_ii"
odin_cfg_path = vtr_flow_path / "misc" / "basic_odin_config_split.xml"
odin_verify_path = odin_path / "verify_odin.sh"
odin_benchmark_path = odin_path / "regression_test" / "benchmark"
odin_output_on_error_path = odin_path / "regression_test" / ".library" / "output_on_error.conf"
# YOSYS paths
yosys_path = root_path / "build" / "bin"
yosys_exe_path = yosys_path / "yosys"
yosys_tcl_path = vtr_flow_path / "misc" / "yosys"
yosys_script_path = yosys_tcl_path / "synthesis.tcl"
yosys_helper_script_path = yosys_tcl_path / "slang_filelist.tcl"
yosys_slang_path = root_path / "build" / "share" / "yosys" / "plugins" / "slang.so"
# Synlig paths
synlig_path = root_path / "build" / "bin" / "synlig_install"
synlig_exe_path = synlig_path / "usr" / "local" / "bin" / "synlig"
# PARMYS paths
parmys_path = root_path / "parmys"
parmys_verify_path = parmys_path / "verify_parmys.sh"
parmys_benchmark_path = parmys_path / "regression_test" / "benchmark"
parmys_output_on_error_path = parmys_path / "regression_test" / ".library" / "output_on_error.conf"
# ABC paths
abc_path = root_path / "abc"
abc_exe_path = abc_path / "abc"
abc_rc_path = abc_path / "abc.rc"
# ACE paths
ace_path = root_path / "ace2"
ace_exe_path = ace_path / "ace"
ace_extract_clk_from_blif_script_path = ace_path / "scripts" / "extract_clk_from_blif.py"
# VPR paths
vpr_path = root_path / "vpr"
vpr_exe_path = vpr_path / "vpr"
# Flow scripts
scripts_path = vtr_flow_path / "scripts"
run_vtr_flow_path = scripts_path / "run_vtr_flow.py"
flow_template_path = scripts_path / "flow_script_template.txt"
# Task files
tasks_path = vtr_flow_path / "tasks"
regression_tests_path = tasks_path / "regression_tests"
# Parsing files
parse_path = vtr_flow_path / "parse"
vtr_benchmarks_parse_path = parse_path / "parse_config" / "common" / "vtr_benchmarks.txt"
pass_requirements_path = parse_path / "pass_requirements"
# Other scripts
blackbox_latches_script_path = scripts_path / "blackbox_latches.pl"
restore_multiclock_latch_old_script_path = scripts_path / "restore_multiclock_latch_information.pl"
restore_multiclock_latch_script_path = scripts_path / "restore_multiclock_latch.pl"
valgrind_supp = vpr_path / "valgrind.supp"
lsan_supp = vpr_path / "lsan.supp"
asan_supp = vpr_path / "asan.supp"