-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvga_top_v1_0.tcl
160 lines (126 loc) · 6.64 KB
/
vga_top_v1_0.tcl
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Definitional proc to organize widgets for parameters.
proc init_gui { IPINST } {
ipgui::add_param $IPINST -name "Component_Name"
#Adding Page
set Page_0 [ipgui::add_page $IPINST -name "Page 0"]
ipgui::add_param $IPINST -name "H_BACK_PORCH" -parent ${Page_0}
ipgui::add_param $IPINST -name "H_DISPLAY" -parent ${Page_0}
ipgui::add_param $IPINST -name "H_FRONT_PORCH" -parent ${Page_0}
ipgui::add_param $IPINST -name "H_SYNC_PULSE" -parent ${Page_0}
ipgui::add_param $IPINST -name "H_TOTAL" -parent ${Page_0}
ipgui::add_param $IPINST -name "V_BACK_PORCH" -parent ${Page_0}
ipgui::add_param $IPINST -name "V_DISPLAY" -parent ${Page_0}
ipgui::add_param $IPINST -name "V_FRONT_PORCH" -parent ${Page_0}
ipgui::add_param $IPINST -name "V_SYNC_PULSE" -parent ${Page_0}
ipgui::add_param $IPINST -name "V_TOTAL" -parent ${Page_0}
}
proc update_PARAM_VALUE.H_BACK_PORCH { PARAM_VALUE.H_BACK_PORCH } {
# Procedure called to update H_BACK_PORCH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.H_BACK_PORCH { PARAM_VALUE.H_BACK_PORCH } {
# Procedure called to validate H_BACK_PORCH
return true
}
proc update_PARAM_VALUE.H_DISPLAY { PARAM_VALUE.H_DISPLAY } {
# Procedure called to update H_DISPLAY when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.H_DISPLAY { PARAM_VALUE.H_DISPLAY } {
# Procedure called to validate H_DISPLAY
return true
}
proc update_PARAM_VALUE.H_FRONT_PORCH { PARAM_VALUE.H_FRONT_PORCH } {
# Procedure called to update H_FRONT_PORCH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.H_FRONT_PORCH { PARAM_VALUE.H_FRONT_PORCH } {
# Procedure called to validate H_FRONT_PORCH
return true
}
proc update_PARAM_VALUE.H_SYNC_PULSE { PARAM_VALUE.H_SYNC_PULSE } {
# Procedure called to update H_SYNC_PULSE when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.H_SYNC_PULSE { PARAM_VALUE.H_SYNC_PULSE } {
# Procedure called to validate H_SYNC_PULSE
return true
}
proc update_PARAM_VALUE.H_TOTAL { PARAM_VALUE.H_TOTAL } {
# Procedure called to update H_TOTAL when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.H_TOTAL { PARAM_VALUE.H_TOTAL } {
# Procedure called to validate H_TOTAL
return true
}
proc update_PARAM_VALUE.V_BACK_PORCH { PARAM_VALUE.V_BACK_PORCH } {
# Procedure called to update V_BACK_PORCH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.V_BACK_PORCH { PARAM_VALUE.V_BACK_PORCH } {
# Procedure called to validate V_BACK_PORCH
return true
}
proc update_PARAM_VALUE.V_DISPLAY { PARAM_VALUE.V_DISPLAY } {
# Procedure called to update V_DISPLAY when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.V_DISPLAY { PARAM_VALUE.V_DISPLAY } {
# Procedure called to validate V_DISPLAY
return true
}
proc update_PARAM_VALUE.V_FRONT_PORCH { PARAM_VALUE.V_FRONT_PORCH } {
# Procedure called to update V_FRONT_PORCH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.V_FRONT_PORCH { PARAM_VALUE.V_FRONT_PORCH } {
# Procedure called to validate V_FRONT_PORCH
return true
}
proc update_PARAM_VALUE.V_SYNC_PULSE { PARAM_VALUE.V_SYNC_PULSE } {
# Procedure called to update V_SYNC_PULSE when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.V_SYNC_PULSE { PARAM_VALUE.V_SYNC_PULSE } {
# Procedure called to validate V_SYNC_PULSE
return true
}
proc update_PARAM_VALUE.V_TOTAL { PARAM_VALUE.V_TOTAL } {
# Procedure called to update V_TOTAL when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.V_TOTAL { PARAM_VALUE.V_TOTAL } {
# Procedure called to validate V_TOTAL
return true
}
proc update_MODELPARAM_VALUE.H_DISPLAY { MODELPARAM_VALUE.H_DISPLAY PARAM_VALUE.H_DISPLAY } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.H_DISPLAY}] ${MODELPARAM_VALUE.H_DISPLAY}
}
proc update_MODELPARAM_VALUE.H_FRONT_PORCH { MODELPARAM_VALUE.H_FRONT_PORCH PARAM_VALUE.H_FRONT_PORCH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.H_FRONT_PORCH}] ${MODELPARAM_VALUE.H_FRONT_PORCH}
}
proc update_MODELPARAM_VALUE.H_SYNC_PULSE { MODELPARAM_VALUE.H_SYNC_PULSE PARAM_VALUE.H_SYNC_PULSE } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.H_SYNC_PULSE}] ${MODELPARAM_VALUE.H_SYNC_PULSE}
}
proc update_MODELPARAM_VALUE.H_BACK_PORCH { MODELPARAM_VALUE.H_BACK_PORCH PARAM_VALUE.H_BACK_PORCH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.H_BACK_PORCH}] ${MODELPARAM_VALUE.H_BACK_PORCH}
}
proc update_MODELPARAM_VALUE.H_TOTAL { MODELPARAM_VALUE.H_TOTAL PARAM_VALUE.H_TOTAL } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.H_TOTAL}] ${MODELPARAM_VALUE.H_TOTAL}
}
proc update_MODELPARAM_VALUE.V_DISPLAY { MODELPARAM_VALUE.V_DISPLAY PARAM_VALUE.V_DISPLAY } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.V_DISPLAY}] ${MODELPARAM_VALUE.V_DISPLAY}
}
proc update_MODELPARAM_VALUE.V_FRONT_PORCH { MODELPARAM_VALUE.V_FRONT_PORCH PARAM_VALUE.V_FRONT_PORCH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.V_FRONT_PORCH}] ${MODELPARAM_VALUE.V_FRONT_PORCH}
}
proc update_MODELPARAM_VALUE.V_SYNC_PULSE { MODELPARAM_VALUE.V_SYNC_PULSE PARAM_VALUE.V_SYNC_PULSE } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.V_SYNC_PULSE}] ${MODELPARAM_VALUE.V_SYNC_PULSE}
}
proc update_MODELPARAM_VALUE.V_BACK_PORCH { MODELPARAM_VALUE.V_BACK_PORCH PARAM_VALUE.V_BACK_PORCH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.V_BACK_PORCH}] ${MODELPARAM_VALUE.V_BACK_PORCH}
}
proc update_MODELPARAM_VALUE.V_TOTAL { MODELPARAM_VALUE.V_TOTAL PARAM_VALUE.V_TOTAL } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.V_TOTAL}] ${MODELPARAM_VALUE.V_TOTAL}
}