1 |
41 |
lmaarsen |
# ---------------------------------------------------------------------------------
|
2 |
|
|
# INIT SCRIPT
|
3 |
|
|
# ---------------------------------------------------------------------------------
|
4 |
|
|
puts "=============================================================================="
|
5 |
|
|
puts "INIT MACRO - SYNTAX: do init.do "
|
6 |
|
|
puts "=============================================================================="
|
7 |
|
|
# ---------------------------------------------------------------------------------
|
8 |
|
|
# PROJECT ENVIRONMENTS
|
9 |
|
|
# ---------------------------------------------------------------------------------
|
10 |
|
|
set path_project_files ""
|
11 |
|
|
set path_log_files "Simulation/Logs"
|
12 |
|
|
set path_script_files "Simulation/Scripts"
|
13 |
|
|
set path_wave_files "Simulation/Waves"
|
14 |
|
|
set path_meminit_files "Simulation/Memory_Init"
|
15 |
|
|
#
|
16 |
|
|
if {$1 == "home"} {
|
17 |
|
|
puts "==========================="
|
18 |
|
|
puts "HOME ENVIRONMENT SELECTED"
|
19 |
|
|
puts "==========================="
|
20 |
|
|
set path_project_files "d:/Documenten/Projects/ESoC"
|
21 |
|
|
} elseif {$1 == "work"} {
|
22 |
|
|
puts "==========================="
|
23 |
|
|
puts "WORK ENVIRONMENT SELECTED"
|
24 |
|
|
puts "==========================="
|
25 |
|
|
set path_project_files "c:/data/temp/ESoC"
|
26 |
|
|
} else {
|
27 |
|
|
puts "==========================="
|
28 |
|
|
puts "NO ENVIRONMENT SELECTED"
|
29 |
|
|
puts "==========================="}
|
30 |
|
|
#
|
31 |
|
|
# ---------------------------------------------------------------------------------
|
32 |
|
|
# DESIGN ENVIRONMENTS
|
33 |
|
|
# ---------------------------------------------------------------------------------
|
34 |
|
|
set path_design_files_altera "Sources/altera"
|
35 |
|
|
set path_design_files_ease "Sources/esoc.ews/design.hdl"
|
36 |
|
|
set path_design_files_logixa "Sources/logixa"
|
37 |
|
|
#
|
38 |
|
|
puts "=============================================================================="
|
39 |
|
|
puts "Ready to use BUILD.DO to compile the design and RUN.DO to perform a simulation."
|
40 |
|
|
puts "=============================================================================="
|