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