From 3d81cfe9c1028ae989f580e42aad0414081b5e7c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 18 May 2025 14:07:21 -0400 Subject: Batman --- .../module_commande/xgui/module_commande_v1_0.tcl | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pb_logique_seq.gen/sources_1/bd/mref/module_commande/xgui/module_commande_v1_0.tcl (limited to 'pb_logique_seq.gen/sources_1/bd/mref/module_commande/xgui') diff --git a/pb_logique_seq.gen/sources_1/bd/mref/module_commande/xgui/module_commande_v1_0.tcl b/pb_logique_seq.gen/sources_1/bd/mref/module_commande/xgui/module_commande_v1_0.tcl new file mode 100644 index 0000000..9206ace --- /dev/null +++ b/pb_logique_seq.gen/sources_1/bd/mref/module_commande/xgui/module_commande_v1_0.tcl @@ -0,0 +1,40 @@ +# 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 "mode_simulation" -parent ${Page_0} + ipgui::add_param $IPINST -name "nbtn" -parent ${Page_0} + + +} + +proc update_PARAM_VALUE.mode_simulation { PARAM_VALUE.mode_simulation } { + # Procedure called to update mode_simulation when any of the dependent parameters in the arguments change +} + +proc validate_PARAM_VALUE.mode_simulation { PARAM_VALUE.mode_simulation } { + # Procedure called to validate mode_simulation + return true +} + +proc update_PARAM_VALUE.nbtn { PARAM_VALUE.nbtn } { + # Procedure called to update nbtn when any of the dependent parameters in the arguments change +} + +proc validate_PARAM_VALUE.nbtn { PARAM_VALUE.nbtn } { + # Procedure called to validate nbtn + return true +} + + +proc update_MODELPARAM_VALUE.nbtn { MODELPARAM_VALUE.nbtn PARAM_VALUE.nbtn } { + # Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value + set_property value [get_property value ${PARAM_VALUE.nbtn}] ${MODELPARAM_VALUE.nbtn} +} + +proc update_MODELPARAM_VALUE.mode_simulation { MODELPARAM_VALUE.mode_simulation PARAM_VALUE.mode_simulation } { + # Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value + set_property value [get_property value ${PARAM_VALUE.mode_simulation}] ${MODELPARAM_VALUE.mode_simulation} +} + -- cgit v1.2.3