The primary GUI of SCE is the Main Window, which is displayed in Figure 3-1. The Main Window consists of six parts:
A Menu Bar that contains four columns of commands. Each column is a drop-down menu (see Section 3.1).
A Tool Bar that contains a list of short-cut icons. Each icon represents a command in the menu bar.
A Project Window (see Section 3.2).
A Workspace that contains a number of opened Design Windows (see Section 3.3).
An Output Window (see Section 3.4).
A Status Bar that displays the current status of SCE, such as Loading... or Ready.
In this section, we introduce organization-related and display-related details of Menu Bar, Project Window, Display Windows, and Output Window. Some windows contain drop-down menus or pop-up menus. The menus further contain design commands. The usage and functionality behind the commands will be described later in Chapter 4.
The Menu Bar contains six main menu entries: File, View, Project, Synthesis, Windows, and Help. Each main menu entry is a drop-down menu which contains a number of commands. In general, unless otherwise noted, selecting a main menu entry will apply the corresponding action to the currently active design, i.e. to the design window in the workspace that currently has the input focus. If there is no currently active design window, menu commands will silently fail (do nothing).
The File menu contains eight commands:
Selecting Open... will allow loading and opening of an existing design file. (see Section 4.3.1).
Selecting Close will close the currently active design (see Section 4.3.3).
Selecting Save will save the currently active design file (see Section 4.3.2).
Selecting Save As... will save the currently active design as a new file (see Section 4.3.2).
Selecting Save All will save all the opened files (see Section 4.3.2).
Selecting Reload will triggering reloading of the currently active design file from disk (e.g. in case the file has changed on disk).
Selecting Reload All will triggering reloading of all currently opened and loaded design files from disk (e.g. in case files have changed on disk).
Selecting Import... will allow loading and opening of external SpecC source code design files (see Section 4.3.4).
Selecting Export... will allow saving and exporting of the currently active design in SpecC source code format (see Section 4.3.5).
Selecting Statistics will produce output about general statistics (number of lines, numbers of design entities, etc.) in the Output Window.
Selecting Properties... will display the properties of the currently active design (see Section 4.3.6).
Selecting Exit will exit from and quit SCE (see Section 4.3.7).
The View menu contains three commands:
Selecting Show Variables will toggle displaying of variables in the currently active design window (see Section 4.4.1).
Selecting Show Channels will toggle displaying of channels in the currently active design window. (see Section 4.4.1)
Selecting Hierarchy... will pop up a submenu that allows to choose between different modes for the amount of detail displayed in the design hierarchy in the currently active design window (see Section 4.4.1).
Selecting Select All will mark all items in the sidebar of the currently active design window as selected.
Selecting Deselect All will mark all items in the sidebar of the currently active design window as deselected.
Selecting Select Leaves will mark all leaf items (behavior and channel entities) in the sidebar of the currently active design window as selected.
Selecting Find... will allow searching for and selecting of items by name and type in the sidebar of the currently active design window (see Section 4.4.2).
Selecting Find Next will select the next item in the list of items returned by a previous Find... operation in the sidebar of the currently active design window (see Section 4.4.2).
Selecting Find Previous will select the previous item in the list of items returned by a previous Find... operation in the sidebar of the currently active design window (see Section 4.4.2).
Selecting Preferences... will allow viewing and modifying of application preferences (see Section 4.1).
The Project menu contains seven commands:
Selecting New will create a new project and open it (see Section 4.2.1)
Selecting Open... will open an existing project file (see Section 4.2.2).
Selecting Close will close the current project (see Section 4.2.10).
Selecting Save will save the current project file (see Section 4.2.3).
Selecting Save As... will save the current project as a new project file (see Section 4.2.3).
Selecting Add Design will add the current design to the current project (see Section 4.2.5).
Selecting Settings... will allow viewing and modifying of project settings (see Section 4.2.4).
The Synthesis menu contains eight commands:
Selecting Allocate PEs... allocation and selection of PEs/memories from the PE database (see Section 4.5.1).
Selecting Architecture Refinement... will perform architecture refinement to generate the refined architecture model (see Section 4.5.3).
Selecting Allocate Network will allow users to define the communication topology (see Section 4.6.1).
Selecting Network Refinement will perform network refinement to generate the refined network model (see Section 4.6.3).
Selecting Assign Bus Paramter will allow users to select the paramters for each bus segment in the design (see Section 4.7.1).
Selecting Communication Refinement will perform communication refinement to generate the refined transaction-level or communication model (see Section 4.7.2).
Selecting Import Design... will import a design file into the currently active design (see Section 4.4.9).
Selecting Import Decisions... will allow importing of design decisions from another opened design (see Section 4.4.10).
The Windows menu contains six commands:
Selecting Close will close the currently active design window in the Workspace.
Selecting Close All will close all design windows in the Workspace.
Selecting Next will switch focus to and raise the next design window in the Workspace.
Selecting Previous will switch focus to and raise the previous design window in the Workspace.
Selecting Tile will switch focus to and raise the previous design window in the Workspace.
Selecting Cascade will rearrange the design windows in the Workspace in a cascaded style.
Selecting/unselecting Project Window will display or undisplay the Project Window.
Selecting/unselecting Output Window will display or undisplay the Output Window.
At the bottom of the Windows menu, the names of all opened design windows will be listed. Selecting the name of a design will switch focus to and raise (bring to the front) the corresponding design window.
Details about the usage and functionality of these commands are introduced in Section 4.8.
The Help menu contains one command:
Selecting Manual... will open the SCE user manual in the online help browser.
Selecting About... will pop up a dialog with version and copyright information of the SCE environment.