The Emacs (http://www.gnu.org/software/emacs/) extensible editor is the first choice for many programmers, and the DML Toolkit includes a customized mode for editing DML source files. The DML mode is an extension of the standard Emacs editing mode for the C programming language.
The source file dml-mode.el for the DML mode can be found in the [simics]/scripts directory. To use it, add the following lines to your emacs configuration file (usually [home]/.emacs or [home]/.xemacs/init.el):
(setq load-path (cons "[simics]/scripts" load-path)) (autoload 'dml-mode "dml-mode" "DML mode" t) (add-to-list 'auto-mode-alist '("\\.dml\\'" . dml-mode))(you may need to replace the text [simics] in the above with the full path to your Simics installation). After restarting Emacs, the DML mode should be automatically enabled when you open a file whose name ends in ".dml".
For more information, run the command M-x describe-mode in an Emacs buffer using the DML mode, or read the "Editing Programs" section of the Emacs documentation