About the Quartus II Text Editor


The Quartus II Text Editor is a flexible tool that you can use to enter text-based designs in AHDL, VHDL, Verilog HDL, and Tcl languages. Right-click commands, auto-complete text entry, and error checking features allow you to easily create Text Design Files (.tdf), VHDL Design Files (.vhd), Verilog Design Files (.v), SystemVerilog Design Files (.sv), and Tcl Script Files (.tcl). You can also generate a .tcl file from a Quartus II project, and then edit it in the Quartus II Text Editor. You can freely combine .tdf, .vhd, and .v files with other types of design files in a hierarchical project. Additionally, you can create or edit Assembly Files (.a, .asm), C/C++ Include Files (.h), C Source Files (.c), C++ Source Files (.cpp), and ASCII files, including those created for or by the Quartus II software. Code element templates provide an easy way to enter code and increase the speed and accuracy of design entry.

If you choose not to use the Quartus II Text Editor, the Quartus II software allows you to define your preferred text editor in the Options dialog box. Before using an external text editor, you must first close all files open in the Quartus II Text Editor; otherwise, the external text editor you select does not open properly.

With the Quartus II Text Editor, you can take advantage of unique features to help you debug your Quartus II project. For example, the Messages window allows you to locate and highlight design file errors in the Quartus II Text Editor. The text editor indicates errors that occur during compilation with a yellow circle at the line number in the design file where the error occurred. Hovering your mouse over the yellow circle displays a tooltip with a description of the error.

You can dock or undock  the text editor window from the main Quartus II window by clicking the Detach  Window or Attach Window icon, which gives you additional flexibility when you create and debug design files. Each time you save a file, the Quartus II Text Editor creates a backup file in the same directory as the open file as <file name>.bak.

In the Quartus II Text Editor, if the node text is tappable, you can click the Add Node to SignalTap II Logic Analyzer command on the shortcut menu, and then choose to add the selected node to a new SignalTap II File (.stp), or to an existing .stp file that appears on the shortcut menu.

You can customize the Quartus II Text Editor with options on the Headers & Footers Settings page, the Preferred Text Editor page, or the Text Editor page, in the Quartus II software. The following are descriptions of popular editing features available in the Quartus II Text Editor:


Rate This Page