User`s manual

Source window
ModelSim Xilinx Users Manual ModelSim XE Graphic Interface 7-153
The Source window menu bar
The following menu commands are available from the Source window menu bar.
File menu
Edit menu
To edit a source file, make sure the Read Only option in the Source Options
dialog box is not selected (use the Source menu Edit > read only selection).
New edit a new (VHDL, Verilog or Other) source file
Open select a source file to open
Use Source specifies an alternative file to use for the current source file; this alternative source
mapping exists for the current simulation only
Source Directory add to a list of directories (the SourceDir variable in modelsim.tcl) to search for
source files
Properties lists a variety of information about the source file; for example, file type, file size,
file modification date
Save save the current source file
Save_As save the current source file with a different name
Compile complies HDL source files
Close close this copy of the Source window
<editing option> basic editing options include: Cut, Copy, Paste, Select All, and Unselect All; see:
"Mouse and keyboard shortcuts in the Transcript and Source windows"
(7-121)
Find... find the specified text string within the source file; match case option
read only toggles the read-only status of the current source file