s" ${EN_COMMON_STATS}
	set_property tooltip "When enabled, provides control on the per priority max frame size configuration.  Disabling it can save significant LUTs" ${EN_PER_PRIQ_CNFGS}
	set_property tooltip "Scheduled Queue. When Frame Preemption is enabled, Scheduled queue is always in Cut Through mode" ${SCHEDULED_QUEUE}
	set_property tooltip "Reserved Queue" ${RESERVED_QUEUE}
	set_property tooltip "Best Effort Queue. When Frame Preemption is enabled, Best effort queue is always in Store And Forward mode" ${BESTEFFORT_QUEUE}

#variable unlicensed
#set_license
#if {$unlicensed == 1} {
#   set_property visible true $license_text
#} else {
#   set_property visible false $license_text
#}
#}

proc update_gui_for_PARAM_VALUE.EN_ADV_OPTIONS {IPINST PARAM_VALUE.EN_ADV_OPTIONS } {
    if {[get_property value ${PARAM_VALUE.EN_ADV_OPTIONS}]} {
      set_property  visible true [ipgui::get_pagespec "Extended Options" -of $IPINST]
    } else {
      set_property  visible false [ipgui::get_pagespec "Extended Options" -of $IPINST]
    }
}

proc update_PARAM_VALUE.EN_ADV_OPTIONS { PARAM_VALUE.EN_ADV_OPTIONS PARAM_VALUE.TSN_EP_Switch } {
    if {[get_property value ${PARAM_VALUE.TSN_EP_Switch}]} {
        set_property enabled true ${PARAM_VALUE.EN_ADV_OPTIONS}  
    } else {
        set_property value false ${PARAM_VALUE.EN_ADV_OPTIONS}  
        set_property enabled false ${PARAM_VALUE.EN_ADV_OPTIONS}  
    }

}

proc update_gui_for_PARAM_VALUE.TSN_EP_Switch {IPINST PARAM_VALUE.TSN_EP_Switch } {
    if {[get_property value ${PARAM_VALUE.TSN_EP_Switch}] == 0} {
    set_property  visible true [ipgui::get_groupspec  "Frame Filter Options" -of $IPINST]
    set_property  visible false [ipgui::get_groupspec "TSN Switch Options" -of $IPINST]
    set_property  visible false [ipgui::get_guiparamspec "EN_FRAME_PREEMPTION_SUPPORT_MAC_2" -of $IPINST]
#    set_property  visible false [ipgui::get_pagespec "Extended Options" -of $IPINST]
    } else {
    set_property  visible false [ipgui::get_groupspec  "Frame Filter Options" -of $IPINST]