The Vivado IDE provides a Text Editor in which to create or modify RTL, XDC, Tcl and other text sources. The Text Editor is context-sensitive when editing Verilog, VHDL, XDC, and Tcl files, and uses color-coding to distinguish keywords and constructs. It is a configurable, integrated text editor that supports syntax highlighting and on-the-fly checking, assistance with errors and warnings, code folding, code completion, and file comparison. See Using the Text Editor in the Vivado Design Suite User Guide: Using the Vivado IDE (UG893) for information on specific commands in the text editor.
You can open multiple files simultaneously, and click the tab for each open file to switch between files. In the tab for the open file, the Vivado IDE appends an asterisk (*) to the file name for modified files that need to be saved. To save the file, use one of the following methods:
- Select File > Text Editor > Save File.
- In the Vivado IDE Text Editor, select Save File from the right-click menu.
- In the Vivado IDE Text Editor, use the Save File
Note: If you attempt to close a file with unsaved changes, the Vivado IDE prompts you to save the changes.Tip: Use the Save As command to save the source file to a new location.