# 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 "g_data_pcie_clk_same" -parent ${Page_0}
  ipgui::add_param $IPINST -name "g_debug" -parent ${Page_0}
  ipgui::add_param $IPINST -name "g_batch_length" -parent ${Page_0}


}

proc update_PARAM_VALUE.g_batch_length { PARAM_VALUE.g_batch_length } {
	# Procedure called to update g_batch_length when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.g_batch_length { PARAM_VALUE.g_batch_length } {
	# Procedure called to validate g_batch_length
	return true
}

proc update_PARAM_VALUE.g_data_pcie_clk_same { PARAM_VALUE.g_data_pcie_clk_same } {
	# Procedure called to update g_data_pcie_clk_same when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.g_data_pcie_clk_same { PARAM_VALUE.g_data_pcie_clk_same } {
	# Procedure called to validate g_data_pcie_clk_same
	return true
}

proc update_PARAM_VALUE.g_debug { PARAM_VALUE.g_debug } {
	# Procedure called to update g_debug when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.g_debug { PARAM_VALUE.g_debug } {
	# Procedure called to validate g_debug
	return true
}


proc update_MODELPARAM_VALUE.g_data_pcie_clk_same { MODELPARAM_VALUE.g_data_pcie_clk_same PARAM_VALUE.g_data_pcie_clk_same } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.g_data_pcie_clk_same}] ${MODELPARAM_VALUE.g_data_pcie_clk_same}
}

proc update_MODELPARAM_VALUE.g_debug { MODELPARAM_VALUE.g_debug PARAM_VALUE.g_debug } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.g_debug}] ${MODELPARAM_VALUE.g_debug}
}

proc update_MODELPARAM_VALUE.g_batch_length { MODELPARAM_VALUE.g_batch_length PARAM_VALUE.g_batch_length } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.g_batch_length}] ${MODELPARAM_VALUE.g_batch_length}
}

