VPR UI
UI SETUP
Functions
-
void basic_button_setup(ezgl::application *app)
configures basic buttons
Sets up Window, Search, Save, and SearchType buttons. Buttons are created in glade main.ui file. Connects them to their cbk functions. Always called.
-
void net_button_setup(ezgl::application *app)
sets up net related buttons and connects their signals
Sets up the toggle nets combo box, net alpha spin button, and max fanout spin button which are created in main.ui file. Found in Net Settings dropdown. Always called.
-
void block_button_setup(ezgl::application *app)
sets up block related buttons, connects their signals
Connects signals and sets init. values for blk internals spin button, blk pin util combo box,placement macros combo box, and noc combo bx created in main.ui. Found in Block Settings dropdown. Always Called.
-
void search_setup(ezgl::application *app)
Loads required data for search autocomplete, sets up special completion fn.
-
void routing_button_setup(ezgl::application *app)
configures and connects signals/functions for routing buttons
Connects signals/sets default values for toggleRRButton, ToggleCongestion, ToggleCongestionCost, ToggleRoutingBBox, RoutingExpansionCost, ToggleRoutingUtil buttons. Called in all startup options/runs that include Routing
Connects signals/sets default values for toggleRRButton, ToggleCongestion, ToggleCongestionCost, ToggleRoutingBBox, RoutingExpansionCost, ToggleRoutingUtil buttons.
-
void view_button_setup(ezgl::application *app)
configures and connects signals/functions for View buttons
Determines how many layers there are and displays depending on number of layers
-
void crit_path_button_setup(ezgl::application *app)
connects critical path button to its cbk fn. Called in all setup options that show crit. path
connects critical path button to its cbk fn. Called in all setup options that show crit. path
- Parameters:
app – ezgl application
-
void hide_crit_path_routing(ezgl::application *app)
Hides or displays Critical Path routing / routing delay UI elements, Use to ensure we don’t show inactive buttons etc. when routing data doesn’t exist.
Hides or displays Critical Path routing / routing delay UI elements, Use to ensure we don’t show inactive buttons etc. when routing data doesn’t exist.
- Parameters:
app – ezgl app
-
void hide_draw_routing(ezgl::application *app)
Hides the option to draw routing when in placement stage, and shows it in routing stage.
-
void load_block_names(ezgl::application *app)
Loads block names into Gtk Structures to enable autocomplete.
Loads block names into Gtk Structures to enable autocomplete.
- Parameters:
app – ezgl application used for ui
-
void load_net_names(ezgl::application *app)
Loads net names into Gtk ListStore to enable autocomplete.
-
void hide_widget(std::string widgetName, ezgl::application *app)
Hides widget with given name; name is id string created in Glade.
-
void show_widget(std::string widgetName, ezgl::application *app)
Shows widget with given name; name is id string created in Glade.
Shows widget with given name; name is id string created in Glade.