X-Amin contains an internal HDL editor which provides standard editing features for HDL code including:
An HDL editor window is created inGUI-mode using the Diagram menu (Diagram->HDL) or using the HDL Diagram icon
on the Diagram toolbar. The HDL editor window is shown below:
The bottom-left entry box of the HDL editor is used to search for fast find of text in the window. The Blk: field on the bottom-right of the window indicates the concurrent block number that the cursor is currently on. The concurrent block number can be used in other diagram commands (flow, flowchart, etc.) to limit the information to be displayed.
In command-line mode, an HDL editor window is created using the hdl command. The format for the hdl command is:
SYNTAX (void) hdl [-title <title>] [<namespace>...]
ARGUMENTS -title <title> Specifies the HDL Window title. Windows are identi fied by their titles which must be unique. The default title is the component name.
<namespace> Open an HDL Window for the specified namespace(s). If no namespaces are specified, open an HDL Window for the current scope.
Details of using the internal HDL editor are provided in the next several sections.
External Editor:
For user convenience, X-Amin also supports the use of external editors. When an external editor is configured, X-Amin will invoke that editor whenever a new HDL page is created. Note that all external editor pages will be created in a new top-level window.
To configure X-Amin for an external editor:
Menu: Edit->Configure->HDL Editor
Select: "Use External Editor" checkbox
Enter: Path to the external editor program, plus any desired command-line options.