GDview_selector


Synopsis

selects the currently selected view from a list of inputs views

Input Ports

input_views

GDview_templ

Output Ports

curr_view

GDview_templ

Description

Selects between the list of input views. When the user select a view window with the mouse, that window becomes the output curr_view parameter. The current view selection is based on the View.selected parameter. When this parameter changes to either a 1 (selected) or a 0 (unselected), the GDview_selector module is run. It chooses the view with the value of View.selected = 1 that was modified the most recently and makes this the current view. All other views have the View.selected parameter reset to 0. If no views have the View.selected set to 1, the first view in the list of input views is chosen.

Input Ports

input_views

List of input_views.

Output Ports

curr_view

Connection to a GDview_templ object that is the current view.

Example

Uviewer

File

v/gdm.v