This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile.do
121 lines (94 loc) · 5.89 KB
/
compile.do
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
puts {
*****************************
BIGLARI-COMPILER FOR MODELSIM
*****************************
}
set library_file_list {
design_library {
src/vhdl/Constants/FilePaths.vhd
src/vhdl/TdmaMin/TdmaMinTypes.vhd
src/vhdl/TdmaMin/TdmaMinSwitch.vhd
src/vhdl/TdmaMin/TdmaMinStage.vhd
ip/TdmaMinFifo/TdmaMinFifo.vhd
ASPs/PD-ASP/vhdl/data/register_buffer.vhd
ASPs/VHDL-Autocorrelator/src/memory/register.vhd
src/vhdl/TdmaMin/TdmaMinSlots.vhd
src/vhdl/TdmaMin/TdmaMinFabric.vhd
src/vhdl/TdmaMin/TdmaMinInterface.vhd
src/vhdl/TdmaMin/TdmaMin.vhd
ASPs/VHDL-ADC/src/vhdl/memory/ROM.vhd
ASPs/VHDL-ADC/src/vhdl/FilePaths.vhd
ASPs/VHDL-ADC/src/vhdl/TopLevelAdcAsp.vhd
ASPs/PD-ASP/vhdl/utils/biglari_types.vhd
ASPs/PD-ASP/vhdl/utils/zoran_types.vhd
ASPs/PD-ASP/vhdl/utils/mux_constants.vhd
ASPs/PD-ASP/vhdl/utils/noc_constants.vhd
ASPs/PD-ASP/vhdl/logic/comparator.vhd
ASPs/PD-ASP/vhdl/data/max_value_storage.vhd
ASPs/PD-ASP/vhdl/data/min_value_storage.vhd
ASPs/PD-ASP/vhdl/logic/bit_truncation.vhd
ASPs/PD-ASP/vhdl/control/packet_decode.vhd
ASPs/PD-ASP/vhdl/data/config_registers.vhd
ASPs/PD-ASP/vhdl/logic/counter.vhd
ASPs/PD-ASP/vhdl/control/control_unit.vhd
ASPs/PD-ASP/vhdl/data/noc_output_stage.vhd
ASPs/PD-ASP/vhdl/logic/peak_detection.vhd
ASPs/PD-ASP/vhdl/top_level_pd_asp.vhd
ASPs/VHDL-Autocorrelator/src/util/address_constants.vhd
ASPs/VHDL-Autocorrelator/src/processor/cor_asp.vhd
ASPs/701AvgASP/ip/queue.vhd
ASPs/701AvgASP/ip/div.vhd
ASPs/701AvgASP/src/asp_control_unit.vhd
ASPs/701AvgASP/src/asp.vhd
ReCOPs/701-ReCOP/src/vhdl/utils/file_paths.vhd
ReCOPs/701-ReCOP/src/vhdl/utils/recop_types.vhd
ReCOPs/701-ReCOP/src/vhdl/utils/mux_select_constants.vhd
ReCOPs/701-ReCOP/src/vhdl/utils/opcodes.vhd
ReCOPs/701-ReCOP/src/vhdl/utils/alu_ops.vhd
ReCOPs/701-ReCOP/src/vhdl/arith/max.vhd
ReCOPs/701-ReCOP/src/vhdl/arith/alu.vhd
ReCOPs/701-ReCOP/src/vhdl/memory/data_mem.vhd
ReCOPs/701-ReCOP/src/vhdl/memory/prog_mem.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/pc.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/instruction_register.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/register_file.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/control_unit.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/data_path.vhd
ReCOPs/701-ReCOP/src/vhdl/processor/top_level.vhd
src/vhdl/nios_noc_interface.vhd
src/vhdl/TopLevel.vhd
}
test_library {
test/TdmaMin/TestTdmaMin.vhd
test/TdmaMin/TestTdmaMinInterface.vhd
test/testbench_nios_noc_interface.vhd
test/testbench_asp_integration.vhd
test/testbench_environment_integration.vhd
test/testbench_valued_switches.vhd
test/testbench_corr_config.vhd
}
}
#Does this installation support Tk?
set tk_ok 1
if [catch {package require Tk}] {set tk_ok 0}
catch {
vlib work
}
foreach {library file_list} $library_file_list {
vlib $library
vmap $library work
foreach file $file_list {
if [regexp {.vhdl?$} $file] {
vcom -93 $file
} else {
vlog $file
}
}
}
puts {
*************************************************************************************************
All files successfully compiled. You may now run the .do scripts that are prefixed with 'run_test'
*************************************************************************************************
Q: wHaT iS rEc0P?????
A: You asking questions that make NO SENSE
}