Technical data
Source window
156
-
ModelSim EE Graphic Interface ModelSim EE/PLUS Reference Manual
Source window
The Source window allows you to view and edit your HDL source code. Select an
item in the Structure window (p162) or use the
File
menu to add a source file to
the window, then select a process in the Process window (p147) 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" (p534).)
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 (p278) (breakpoint) command.
To look at a file that is not currently being displayed, use the Structure window
(p162) 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
(p116); 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).