User`s manual

Source window
7-152 ModelSim XE Graphic Interface ModelSim Xilinx Users Manual
Source window
The Source window allows you to view and edit your HDL source code. Select an
item in the Structure window
(7-158) or use the File menu to add a source file to
the window, then select a process in the Process window
(7-142) to view that
process; an arrow next to the line numbers indicates the selected process. (Your
source code can remain hidden if you wish, see "Source code security and -
nodebug"
(C-292). A dot next to a line number indicates a breakpoint. Breakpoints
can only occur at executable lines, which are indicated by green line numbers.
If any breakpoints have been set, each is signified by a colored dot next to a line
number at the left side of the window pane. To set a breakpoint, click at or near
the line number in the numbered area at the left side of the window. The
breakpoints are toggles, so you can click again to delete an existing breakpoint.
There is no limit to the number of breakpoints you can set. See also the bp
command
(CR-31) (breakpoint) command.
To look at a file that is not currently being displayed, use the Structure window
(7-
158)
to select a different design unit or use the Source menu selection: File >
Open. The pathname of the source file is indicated in the header of the Source
window.
You can copy and paste text between the Source window and the Main window
(7-113); select the text you want to copy, then paste it into the Main window with
the middle button (3-button mouse), right button (2-button mouse).