Newer
Older
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
# 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 "DEPTH" -parent ${Page_0}
ipgui::add_param $IPINST -name "INIT_FILE" -parent ${Page_0}
ipgui::add_param $IPINST -name "RAM_STYLE" -parent ${Page_0}
ipgui::add_param $IPINST -name "WIDTH" -parent ${Page_0}
}
proc update_PARAM_VALUE.DEPTH { PARAM_VALUE.DEPTH } {
# Procedure called to update DEPTH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.DEPTH { PARAM_VALUE.DEPTH } {
# Procedure called to validate DEPTH
return true
}
proc update_PARAM_VALUE.INIT_FILE { PARAM_VALUE.INIT_FILE } {
# Procedure called to update INIT_FILE when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.INIT_FILE { PARAM_VALUE.INIT_FILE } {
# Procedure called to validate INIT_FILE
return true
}
proc update_PARAM_VALUE.RAM_STYLE { PARAM_VALUE.RAM_STYLE } {
# Procedure called to update RAM_STYLE when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.RAM_STYLE { PARAM_VALUE.RAM_STYLE } {
# Procedure called to validate RAM_STYLE
return true
}
proc update_PARAM_VALUE.WIDTH { PARAM_VALUE.WIDTH } {
# Procedure called to update WIDTH when any of the dependent parameters in the arguments change
}
proc validate_PARAM_VALUE.WIDTH { PARAM_VALUE.WIDTH } {
# Procedure called to validate WIDTH
return true
}
proc update_MODELPARAM_VALUE.DEPTH { MODELPARAM_VALUE.DEPTH PARAM_VALUE.DEPTH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.DEPTH}] ${MODELPARAM_VALUE.DEPTH}
}
proc update_MODELPARAM_VALUE.WIDTH { MODELPARAM_VALUE.WIDTH PARAM_VALUE.WIDTH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.WIDTH}] ${MODELPARAM_VALUE.WIDTH}
}
proc update_MODELPARAM_VALUE.INIT_FILE { MODELPARAM_VALUE.INIT_FILE PARAM_VALUE.INIT_FILE } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.INIT_FILE}] ${MODELPARAM_VALUE.INIT_FILE}
}
proc update_MODELPARAM_VALUE.RAM_STYLE { MODELPARAM_VALUE.RAM_STYLE PARAM_VALUE.RAM_STYLE } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
set_property value [get_property value ${PARAM_VALUE.RAM_STYLE}] ${MODELPARAM_VALUE.RAM_STYLE}
}
proc update_MODELPARAM_VALUE.AXILITE_ADDR_WIDTH { MODELPARAM_VALUE.AXILITE_ADDR_WIDTH } {
# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
# WARNING: There is no corresponding user parameter named "AXILITE_ADDR_WIDTH". Setting updated value from the model parameter.
set_property value 11 ${MODELPARAM_VALUE.AXILITE_ADDR_WIDTH}
}