2008-05-07 Michael McNamara * verilog-mode.el (verilog-do-indent): remove special indent for declarations inside a parenthetical list. The code is ill-advised, and doesn't work given user defined types. (verilog-set-auto-endcomments): enhance function automatic endcomment to support functions that return user defined types. (verilog-mode): Add code to tell which-function-mode minor mode that Verilog supports this feature. ------------------------------------------------------------------------ r421 | wsnyder | 2008-05-06 08:01:46 -0700 (Tue, 06 May 2008) | 1 line Merges from Emacs mainline 1.20 ------------------------------------------------------------------------ r420 | wsnyder | 2008-04-23 14:13:11 -0700 (Wed, 23 Apr 2008) | 4 lines Performance Improvements: Speed up large AUTOINST modules. On large modules, the end result of this and the last several changes is a ~300% speedup in auto expansion. ------------------------------------------------------------------------ r419 | wsnyder | 2008-04-23 13:19:31 -0700 (Wed, 23 Apr 2008) | 1 line Performance: Fix library caching breaking local variable changes ------------------------------------------------------------------------ r418 | wsnyder | 2008-04-23 11:23:43 -0700 (Wed, 23 Apr 2008) | 1 line Performance improvements: Cache directory lookups ------------------------------------------------------------------------ r417 | wsnyder | 2008-04-23 08:22:40 -0700 (Wed, 23 Apr 2008) | 1 line Performance enhancements: quote regexps inline ------------------------------------------------------------------------ r416 | wsnyder | 2008-04-23 08:20:00 -0700 (Wed, 23 Apr 2008) | 1 line Fix typo in getopt error message ------------------------------------------------------------------------ r415 | wsnyder | 2008-04-17 05:58:09 -0700 (Thu, 17 Apr 2008) | 1 line Commentary; merge from GNU CVS 1.19 ------------------------------------------------------------------------ r413 | mac | 2008-04-13 17:17:42 -0700 (Sun, 13 Apr 2008) | 9 lines 2008-04-13 Michael McNamara * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in as pragma keywords (verilog-mode): more portable check for the availability of hideshow support ------------------------------------------------------------------------ r412 | wsnyder | 2008-03-28 06:42:49 -0800 (Fri, 28 Mar 2008) | 1 line Update documentation to use consistant module names. [Ori Rozenblum] ------------------------------------------------------------------------ r411 | wsnyder | 2008-03-27 09:59:51 -0800 (Thu, 27 Mar 2008) | 1 line Add optional regexp to AUTOINOUTMODULE ------------------------------------------------------------------------ r410 | wsnyder | 2008-03-24 06:18:16 -0800 (Mon, 24 Mar 2008) | 3 lines Add optional regexp to AUTOINPUT, AUTOOUTPUT, AUTOINOUT that specifies what signals to include. [Bruce A Tennant] ------------------------------------------------------------------------ r409 | mac | 2008-03-21 20:03:41 -0800 (Fri, 21 Mar 2008) | 6 lines Synchronize with GNU 2008-03-21 Michael McNamara * verilog-mode.el (verilog-pretty-expr): Remove ':' from regexp that says we are not lining up expressions to allow a[3:0] = b; ------------------------------------------------------------------------ r408 | wsnyder | 2008-03-20 05:07:08 -0800 (Thu, 20 Mar 2008) | 1 line Merges from Emacs 22 branch, rev 1.16 ------------------------------------------------------------------------ r407 | wsnyder | 2008-03-17 12:22:48 -0800 (Mon, 17 Mar 2008) | 1 line Fix .* inside quotes causing verilog-auto errors [Dan Jackson] ------------------------------------------------------------------------ r406 | wsnyder | 2008-03-17 10:09:49 -0800 (Mon, 17 Mar 2008) | 1 line Add tooltips to menus [Dan Nicolaescu] ------------------------------------------------------------------------ r405 | wsnyder | 2008-03-17 06:24:13 -0800 (Mon, 17 Mar 2008) | 1 line Fix AUTOINPUT/AUTOOUTPUT mis-including genvars. [Bruce A Tennant] ------------------------------------------------------------------------ r404 | mac | 2008-03-02 22:53:01 -0800 (Sun, 02 Mar 2008) | 2 lines Synchronize with GNU ------------------------------------------------------------------------ r403 | mac | 2008-03-02 22:47:24 -0800 (Sun, 02 Mar 2008) | 2 lines Change defcustom string to conform to GNU style guide ------------------------------------------------------------------------ r401 | mac | 2008-02-29 10:19:59 -0800 (Fri, 29 Feb 2008) | 7 lines Synch up with GNU changes. 2008-02-29 Michael McNamara * verilog-mode.el (verilog-font-grouping-keywords): Fix typo (verilog-font-lock-keywords): Allow users to toggle special highlight of grouping keywords (verilog-highlight-grouping-keywords): The toggle for special highlighting of grouping keywords ------------------------------------------------------------------------ r399 | mac | 2008-02-19 09:47:52 -0800 (Tue, 19 Feb 2008) | 4 lines 2008-02-19 Michael McNamara Incorporate GNU changes (entirely help text and comment english improvement) ------------------------------------------------------------------------ r398 | mac | 2008-02-19 09:12:49 -0800 (Tue, 19 Feb 2008) | 5 lines 2008-02-19 Michael McNamara * verilog-mode.el (verilog-font-grouping-keywords-face): Add an enhancement to allow makingthe begin..end keywords standout more than other verilog keywords. (verilog-type-font-keywords): Move the begin..end out of this list to facilitate making them (potentially) stand out more ------------------------------------------------------------------------ r395 | mac | 2008-02-14 15:17:44 -0800 (Thu, 14 Feb 2008) | 5 lines 2008-02-14 Michael McNamara * verilog-mode.el (verilog-backward-token): Fix indent of bare always{_*}?, initial, function & task blocks (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?, initial, function & task blocks ------------------------------------------------------------------------ r394 | mac | 2008-02-13 13:46:54 -0800 (Wed, 13 Feb 2008) | 7 lines 2008-02-13 Michael McNamara * verilog-mode.el (verilog-forward-sexp): Enhance to handle the new "disable fork" statement of IEEE-1800 Verilog (verilog-beg-block-re-ordered): Enhance to handle the new "disable fork" statement of IEEE-1800 Verilog (verilog-calc-1): Enhance to handle the new "disable fork" statement of IEEE-1800 Verilog (verilog-disable-fork-re): Add const to help handle the new "disable fork" statement of IEEE-1800 Verilog ------------------------------------------------------------------------ r393 | mac | 2008-02-07 15:49:27 -0800 (Thu, 07 Feb 2008) | 2 lines Remove FSF change that breaks FSF emacs version 21 ------------------------------------------------------------------------ r389 | mac | 2008-02-01 10:06:08 -0800 (Fri, 01 Feb 2008) | 3 lines 1) restore correct handling of autolineup of input, output and inout ports. Adding support for system verilog's additional optional types broke this. 2) synchronize with GNU changes ------------------------------------------------------------------------ r388 | mac | 2008-02-01 10:01:50 -0800 (Fri, 01 Feb 2008) | 1 line ------------------------------------------------------------------------ r387 | mac | 2008-02-01 08:46:17 -0800 (Fri, 01 Feb 2008) | 1 line Another sync with GNU changes ------------------------------------------------------------------------ r386 | mac | 2008-02-01 08:37:59 -0800 (Fri, 01 Feb 2008) | 1 line Sync with GNU changes ------------------------------------------------------------------------ r383 | wsnyder | 2008-01-07 08:13:25 -0800 (Mon, 07 Jan 2008) | 2 lines Fix Emacs 23.1 warnings about unsafe "Local Variables". [Dan Nicolaescu] ------------------------------------------------------------------------ r382 | wsnyder | 2008-01-07 07:41:52 -0800 (Mon, 07 Jan 2008) | 4 lines Cleanup spacing of )'s they should not be on unique lines. (Do it now to avoiding other Emacs people from fixing them and causing merge conflicts.) ------------------------------------------------------------------------ r381 | wsnyder | 2008-01-07 06:26:49 -0800 (Mon, 07 Jan 2008) | 8 lines Merge of changes from EMACS cvs 1.5. Including the last two SVN version the changes were: Reformat parts to 80 columns [nickrob] Doc fixes and compiler warning cleanups [gm] Remove unused functions and fix menu definitions [dann] Move functions before use [dann] Many source cleanups [dann] ------------------------------------------------------------------------ r380 | wsnyder | 2008-01-04 06:03:40 -0800 (Fri, 04 Jan 2008) | 3 lines More merges from GNU Emacs 22.1 These change some internals, but are believed to be fairly benign. ------------------------------------------------------------------------ r379 | wsnyder | 2008-01-03 12:35:19 -0800 (Thu, 03 Jan 2008) | 3 lines Merge white space and code movement changes from Emacs 22.1 mainline. This should have no functional change from earlier versions. ------------------------------------------------------------------------ r378 | wsnyder | 2008-01-03 10:50:17 -0800 (Thu, 03 Jan 2008) | 1 line Initial checkins for Emacs 22.1 cleanup ------------------------------------------------------------------------ r377 | wsnyder | 2007-12-07 09:21:25 -0800 (Fri, 07 Dec 2007) | 1 line Spelling fixes, plus sent to Emacs 22.2 release ------------------------------------------------------------------------ r375 | wsnyder | 2007-11-20 08:41:17 -0800 (Tue, 20 Nov 2007) | 1 line Fix hidden AUTOWIRE warnings when can't merge busses. [Brian Cassell] ------------------------------------------------------------------------ r374 | wsnyder | 2007-11-19 14:14:27 -0800 (Mon, 19 Nov 2007) | 1 line Fix AUTOWIRE missing signals only used in wire = (HERE), broke in r351. [Nitin Godiwala] ------------------------------------------------------------------------ r370 | mac | 2007-11-14 12:14:20 -0800 (Wed, 14 Nov 2007) | 8 lines 1) fix for verilog-pretty-declarations to handle all(!) of the System Verilog declaration syntaxes, including the optional prefixes, when doing auto line up (C-c C-i). 2) support pretty-declarations inside the "ANSI C Style" module declaration as well. (Thanks to David Smith Jr. for the bug report) ------------------------------------------------------------------------ r369 | wsnyder | 2007-11-02 05:23:25 -0800 (Fri, 02 Nov 2007) | 1 line Fixed ignoring of signal name case in AUTO_TEMPLATE. [Chakradhara Aradhyula] ------------------------------------------------------------------------ r368 | wsnyder | 2007-10-18 12:46:36 -0700 (Thu, 18 Oct 2007) | 1 line Minor documentation and code review cleanups ------------------------------------------------------------------------ r366 | mac | 2007-10-07 06:20:47 -0700 (Sun, 07 Oct 2007) | 1 line 1) Begining of support for unique|priority case. Things are better but there are still some nesting issues. ------------------------------------------------------------------------ r365 | mac | 2007-10-07 04:50:32 -0700 (Sun, 07 Oct 2007) | 2 lines 1) Another try at the constraint syntax - treat a ; followed by a } (ignoring whitespace) as a special token that closes a { list for a constraint, coverpoint, et cetera. 2) recognize "after" ------------------------------------------------------------------------ r364 | mac | 2007-09-27 06:14:45 -0700 (Thu, 27 Sep 2007) | 1 line 1) Fix bug in indent - Use "equal" instead of "=" to avoid end of buffer issues ------------------------------------------------------------------------ r363 | wsnyder | 2007-09-25 08:33:18 -0700 (Tue, 25 Sep 2007) | 1 line Fix AUTORESET with assertion labels [Julian Gorfajn] ------------------------------------------------------------------------ r362 | wsnyder | 2007-09-24 06:20:39 -0700 (Mon, 24 Sep 2007) | 1 line Remove duplicate signals from AUTOINST with Verilog-AMS [Matthias Vorwerk] ------------------------------------------------------------------------ r361 | wsnyder | 2007-09-22 10:58:23 -0700 (Sat, 22 Sep 2007) | 1 line Add verilog-symbol-detick-text to remove defines. [Keith Shaw] ------------------------------------------------------------------------ r357 | mac | 2007-09-21 17:05:51 -0700 (Fri, 21 Sep 2007) | 7 lines 1) Work to correctly indent coverpoints, cross and constraint definitions which use { } as does C, where as every other place in verilog begin end would be used. (Can you tell I am annoyed? :-) 2) Fix the case where an infinite loop would occur if one was lining up expressions and defining a module that includes parameters in the port list ------------------------------------------------------------------------ r356 | mac | 2007-09-17 18:00:46 -0700 (Mon, 17 Sep 2007) | 7 lines 1) highlight IEEE-1800 keywords normally, unless verilog-highlight-p1800-keywords is true 2) Some cleanups in indentation for parameterized modules 3) Some cleanups in verilog-pretty-expressions ------------------------------------------------------------------------ r355 | mac | 2007-09-17 09:56:26 -0700 (Mon, 17 Sep 2007) | 9 lines 1) Support mailbox and semaphore as datatypes 2) Better support the interaction of preprocessor directives and the new class/struct top level declarations. Bascially, verilog-begining-of-statement needed major work to handle the new keywords which have optional prefixes (extern/virtual/protected/typedef). ------------------------------------------------------------------------ r351 | wsnyder | 2007-09-10 06:27:05 -0700 (Mon, 10 Sep 2007) | 1 line Fix AUTOARG when used with Verilog 2001 parameters-in-header. [Bruce LaVigne] ------------------------------------------------------------------------ r348 | mac | 2007-08-08 14:39:39 -0700 (Wed, 08 Aug 2007) | 3 lines 1) Support clocking..endclocking blocks (indent, commenting) ------------------------------------------------------------------------ r347 | mac | 2007-08-07 15:56:09 -0700 (Tue, 07 Aug 2007) | 3 lines 1) Only alter compile-command if it is not nil ------------------------------------------------------------------------ r345 | mac | 2007-08-07 15:36:44 -0700 (Tue, 07 Aug 2007) | 4 lines 1) highlight preprocessor tokens in font-lock-preprocessor-face color ONLY WHEN DEFINED 2) correctly comment end blocks for foreach statements ------------------------------------------------------------------------ r344 | wsnyder | 2007-07-10 08:49:18 -0700 (Tue, 10 Jul 2007) | 2 lines Treat non-options in verilog-library-flags as library files. [Cliff Cummings] ------------------------------------------------------------------------ r343 | wsnyder | 2007-07-10 08:26:15 -0700 (Tue, 10 Jul 2007) | 7 lines Insert a comma before AUTOINST when ports obviously need it. [Cliff Cummings] Fixed verilog-inject-auto issues. [Cliff Cummings] > Fixed named parameters causing parsing errors. > Fixed assuming connections to forced unconnected ports. > Fixed ignoring lower/uppercase differences in ports. ------------------------------------------------------------------------ r342 | mac | 2007-06-27 16:23:29 -0700 (Wed, 27 Jun 2007) | 5 lines 1) Improve indent support for SystemVerilog extern/virtual/protected functions and task definitions. 2) Improve indent support for typedefs 3) highlight preprocessor tokens in font-lock-preprocessor-face color ------------------------------------------------------------------------ r336 | mac | 2007-05-31 16:33:09 -0700 (Thu, 31 May 2007) | 4 lines 1) fix bugs in support for covergroup 2) fix bugs in support for randsequence 3) begin support of Verilog-AMS ------------------------------------------------------------------------ r335 | wsnyder | 2007-05-21 10:53:11 -0700 (Mon, 21 May 2007) | 4 lines `verilog-linter', `verilog-coverage', `verilog-simulator', and `verilog-compiler' are now set to a message asking you to set them. Please set them to call your site specific tools in your site-start file. ------------------------------------------------------------------------ r334 | wsnyder | 2007-05-10 07:38:11 -0700 (Thu, 10 May 2007) | 1 line Add none option to verilog-tool/'Choose Compilation Action' menu. ------------------------------------------------------------------------ r333 | wsnyder | 2007-04-19 06:08:30 -0700 (Thu, 19 Apr 2007) | 1 line Minor updates to the Documentation. ------------------------------------------------------------------------ r332 | wsnyder | 2007-03-14 05:22:56 -0800 (Wed, 14 Mar 2007) | 1 line Support SystemVerilog .name connections in AUTOINST ------------------------------------------------------------------------ r331 | mac | 2007-03-02 17:07:12 -0800 (Fri, 02 Mar 2007) | 1 line Fix for lining up equal and <= statements [scott roland] ------------------------------------------------------------------------ r329 | mac | 2007-03-02 15:55:23 -0800 (Fri, 02 Mar 2007) | 1 line More fixes for the task declaration syntax [Schackow] ------------------------------------------------------------------------ r328 | wsnyder | 2007-02-27 09:59:04 -0800 (Tue, 27 Feb 2007) | 1 line Fix AUTOWIRE syntax error when the range is very long. [Yaohung Chang] ------------------------------------------------------------------------ r319 | mac | 2007-02-21 10:01:27 -0800 (Wed, 21 Feb 2007) | 4 lines 1) Make match-string-no-properties work on Xemacs 2) support proper indentation of constraint statements 3) make verilog-strip-comments work given things like '--' and '/*' in strings, or in comments 4) minor cleanups of unused functions and variables ------------------------------------------------------------------------ r317 | wsnyder | 2007-02-07 11:26:28 -0800 (Wed, 07 Feb 2007) | 1 line Fix' Variable binding depth exceeds max-specpdl-size'. [Lars E. Thon] ------------------------------------------------------------------------ r316 | wsnyder | 2006-12-15 12:36:34 -0800 (Fri, 15 Dec 2006) | 3 lines Add experimental support for reading SystemVerilog multidimmensional input/output declarations and placing into AUTOINST. [Satish Kulkarni] ------------------------------------------------------------------------ r315 | wsnyder | 2006-12-06 08:59:47 -0800 (Wed, 06 Dec 2006) | 4 lines Add verilog-getopt-flags-hook for customizing search directories. Repair -y and +incdir's options when inside a -f file of options. ------------------------------------------------------------------------ r314 | mac | 2006-11-14 08:13:02 -0800 (Tue, 14 Nov 2006) | 2 lines Insert a space between the "case" and the case expression when setting auto comments for endcase statement. [Alexander Schackow] ------------------------------------------------------------------------ r313 | wsnyder | 2006-11-13 06:17:55 -0800 (Mon, 13 Nov 2006) | 1 line Fix AUTOINSTPARAM ordering with module name. [Shyfool] ------------------------------------------------------------------------ r312 | wsnyder | 2006-11-09 11:29:08 -0800 (Thu, 09 Nov 2006) | 1 line In AUTOWIRE, ignore tri0/tri1 declarations. [Christopher Fisher] ------------------------------------------------------------------------ r311 | wsnyder | 2006-11-02 07:09:48 -0800 (Thu, 02 Nov 2006) | 1 line Documentation cleanups; nothing exciting... ------------------------------------------------------------------------ r306 | wsnyder | 2006-10-09 11:12:11 -0700 (Mon, 09 Oct 2006) | 1 line Fix AUTOINOUT and friends leaving trailing comma in arguments. [Matthew Lovell] ------------------------------------------------------------------------ r290 | mac | 2006-10-05 15:22:34 -0700 (Thu, 05 Oct 2006) | 3 lines 1) Add support for hide-show mode 2) fix bug in assignment lineup (thomas dejanovic) ------------------------------------------------------------------------ r288 | wsnyder | 2006-10-05 06:39:40 -0700 (Thu, 05 Oct 2006) | 1 line Cleaned up some documentation as suggested by M-x checkdoc. ------------------------------------------------------------------------ r285 | wsnyder | 2006-10-03 06:56:23 -0700 (Tue, 03 Oct 2006) | 5 lines In --batch mode, report error if file not found. [Aibing Zhou] In --batch mode, add "%Error:" prefix to errors, so tools can determine what is a error and what is just informational. ------------------------------------------------------------------------ r269 | wsnyder | 2006-09-29 13:30:16 -0700 (Fri, 29 Sep 2006) | 1 line Fix verilog-expand-dirnames with subversion externals. [Thomas Dejanovic] ------------------------------------------------------------------------ r268 | wsnyder | 2006-09-29 13:24:02 -0700 (Fri, 29 Sep 2006) | 1 line Allow AUTO_LISP parsing before any AUTOs expanded [Aibing Zhou] ------------------------------------------------------------------------ r266 | mac | 2006-09-19 09:09:50 -0700 (Tue, 19 Sep 2006) | 5 lines 1) Improve support for sequence (indentation, auto-comment) 2) Finish adding auto-commenting for class, covergroup and program ------------------------------------------------------------------------ r264 | mac | 2006-09-15 11:09:10 -0700 (Fri, 15 Sep 2006) | 3 lines Fix for issues with property..endproperty indentation, which revealed a more general issue with verilog-leap-to-head, which is now fixed. ------------------------------------------------------------------------ r258 | wsnyder | 2006-08-31 13:16:44 -0700 (Thu, 31 Aug 2006) | 1 line Fix crazy lookup ordering of verilog-library-extentions. [Aibing Zhou] ------------------------------------------------------------------------ r257 | wsnyder | 2006-08-25 10:53:17 -0700 (Fri, 25 Aug 2006) | 1 line Add verilog-auto-unused-ignore-regexp. [Michael Reeves] ------------------------------------------------------------------------ r256 | wsnyder | 2006-08-22 06:45:19 -0700 (Tue, 22 Aug 2006) | 4 lines Fix AUTO expansion with multiple modules in one file. Fix 'endmodule not found' when edit header comments in a file between different AUTO expansions. [Michael Reeves] ------------------------------------------------------------------------ r255 | wsnyder | 2006-08-22 06:27:56 -0700 (Tue, 22 Aug 2006) | 1 line Fix 'always @ (*)' looking like a attribute. Broke in r251. [Michael Reeves] ------------------------------------------------------------------------ r254 | wsnyder | 2006-08-16 11:01:37 -0700 (Wed, 16 Aug 2006) | 1 line Add verilog-batch-indent for Unix reindentation [Max Baker]. ------------------------------------------------------------------------ r253 | wsnyder | 2006-08-09 14:08:07 -0700 (Wed, 09 Aug 2006) | 1 line Add AUTOINSTPARAM for parameter connections. [Shalin Sheth] ------------------------------------------------------------------------ r252 | wsnyder | 2006-08-09 13:33:39 -0700 (Wed, 09 Aug 2006) | 1 line AUTO Internal only changes to read parameters. ------------------------------------------------------------------------ r251 | wsnyder | 2006-08-08 11:46:50 -0700 (Tue, 08 Aug 2006) | 1 line Fix (*attributes*) being mis-read in AUTOs [George Smith] ------------------------------------------------------------------------ r246 | mac | 2006-06-21 15:32:17 -0700 (Wed, 21 Jun 2006) | 13 lines 1) support property .. endproperty - note that "property" can also be used as syntaxtic sugar to reference a property, breaking the clean design of verilog; and requiring a hack to support. 2) beginnings of support for struct & union. The &%(* committee chose to use {} for the struct body encapsulation instead of verilog convention of endstruct or endunion, making this very difficult. 3) Cleanup of verilog-pretty-expr to properly lineup '=' and '<=' in a region 4) Re-ordering of the various indent matchers to be more regular. SystemVerilog has many many containers (begin .. end, function .. endfunction) and this could use more enhancements in the future. ------------------------------------------------------------------------ r244 | wsnyder | 2006-06-06 06:15:37 -0700 (Tue, 06 Jun 2006) | 3 lines Add verilog-batch-delete-auto and verilog-batch-inject-auto for batch AUTO deletion and injection. [Cathy Hsieh] ------------------------------------------------------------------------ r243 | wsnyder | 2006-05-22 06:01:09 -0700 (Mon, 22 May 2006) | 1 line Fix ifndef inside AUTOSENSE, etc. [Ken Schmidt] ------------------------------------------------------------------------ r242 | wsnyder | 2006-05-20 07:06:00 -0700 (Sat, 20 May 2006) | 1 line Fix ifndef inside AUTORESET blocks. [Ken Schmidt] ------------------------------------------------------------------------ r240 | wsnyder | 2006-05-05 14:46:14 -0700 (Fri, 05 May 2006) | 1 line Fix --verilog-batch-auto usage to show filenames come first ------------------------------------------------------------------------ r239 | wsnyder | 2006-04-26 06:46:11 -0700 (Wed, 26 Apr 2006) | 1 line Add verilog-mode FAQ ------------------------------------------------------------------------ r222 | mac | 2006-04-20 14:34:21 -0700 (Thu, 20 Apr 2006) | 29 lines 1) Create verilog-auto-lineup customization variable Use it to control if declarations should be automatically lined up. Use it to control if assignments should be automatically lined up. By default this variable is set to (declarations) which turns on declaration lineup, but not assignment lineup. Typing M-x verilog-customize RET and selecting Indent brings up a buffer where you can change the setting, save it as your default, and so on. 2) Properly indent constructs inside a generate block, as in the following; perviously the wire and the end after the wire would be incorrectly indented: module test(); reg [3:0] x; genvar i; generate for(i=0; i<4; i=i+1) begin:a always @(*) begin x[i] = 1; end wire y = 0; end endgenerate endmodule // test ------------------------------------------------------------------------ r221 | wsnyder | 2006-03-28 10:42:21 -0800 (Tue, 28 Mar 2006) | 1 line Fix 'symbol definition is void: pop'. [Michael Elsasser] ------------------------------------------------------------------------ r220 | wsnyder | 2006-03-28 10:35:00 -0800 (Tue, 28 Mar 2006) | 1 line Documentation of [] needed for AUTOWIRE. [Rob Totte] ------------------------------------------------------------------------ r219 | wsnyder | 2006-03-24 05:36:46 -0800 (Fri, 24 Mar 2006) | 1 line Add verilog-delete-auto-hook for customization [Aings Aingaran] ------------------------------------------------------------------------ r217 | wsnyder | 2006-02-27 05:49:44 -0800 (Mon, 27 Feb 2006) | 1 line Fix multi-dimmensional wires in AUTOSENSE. [George Smith] ------------------------------------------------------------------------ r216 | wsnyder | 2006-02-23 08:34:57 -0800 (Thu, 23 Feb 2006) | 3 lines Don't add "// Beginning" and "// End" comments for AUTOs when there's nothing to put between them. ------------------------------------------------------------------------ r215 | wsnyder | 2006-02-23 08:11:02 -0800 (Thu, 23 Feb 2006) | 4 lines Create AUTOUNUSED, for tieing unused inputs to a single signal. Used in stub file creation to appease linting tools. See help on verilog-auto-unused. ------------------------------------------------------------------------ r214 | wsnyder | 2006-02-23 07:32:32 -0800 (Thu, 23 Feb 2006) | 3 lines Add AUTOTIEOFF, wire ties off all outputs for stub files. See help on verilog-auto-tieoff. ------------------------------------------------------------------------ r213 | wsnyder | 2006-02-23 06:44:48 -0800 (Thu, 23 Feb 2006) | 3 lines Add verilog-active-low-regexp, so AUTORESET signals can be tied to active-low deasserted (~'b0). ------------------------------------------------------------------------ r212 | wsnyder | 2006-02-16 14:27:33 -0800 (Thu, 16 Feb 2006) | 1 line Add verilog-auto-inout-ignore-regexp. ------------------------------------------------------------------------ r211 | wsnyder | 2006-02-16 08:47:07 -0800 (Thu, 16 Feb 2006) | 1 line Fix AUTOINOUT including ~signals. ------------------------------------------------------------------------ r210 | wsnyder | 2006-02-09 17:18:49 -0800 (Thu, 09 Feb 2006) | 5 lines Created verilog-batch-auto, to reduce errors when invoking autos in scripts. The best way to invoke autos from the shell is now: emacs --batch -f verilog-batch-auto FILENAME_V [...] Be sure to list multiple interrelated files in bottom-up order. [Aibing Zhou] ------------------------------------------------------------------------ r209 | wsnyder | 2006-02-07 07:09:03 -0800 (Tue, 07 Feb 2006) | 3 lines Add regexps to AUTO_TEMPLATE to allow setting value of @s. [James Cavanaugh] This is very useful, see M-x describe-function verilog-auto-inst for details. ------------------------------------------------------------------------ r208 | wsnyder | 2006-02-06 14:21:29 -0800 (Mon, 06 Feb 2006) | 1 line Fix literal constants in AUTOINPUT concats [Victor Lau] ------------------------------------------------------------------------ r203 | mac | 2006-02-03 09:27:56 -0800 (Fri, 03 Feb 2006) | 1 line Support program and covergroup statments ------------------------------------------------------------------------ r198 | mac | 2006-02-03 08:07:00 -0800 (Fri, 03 Feb 2006) | 1 line Fix for function/task indent. Previous enhancement for "extern function" broke indent when two or more tasks/functions are declared in sequentially. ------------------------------------------------------------------------ r197 | mac | 2006-01-27 11:21:36 -0800 (Fri, 27 Jan 2006) | 1 line correctly indent extern task and function declarations ------------------------------------------------------------------------ r195 | wsnyder | 2006-01-25 11:09:32 -0800 (Wed, 25 Jan 2006) | 1 line Enable verilog-auto-reset-widths by default ------------------------------------------------------------------------ r194 | wsnyder | 2006-01-16 06:18:57 -0800 (Mon, 16 Jan 2006) | 4 lines AUTOINPUT/AUTOOUTPUT/AUTOINOUT/AUTOINOUTMODULE now create Verilog 2001 ports when placed inside the parenthesis of a module decl. [Bruce A Tennant] ------------------------------------------------------------------------ r193 | mac | 2006-01-11 15:21:25 -0800 (Wed, 11 Jan 2006) | 12 lines 1) Fix so AUTO works again on XEmacs (XEmacs's implementation of "local-variable-p" requires two arguments; FSF Emacs requires only one, but optionally accepts the second, which has the same purpose as XEMacs's required second argument) 2) Fix verilog-pretty-declarations to work correctly given stuff like output reg signed [31:0] a; The previous version tried to address this, but did so incorrectly, resulting in mis aligned indentation given some cases. ------------------------------------------------------------------------ r188 | mac | 2006-01-06 13:01:05 -0800 (Fri, 06 Jan 2006) | 1 line Indent directives in a parenthetical list correctly ------------------------------------------------------------------------ r162 | mac | 2006-01-05 16:21:08 -0800 (Thu, 05 Jan 2006) | 5 lines 1) Treat formfeed as whitespace when indenting 2) Do not improperly indent things like " input reg_foo; " as " input reg _foo; " 3) Restore the Statment menu item to XEmacs ------------------------------------------------------------------------ r161 | wsnyder | 2005-12-13 11:07:18 -0800 (Tue, 13 Dec 2005) | 4 lines Allow AUTOWIRE etc to recognize signals inside {} concats from AUTOINSTs. [Bruce Tennant] ------------------------------------------------------------------------ r159 | wsnyder | 2005-11-29 06:37:57 -0800 (Tue, 29 Nov 2005) | 1 line Add verilog-mode testbench ------------------------------------------------------------------------ r158 | wsnyder | 2005-11-29 05:59:01 -0800 (Tue, 29 Nov 2005) | 24 lines Merges from Wilson's 4.11.1.5; all future changes will be made directly here. 1) Add C-c C-z verilog-inject-auto, which adds AUTOs to a non-AUTO design. [Tad Truex] 2) Expand SystemVerilog .* and remove when writing to disk. [Cliff Cummings] See verilog-auto-star for documentation on this and related variables. 3) Add verilog-library-flags for standard Verilog-XLish params. [Cliff Cummings] 4) Remove useless -(0) from AUTORESETs. 5) Allow "(// Outputs" to be recognized for AUTOWIRE. 6) Add verilog-auto-output-ignore-regexp to AUTOOUTPUT. [Tad Truex] 7) Add vl-dir for determining AUTOTEMPLATE directions 8) AUTOINST now works with arrays of instants. [Carl Crawford] 9) Fix local-variables changing on entering verilog-mode. [Mat Zeno] 10) Fix loss of highlighting on errors. [Mat Zeno] ------------------------------------------------------------------------ r156 | mac | 2005-11-17 15:10:02 -0800 (Thu, 17 Nov 2005) | 2 lines Properly indent after SystemVerilog newly nameable items (end, endtask, endinterface, et cetera) ------------------------------------------------------------------------ r149 | mac | 2005-11-17 11:41:32 -0800 (Thu, 17 Nov 2005) | 4 lines Move defsubst around to avoid compiler warning messages Try to cleanup regexp-opt to avoid compiler warning messages Add more requires to avoid compiler warning messages ------------------------------------------------------------------------ r141 | mac | 2005-11-06 09:32:39 -0800 (Sun, 06 Nov 2005) | 2 lines Support systemverilog's randcase when indenting and endcommenting ------------------------------------------------------------------------ r140 | mac | 2005-10-27 14:16:02 -0700 (Thu, 27 Oct 2005) | 4 lines 1) Fixed error occuring when adding stuff after an else 2) eliminated partial coloration of V2K parameter overrides 3) added coloration of task/function/instatiations ------------------------------------------------------------------------ r134 | mcnamara | 2005-10-21 15:48:07 -0700 (Fri, 21 Oct 2005) | 2 lines Add support for class/endclass container ------------------------------------------------------------------------ r133 | mcnamara | 2005-07-18 11:44:21 -0700 (Mon, 18 Jul 2005) | 3 lines Indent declarations in paort list support multi dimentional arrays ------------------------------------------------------------------------ r127 | mac | 2005-04-27 17:56:54 -0700 (Wed, 27 Apr 2005) | 10 lines 1) properly set compile-command based on the presence of a [mM]akefile in the current directory. If there is one, set compile command to "make". If there isn't one, key off the menu definition of Verilog->Choose Compilation Action' to run the defined lint, compile, sim or coverage tool. 2) recognize "signed" when lining up declarations around point. 3) Properly indent config blocks 4) C-c C-t D adds a definition of the signal under the mouse to the module, prompting you for size. ------------------------------------------------------------------------ r126 | mac | 2005-04-25 14:45:33 -0700 (Mon, 25 Apr 2005) | 2 lines Fix new comment skipping code to work at top of buffer ------------------------------------------------------------------------ r125 | mac | 2005-04-21 15:33:29 -0700 (Thu, 21 Apr 2005) | 3 lines 1) Add verilog-typedef-regexp for typedef'ed AUTOs [From Daniel Yee]. 2) Fix a bug introduced in the last change for auto indentation ------------------------------------------------------------------------ r124 | mac | 2005-04-20 17:18:34 -0700 (Wed, 20 Apr 2005) | 9 lines 1) Incorporated many auto fixes from Wilson - Fix submodule names including the word 'module'. [Einar Fredriksen] - Accept ifdef in v2k port declarations. [Einar Fredriksen] - If a `define has no value, imply a 1. [David Shepherd] 2) Improved indentation anomalies given comments like //* 3) Fixed indentaion anolomalies in seqential assign statements 4) Updated some email addresses ------------------------------------------------------------------------ r123 | mac | 2005-02-22 22:58:36 -0800 (Tue, 22 Feb 2005) | 2 lines Extra ) removed... ------------------------------------------------------------------------ r122 | mac | 2005-02-22 12:49:06 -0800 (Tue, 22 Feb 2005) | 5 lines 1) Update my email address -> use @verilog.com now 2) fix for indentation in generates 3) fix declaration of IEEE-P1800 font 4) remove electric = as it does nothing. ------------------------------------------------------------------------ r119 | mac | 2004-12-03 15:05:24 -0800 (Fri, 03 Dec 2004) | 6 lines 1) Highlight the new P1800 keywords in a DarkOrange3 color so that we will learn to avoid using them as variable names. 2) Deal with differing number of arguments for reg-exp by using function-min-args rather than what the name of emacs is. ------------------------------------------------------------------------ r118 | mac | 2004-11-24 15:54:09 -0800 (Wed, 24 Nov 2004) | 8 lines 1) Handle differing number of required arguments for regexp-opt by using function-min-args rather than depending on the fact that XEMacs requires three and FSF emacs requires two; as now modern XEmacs require just two. 2) provide declaration of vl-name and vl-width so that the byte compiler is happy. ------------------------------------------------------------------------ r117 | mac | 2004-11-23 15:40:42 -0800 (Tue, 23 Nov 2004) | 13 lines First support for some System Verilog constructs ------------------------------------------------ always_ff, always_comb fork .. join_any, join_none packages interfaces return, break, continue generate named ends (basically, don't auto comment these) final blocks Also some enhancements to the AUTO functionality ------------------------------------------------------------------------ r116 | mac | 2004-08-25 17:09:14 -0700 (Wed, 25 Aug 2004) | 7 lines * Recognize localparam * Add support for AUTOINOUT * Enhance compilation support * Provide a method to auto indent entire file (verilog-indent-buffer) * ignore hierarchical references in certain autosense situations * provide some template debugging hooks ------------------------------------------------------------------------ r115 | mac | 2004-02-27 17:25:29 -0800 (Fri, 27 Feb 2004) | 4 lines * Support XSIM error/warning messages * Properly highlight gate definitions (and/or/xor, nmos/pmos et cetera) * Handle parameterized `defines in autosense ------------------------------------------------------------------------ r114 | mac | 2004-01-19 13:44:18 -0800 (Mon, 19 Jan 2004) | 2 lines Support generate ------------------------------------------------------------------------ r113 | mac | 2003-07-14 09:36:08 -0700 (Mon, 14 Jul 2003) | 6 lines * Enhancements to AUTORESET, which attempts to correctly recognize widths of items to be reset, and to use non blocking assigns where deemed necessary. * improvements in support for 1364-2001 features (signed constants, generates, module instantiation of parameters overrides by name). ------------------------------------------------------------------------ r112 | mac | 2002-05-18 21:55:46 -0700 (Sat, 18 May 2002) | 3 lines Incorporate Geert Van der Plas 's idea to make include files 'magic': click mouse two over an include statement and emacs finds the file in another buffer. ------------------------------------------------------------------------ r111 | mac | 2002-04-17 16:36:19 -0700 (Wed, 17 Apr 2002) | 9 lines 1) Fixed AUTOINPUT including constants. [Anup Sharma] 2) Use case not casex in AUTOASCIIENUM 3) Allow $ENV_VAR in verilog-library-directories 4) Fixed defines with comments following 5) Read parameters in include files and omit from AUTOSENSEs. [Tom Heynemann] [Paul Gifford] 6) Fixed (/*AS*/) if () begin end else begin end [Mandeep Chadha] 7) recognize a few more error message regular expressions ------------------------------------------------------------------------ r110 | mac | 2002-03-25 16:04:08 -0800 (Mon, 25 Mar 2002) | 3 lines 1) Correctly handle parameters in auto lineing up expressions (C-=) 2) Support emacs 19.34 (define a char-before macro, as it is missing in that release) ------------------------------------------------------------------------ r108 | mac | 2001-08-13 11:46:41 -0700 (Mon, 13 Aug 2001) | 2 lines More doc cleanup ------------------------------------------------------------------------ r105 | mac | 2001-07-27 16:18:09 -0700 (Fri, 27 Jul 2001) | 2 lines Bug fixes in auto directory searching ------------------------------------------------------------------------ r104 | mac | 2001-07-27 16:15:38 -0700 (Fri, 27 Jul 2001) | 2 lines Fix typo in generate ------------------------------------------------------------------------ r103 | mac | 2001-05-21 10:57:00 -0700 (Mon, 21 May 2001) | 15 lines 1) Wilson Snyder incorporated some suggested enhancements from John Watters , that arrived in the best form: code! 2) New variable verilog-auto-read-includes to automatically `verilog-read-defines' and `verilog-read-includes' on every file. While this will make things slower, it will allow better support of folks who are using `defines and autos. It is still better practice to use parameters, as they are of local scope. 3) Allow verilog-library-directories to include * wildcards. 4) verilog-pretty-expr 5) Added AUTORESET, from Chris Kappler 6) Fixed if AUTOINST is commented out. [Josef Wells] 7) Spelling fixes 8) Merge in doc fixes 9) Verilog-mode can insert comments to control both SureLint and verilint ------------------------------------------------------------------------ r102 | mac | 2001-05-16 18:02:09 -0700 (Wed, 16 May 2001) | 4 lines 1) Only recognize lint_off; not lint_offending and other varients 2) map verilog-surelint-off to C-c\` instead of C-c` which didn't work 3) Add menu pull down for ignoring lint errors. ------------------------------------------------------------------------ r101 | mac | 2001-02-23 15:55:23 -0800 (Fri, 23 Feb 2001) | 5 lines 1) Eliminated some unused variables. 2) arranged that more variables are reported in verilog-submit-bug-report. 3) fixed problem with /// confusing commenting. ------------------------------------------------------------------------ r100 | mac | 2001-01-24 22:35:32 -0800 (Wed, 24 Jan 2001) | 5 lines 1) Clean up verilog-tool selection to work in all cases 2) Fix to work better with SureLint 3) Fix imenu expression 4) Don't bind M-C-h; instead bind meta control h, as this work better on all emacs ------------------------------------------------------------------------ r99 | mac | 2000-11-03 14:50:42 -0800 (Fri, 03 Nov 2000) | 2 lines Made Statement header self documenting (thanks wilson) ------------------------------------------------------------------------ r98 | mac | 2000-10-27 10:15:50 -0700 (Fri, 27 Oct 2000) | 6 lines 1) provide keyboard short cut hints in statment skeleton builder menu 2) Hopefully the final method for using regexp-opt in a ancient emacs/GNU-emacs/XEmacs indenpendent way 3) verilog-library-extentions for autosense 4) allow user to indent lists specially; or just as continued code. ------------------------------------------------------------------------ r97 | mac | 2000-10-09 18:03:41 -0700 (Mon, 09 Oct 2000) | 12 lines 1) Merge regexp-opt handling so that it works with the version from XEmacs, FSF emacs, and each when they don't happen to provide a regexp-opt 2) Define verilog-running-on-xemacs, and use that instead of always testing 'string match emacs-version...' 3) Incorporate changes from Wilson: verilog-read-defines supports recursion (from 3.43.1.7) GNU Emacs Compile warnings fixed M-x checkdoc warnings fixed ------------------------------------------------------------------------ r96 | mac | 2000-08-23 15:32:17 -0700 (Wed, 23 Aug 2000) | 4 lines * Template insertion is ready for first release * completion of keywords and variables has had many fixes * highlighting translate off regions is turned off by default (it is SLOW) ------------------------------------------------------------------------ r95 | mac | 2000-08-10 18:59:19 -0700 (Thu, 10 Aug 2000) | 2 lines Minor fixes ------------------------------------------------------------------------ r94 | mac | 2000-08-10 18:54:59 -0700 (Thu, 10 Aug 2000) | 3 lines Added a template capability, using the skeleton package. Now you can type C-c C-t m and it will create a module for you, and so on. ------------------------------------------------------------------------ r93 | mac | 2000-06-30 20:00:07 -0700 (Fri, 30 Jun 2000) | 3 lines * Include 'doc fixes' to make code fit GNU coding styles. * Include fix for hierarchal names appearing in auto lists ------------------------------------------------------------------------ r92 | mac | 2000-06-27 03:09:13 -0700 (Tue, 27 Jun 2000) | 17 lines Include Wilsons enhancements: - match-string-no-properties doesn't exist in Xemacs. - Omit signals that are manually put just before AUTOSENSE - AUTOARG supports ports before the comment - AUTOINST can now be placed after a list of ports that should not be changed, sort of like a simple embeded AUTO_TEMPLATE. - Fixed xemacs compatibility bug with lisp in auto_templates [SSingh] My added value: Fixed a problem with autoindent that only showed up in one version of XEmacs. Fixed a problem with autoindent of certain code (pr 6663) ------------------------------------------------------------------------ r91 | mac | 2000-06-01 11:18:00 -0700 (Thu, 01 Jun 2000) | 2 lines Fix for folks that don't have defface ------------------------------------------------------------------------ r90 | mac | 2000-06-01 11:00:01 -0700 (Thu, 01 Jun 2000) | 6 lines 1) Fix for GNU emacs. It seems that XEmacs and GNU emacs don't agree on how many arguments regexp-opt accepts. *sigh* 2) correctly highlight and indent `if, `ifndef, `let, `while and other vpp tokens. ------------------------------------------------------------------------ r89 | mac | 2000-05-17 14:02:19 -0700 (Wed, 17 May 2000) | 4 lines Use regexp-opt where possible Use levels of font-lock Provide highlight of tranlate_off regions ------------------------------------------------------------------------ r86 | mac | 1999-12-19 16:14:16 -0800 (Sun, 19 Dec 1999) | 3 lines Added verilog-generate-numbers and verilog-insert-indices, courtesy of "Brian Silveira" ------------------------------------------------------------------------ r85 | mac | 1999-11-02 11:20:36 -0800 (Tue, 02 Nov 1999) | 5 lines 1) Made copyright figure out the date. 2) Fixed the verilog menu so that it works with XEmacs version 20. I tested it with XEmacs 21, and with FSF 19. ------------------------------------------------------------------------ r84 | mac | 1999-11-01 17:24:07 -0800 (Mon, 01 Nov 1999) | 3 lines 1) The regular expression for SureLint's error messages required a change. 2) Cleanup of some unused variables. ------------------------------------------------------------------------ r83 | mac | 1999-10-30 22:48:10 -0700 (Sat, 30 Oct 1999) | 6 lines 1) better error message handling (especially for surelint and Verilog-XL) 2) recognize that '@(foo) begin' is potentially a complete statement 3) handle gratitous begin-end pairs better 4) more fixes from Wilson for defines, already documented but some how not included. 5) fix in verilog-backward-sexp ------------------------------------------------------------------------ r82 | mac | 1999-10-18 17:16:35 -0700 (Mon, 18 Oct 1999) | 5 lines 1) The rest of the enhancements from Wilson; as documented in the 3.34 log. 2) enhancements of the 'verification cockpit' interface, which allows lint/coverage/simulation/compilation all from the emacs window. 3) deletion of extraneous whitespace. ------------------------------------------------------------------------ r81 | mac | 1999-10-07 17:44:48 -0700 (Thu, 07 Oct 1999) | 2 lines Turn off new code area. ------------------------------------------------------------------------ r80 | mac | 1999-10-07 17:38:48 -0700 (Thu, 07 Oct 1999) | 10 lines 1) rework customization area to be more intuitive 2) add ability to select lint/coverage/simulation/compilation function for M-x compile 3) more auto fixes and enhancements from Wilson: General wildcards inside AUTO_TEMPLATE AUTO_TEMPLATE Allow [] to compute bus scripts AUTO_TEMPLATE @"vl-bits" can be used to compute bus subscripts AUTOSENSE works with casex ... 4'b???1: ... Added AUTOREGINPUT, verilog-auto-reg-input from der@chezdd.com ------------------------------------------------------------------------ r79 | mac | 1999-09-10 11:53:02 -0700 (Fri, 10 Sep 1999) | 2 lines Suggested enhancements to delay colorization. ------------------------------------------------------------------------ r78 | mac | 1999-06-04 13:17:55 -0700 (Fri, 04 Jun 1999) | 4 lines 1) Tuning of verilog-error-regexp 2) support for different file name extentions for AUTO 3) Better highlight regexps for numbers ------------------------------------------------------------------------ r77 | mac | 1999-06-01 13:21:22 -0700 (Tue, 01 Jun 1999) | 28 lines 1) Incorporate wilsons changes: Handle define substitution within define substituations Fixed AUTO_TEMPLATES with @ and @"()" together, for example .foo (c@_foo@"(+ phy)"_bar), Added AUTO_LISP(lispexpression) parsed between each AUTO_INST to allow more complicated templates. AUTOs supports escaped identifiers Indent `ifdef/`else/`ifdef in block style, see verilog-indent-level-directive Avoid setting modified flag when no indentation changes verilog-auto-inst-vector mode for slower simulators. 2) Clean up of font lock regexp optimizations which now no longer include xemacs only hacks. 3) Fix of a bad 'bad end' complaint in tasks 4) Some attempt to better exist with compilation error regexp code 5) Support emacs version > 20 6) Wilson's new email addresses ------------------------------------------------------------------------ r76 | mac | 1999-04-11 23:14:16 -0700 (Sun, 11 Apr 1999) | 4 lines 1) Added more regular expressions for various error messages. 2) fixed some more typos in other emacs highlighting strings. 3) fixed a problem that resulting in imenu not working just right ------------------------------------------------------------------------ r75 | mac | 1999-04-01 11:37:53 -0800 (Thu, 01 Apr 1999) | 5 lines Fixed a problem where I optimized the regular expression to match things like integer and reg, but in the optimized version, it doesn't check for word boundries. This resulted in the indenter messing up variables that start with a verilog keyword. ------------------------------------------------------------------------ r74 | mac | 1999-03-29 16:30:05 -0800 (Mon, 29 Mar 1999) | 3 lines 1) Fix for newer FSF font lock. 2) Fix for function name highlighting ------------------------------------------------------------------------ r73 | mac | 1999-02-05 13:28:14 -0800 (Fri, 05 Feb 1999) | 2 lines Updated ------------------------------------------------------------------------ r72 | mac | 1999-01-16 16:45:37 -0800 (Sat, 16 Jan 1999) | 3 lines 1) Fix errors in the regexp on non eight bit emacses. 2) Use regexp-opt to optimize some regexps ------------------------------------------------------------------------ r71 | mac | 1999-01-07 12:09:13 -0800 (Thu, 07 Jan 1999) | 2 lines 1) verilog compile now can be of form "(cd /tmp; vcs -P foo.tab %s )", and the %s will be substituted ------------------------------------------------------------------------ r69 | mac | 1998-12-29 14:39:35 -0800 (Tue, 29 Dec 1998) | 2 lines Recognize 'disable' as a keyword ------------------------------------------------------------------------ r68 | mac | 1998-12-22 10:44:51 -0800 (Tue, 22 Dec 1998) | 3 lines 1) Fix a bug in minimum comment distance calculation 2) make indent code work better given 0 indent variables. ------------------------------------------------------------------------ r67 | mac | 1998-12-11 18:30:18 -0800 (Fri, 11 Dec 1998) | 10 lines highlight tri as well as tri1 et al verilog-read-defines now accepts filename verilog-read-includes added Added verilog-auto-save-policy setting, which will ask user when attempt to save buffer that hasn't been AUTO updated. Allow template lines with @"(expr)" othertext @"(expr)" Fix AUTOINST on modules that have no inputs Fixed AUTOSENSE case() 1'b1: mux = sel ? a:b; Email address change ------------------------------------------------------------------------ r66 | mac | 1998-10-01 18:13:54 -0700 (Thu, 01 Oct 1998) | 2 lines Add error expressionss for VCS ------------------------------------------------------------------------ r65 | mac | 1998-09-25 14:21:12 -0700 (Fri, 25 Sep 1998) | 4 lines 1) fix for correctly identifing functions that return integer or real, both in auto comment, and in highlight 2) allow no white space after declaration type when lining up. ------------------------------------------------------------------------ r64 | mac | 1998-09-15 10:56:10 -0700 (Tue, 15 Sep 1998) | 14 lines 1) make tab inserting a comment optional, and by default off 2) make minimum-coment distance count lines, not characters, and make the minimum number of lines 10. 3) fix a bug with begin-end matching. 4) fix a bug with color codeing function range, not function name, and commenting end function with the range word (i.e., integer or real) 5) support lining up declarations with `defined ranges. 6) eliminate a bug where verilog mode was setting the wrong variable for error-regexp matching 7) verilog-auto-input now correctly excludes regs. 8) Allow expansion of vh- variables in AUTOSENSE. This allows `define FOO BAR[2:3] to work correctly when FOO is in a autosense, but it won't work for anything more complicated. ------------------------------------------------------------------------ r63 | mac | 1998-09-03 11:35:57 -0700 (Thu, 03 Sep 1998) | 9 lines Numerous changes: 1) highlight: support _ in delays. 2) highlight release as a keyword. 3) include continuous assigns when lining up declarations. 4) include wire delays when lining up declarations. 5) include `macro expansions as ranges when lining up declarations. 6) fix indent bug in confusing case/begin line up. 7) fix indent bug if // occurs a in string. ------------------------------------------------------------------------ r62 | mac | 1998-08-26 14:00:27 -0700 (Wed, 26 Aug 1998) | 3 lines 1) Added verilog-header function 2) made work with old (v 19.34) of GNU emacs ------------------------------------------------------------------------ r61 | mac | 1998-07-21 16:42:12 -0700 (Tue, 21 Jul 1998) | 16 lines Changes from Wilson: Fixed when {}'s proceed inputs, bit vector for next signal may be wrong Warn about unmatched quotes, comments Check for writability before doing autos, so don't corrupt buffer if user aborts Fixed bug in string-replace-matches when removing from end of line Fixed AUTOINST inside modules which have no arguments: module foo; Allow quotes in AUTO_TEMPLATE exal's @"". Must be escaped: .foo (@"(if (eq @ 0) \"a\" \"b\")"), Enhancement from Elliot Mednick: I modified verilog-mode to make the electric-verilog-tab act more like perl mode. That is, press tab once, and it reindents. Press twice, and it creates a line comment. Press again, and it removes the line comment. ------------------------------------------------------------------------ r60 | mac | 1998-06-12 12:30:39 -0700 (Fri, 12 Jun 1998) | 3 lines Line up text following a begin that is on the same line as a continued parenthetical expression correctly ------------------------------------------------------------------------ r59 | mac | 1998-06-10 20:01:44 -0700 (Wed, 10 Jun 1998) | 5 lines 1) Incorporate Wilson's changes 2) support `protect//`endprotect 3) add verilog-indent-parentehtical which selects how continued lists are treated. ------------------------------------------------------------------------ r58 | mac | 1998-05-05 10:30:08 -0700 (Tue, 05 May 1998) | 4 lines 1) Make building of verilog-mode syntax table unconditional. 2) make ; in escaped names not force a newline 3) insert let for local variable keywd ------------------------------------------------------------------------ r57 | mac | 1998-05-05 09:09:12 -0700 (Tue, 05 May 1998) | 38 lines From wilson: 1) Added spaces to make verilint comments align nicely. 2) Another missing case[var] problem, made general. 3) Assign reinstall; missed case. 4) Added back assigns, else reg gets added in AUTOREG when it isn't needed. 5) Need to expect rvalue after ; in cases; is value. 6) User visible: The case case(1'b1) st[0]: o = i; endcase will now have st in the AUTOSENSE list. If the st is instead `some_define, that too will be in the AUTOSENSE list. If that isn't desired, see the AUTO_CONSTANT information under help for verilog-auto-sense User invisible changes: ce.el 7) Added verilog-verilint-off for converting verilint warnings to disable 8) Added verilog-expand-vector to menu. 9) Made autowire work with inouts. 10) Don't put PLI tasks in AUTOSENSE lists 11) Allow /* xxx AUTO_TEMPLATE 12) AUTOINST Adds "// Templated" comment 13) Ignore parameters in autosense 14) Allow AUTOS to work in buffers not associated with a filename. 14) Eq instead of looking-at in parser for 10+% speedup. 11) Handle ap; lines: +150 -85 12) Fixed verilog-goto-defun-file to actually do something 13) Fixed emacs-19 fontlock problem with AUTOINST 14) Put buffers into verilog-mode automatically when finding them 15) Rewrite of read-always-signals to do recursive decent 16) Added AUTO_CONSTANT 17) Fixed reading: // Outputs .outgo2 ( outgo ), 18) Spaces in read-sub-decls ------------------------------------------------------------------------ r56 | mac | 1998-03-02 17:13:26 -0800 (Mon, 02 Mar 1998) | 5 lines Fixed values in function calls being ommitted from AUTOSENSE Fixed AUTO_TEMPLATE hosed up .sig (sig)); Fixed read-sub-inputs adding ) to signal name. (from wsnyder) ------------------------------------------------------------------------ r55 | mac | 1998-02-26 09:20:07 -0800 (Thu, 26 Feb 1998) | 2 lines Various changes for AUTOSENSE ------------------------------------------------------------------------ r54 | mac | 1998-02-25 14:33:04 -0800 (Wed, 25 Feb 1998) | 18 lines revision 3.7.1.1 date: 1998/02/23 20:17:18; author: wsnyder; state: Exp; lines: +12 -4 verilog-auto-sense-no-inputs sense flipped and defcustomed. ---------------------------- revision 3.6.1.19 date: 1998/02/23 20:17:18; author: wsnyder; state: Exp; lines: +12 -4 Support tasks inside functions. Pass `somethings on inside AUTOINSTs. ---------------------------- revision 3.6.1.18 date: 1998/02/19 15:30:59; author: wsnyder; state: Exp; lines: +6 -2 Don't include strings in autosense ---------------------------- revision 3.6.1.17 date: 1998/02/16 21:06:29; author: wsnyder; state: Exp; lines: +10 -10 Had ' not ` for some places where macro was OK. ---------------------------- ------------------------------------------------------------------------ r53 | mac | 1998-02-24 09:09:16 -0800 (Tue, 24 Feb 1998) | 63 lines Incorporated changes from Wilson Synder ---------------------------- revision 3.6.1.16 date: 1998/02/11 21:32:03; author: wsnyder; state: Exp; lines: +53 -28 Added verilog-error-alist, a list of errors from verilint, vcs, etc that compile-mode can use to jump to line numbers with next-error. ---------------------------- revision 3.6.1.12 date: 1998/02/11 00:19:31; author: wsnyder; state: Exp; lines: +14 -10 Changed wire comments to indicate to/from Fixed deletion bug when killing AUTOWIRE without blank line after it Removed constant signals from AUTOWIRE etc. ---------------------------- revision 3.6.1.11 date: 1998/02/06 19:47:21; author: wsnyder; state: Exp; lines: +28 -23 Renamed arrays to memories, since that's what the manual calls them. Added some missing verilog-keywords. ---------------------------- revision 3.6.1.10 date: 1998/02/02 23:34:56; author: wsnyder; state: Exp; lines: +13 -5 Eliminate supply0/supply1 in AUTOSENSE ---------------------------- revision 3.6.1.9 date: 1998/02/02 23:07:12; author: wsnyder; state: Exp; lines: +7 -4 Allow _ and ' consistently in module and instantiation names. ---------------------------- revision 3.6.1.6 date: 1998/02/02 14:54:33; author: wsnyder; state: Exp; lines: +33 -12 AUTOSENSE now eliminates any memories from the sensitivity list, since such are not allowed in verilog. A comment is inserted when this happens. To support this verilog-read-decls now returns (signal bits comment array) ---------------------------- revision 3.6.1.5 date: 1998/01/30 17:38:47; author: wsnyder; state: Exp; lines: +15 -4 Fixed update autos to with with font-lock-mode in Emacs 19. Before version 20, match-string with font-lock returns a vector that is not equal to the string. We just bag and clear font-lock while doing the autos. ---------------------------- revision 3.6.1.4 date: 1998/01/30 15:53:45; author: wsnyder; state: Exp; lines: +22 -14 Worked around remaining compiler warnings to make it compile clean. Made read-inst-name and read-module-name allow comments between module, instance, and paren. ---------------------------- revision 3.6.1.3 date: 1998/01/30 15:12:41; author: wsnyder; state: Exp; lines: +25 -16 Fixed not checking if AUTOs were in comments before deleting. Fixed //* being multi-line comment Fixed out = sel ? a : b, having b missing in autosense. ---------------------------- revision 3.6.1.2 date: 1998/01/27 14:48:21; author: wsnyder; state: Exp; lines: +17 -14 When looking through the library path, don't create buffers for files that don't exist. ---------------------------- revision 3.6.1.1 date: 1998/01/27 14:36:41; author: wsnyder; state: Exp; lines: +5 -3 Eliminated missing global-replace-regexp in verilog-one-line ------------------------------------------------------------------------ r52 | mac | 1998-01-27 12:58:12 -0800 (Tue, 27 Jan 1998) | 2 lines Base revision for AUTO mdoule port addition to verilog-mode.el ------------------------------------------------------------------------ r51 | mac | 1998-01-27 11:42:54 -0800 (Tue, 27 Jan 1998) | 2 lines replace global-regexp with inline code. ------------------------------------------------------------------------ r50 | mac | 1998-01-26 18:26:23 -0800 (Mon, 26 Jan 1998) | 3 lines incorporated a large change from wsnyder@maker.com (Wilson Snyder), adding AUTO declaration capability. ------------------------------------------------------------------------ r49 | mac | 1998-01-21 10:38:57 -0800 (Wed, 21 Jan 1998) | 3 lines Use verilog-indent-line relative for C-M-\; also fix bug in that routine handling indenting blank continued lines. ------------------------------------------------------------------------ r48 | mac | 1997-11-24 10:45:15 -0800 (Mon, 24 Nov 1997) | 8 lines 1) fix some bugs that prevented new declarations from following the indent of the previous line. 2) add a menu item for editing the colors and styles of fonts used by verilog, "Customize Fonts & Colors Used by Verilog" 3) fix verilog-indent-behavorial to work as advertised 4) make documentation of indent variables a bit more clearer. 5) make verilog-cexp-indent one of those reported by error reporter. ------------------------------------------------------------------------ r47 | mac | 1997-11-14 19:03:28 -0800 (Fri, 14 Nov 1997) | 2 lines Fix comment-indent-function setting. ------------------------------------------------------------------------ r46 | mac | 1997-11-07 15:33:43 -0800 (Fri, 07 Nov 1997) | 2 lines Fix keyword matching problem (FSF emacs only) ------------------------------------------------------------------------ r45 | mac | 1997-10-21 14:13:12 -0700 (Tue, 21 Oct 1997) | 2 lines Fix pr 824 ------------------------------------------------------------------------ r44 | mac | 1997-10-14 22:23:29 -0700 (Tue, 14 Oct 1997) | 6 lines 1) Make work with FSF emacs v20 2) Try to not change the buffer when indenting a line that is already indented correctly. This isn't implemented everywhere, but it is better than it was. ------------------------------------------------------------------------ r43 | mac | 1997-09-16 17:36:06 -0700 (Tue, 16 Sep 1997) | 18 lines * ported to new custom * added support for running verilog/vcs/verilint directly on the buffer * recognize the deassign keyword * make ` part of a word for item scanning * follow comment style when adding more verbiage to a comment /* * here add a * at the begining */ /* here do not */ * match begin-ends in fork reasons correctly * tune a bit the handling of continued lines ------------------------------------------------------------------------ r42 | mac | 1997-05-08 12:17:44 -0700 (Thu, 08 May 1997) | 3 lines conditionally define store-match-data as null macro for folks with older versions of emacs ------------------------------------------------------------------------ r41 | mac | 1997-05-02 15:23:29 -0700 (Fri, 02 May 1997) | 5 lines 1) Clean up some errors that hosed FSF emacs only. 2) Pull more references to optional or new packages into the (eval-when-compile wrapper, so folks don't see error messages when compiling. ------------------------------------------------------------------------ r40 | mac | 1997-05-02 14:14:05 -0700 (Fri, 02 May 1997) | 4 lines 1) optimize some font-lock regular expressions 2) define C-; to insert ;,indent line, and then insert an end-of line comment // 3) fix the case where chained if else if else if else blocks got deeper indents. ------------------------------------------------------------------------ r39 | mac | 1997-04-21 12:35:57 -0700 (Mon, 21 Apr 1997) | 17 lines 1) cleanup of spelling errors (including renaming the variable verilog-indent-level-behavorial to verilog-indent-level-behavioral ) 2) Add pointer to help file on the web 3) some cleanup of font-lock-keywords; in particular, the same strings should be highlighted in current and ancient emacs versions. 4) C-c x where x is a single character is reserved for the user. Therefore I have moved the default key bindings around. C-c C-r now re inserts auto end comments. (was C-c b) C-c C-i now fixes up indent of declarations. (was C-c i) C-c C-b now submits a bug report. (was C-c C b due to a typo...) 5) `ifdef and the like are again recognized and indented correctly. ------------------------------------------------------------------------ r38 | mac | 1997-04-15 16:35:59 -0700 (Tue, 15 Apr 1997) | 12 lines 1) Autoindent a new declaration according to the previous declaration, if any. Only use the previous one, don't try to re line things up. 2) Include "Customize Verilog-Mode" in the Verilog menu bar. Make it safe to do so, even if the underlying emacs does not yet support custom. 3) Include keybinding C-c C-b for reporting bugs. 4) Include keybinding C-c i for reindenting declarations. ------------------------------------------------------------------------ r37 | mac | 1997-04-06 20:48:14 -0700 (Sun, 06 Apr 1997) | 2 lines Cleaned up menubar items; added submit bug report there, for example. ------------------------------------------------------------------------ r36 | mac | 1997-03-28 18:04:48 -0800 (Fri, 28 Mar 1997) | 5 lines 1) Support custom (XEmacs) or defvar method of customization. 2) fix verilog-pretty declarations 3) add support so folks turning up the complexity of commenting don't get errors (they don't get any more complexity either) ------------------------------------------------------------------------ r35 | mac | 1997-03-17 18:35:10 -0800 (Mon, 17 Mar 1997) | 28 lines Numerous changes. 1) Moved installation hints to the web page. 2) Added support for XEmacs's custom variable setting package. 3) Added variables to separatly control indentation of module level items (always, initial. etc) declarations behavorial (the begin in the task & function declaration 4) Attempted to shorten comments and lisp so that the %$#@* NT mailers won't turn long comments into extra code. 5) Used make-regexp to optimize many regular expressions so that they are no longer backtrack. 6) fixed bugs a) a newline on a blank line no longer generates two new lines. b) a semicolon on a comment no longer auto indents c) lines like ''else if (a) begin'' no longer confuse auto commenter d) a number of other bugs which fail to come to mind... 7) Added support for menu pulldowns on FSF and XEmacs 8) Added support for XEmacs v20 9) Changed verilog-comment-region to insert comments that Verilog-XL doesn't b*tch about. 10) Eliminated auto lineup of declarations upon typing newline of semicolon. (Cheers all around) Now instead there is a command, and also a menu pulldown, which lines up indentations around point. 11) Added verilog-submit-bug-report ------------------------------------------------------------------------ r34 | mac | 1996-09-20 13:34:27 -0700 (Fri, 20 Sep 1996) | 9 lines 1) fix so things like if (b) end else if (a) begin end // if (a) are correctly commented. 2) Add default as a colorized key word 3) comments are indented correctly by M-; 4) Tabs are simply inserted if verilog-tab-always-indent is not set. ------------------------------------------------------------------------ r33 | mcnamara | 1996-08-01 19:08:55 -0700 (Thu, 01 Aug 1996) | 5 lines 1) added defparam as a highlighted keyword. 2) endcase is now commented as appropriate for case/casex/casez. 3) endcomments that are truncated truncate whitespace and comments as well. 4) contiuned case items asre lined up better ------------------------------------------------------------------------ r32 | mcnamara | 1996-07-30 17:29:30 -0700 (Tue, 30 Jul 1996) | 5 lines 1) handle declaration lineup when folks have multiple declarations on a line: output foo; reg foo; 2) forward-sexp and backward-sexp understand modules and primitives 3) for (i=0; i < (2*a); i = i + 1); is handled correctly (only last ; casues newline) 4) nested cases are again indented correctly ------------------------------------------------------------------------ r31 | mcnamara | 1996-07-25 17:39:38 -0700 (Thu, 25 Jul 1996) | 3 lines 1) label case items with case: again; change case finder to look for case[xz]?[^:] 2) fix bug in nested case end commenting. ------------------------------------------------------------------------ r30 | mcnamara | 1996-07-25 10:11:01 -0700 (Thu, 25 Jul 1996) | 5 lines 1) Used verilog-leap-to-head in a few more places 2) fixed bug where there was sometimes not set 3) fixed forward and backward-sexp to handle comments and whitespace better 4) removed defined but unused variables ------------------------------------------------------------------------ r29 | mcnamara | 1996-07-24 17:29:47 -0700 (Wed, 24 Jul 1996) | 41 lines 1) Massively sped up the indentation rountines for huge case statements; it used to be order N2 or perhaps N3..(I shudder to think..) and now is nearly linear. 2) This makes C-cb much more useful (updates comments on every end token in the module), so I gussied it up, it prints out progress messages as it goes along 3) Changed comments inserted by autocomment so they look less like keywords: this again greatly speeds up commenting ends in case blocks when the commenter doesn't see all these // case: foo things that look a lot like case (a) type stuff. Again, when you have a thousand arm case statements, an extra thousand false hits hurt... 4) Contined expressions that end in a comma are handled much more nicely. Consider: wire [123123123:123123] g; trireg a; integer a, b, c, d; reg [3:45] affff, boo, caa, d; real a; and case (a) 2asd, 2, 3asdas, 4, a[23], b[23:45] + c, (a+b), g + h, foo: begin a; end ------------------------------------------------------------------------ r28 | mcnamara | 1996-07-23 17:51:40 -0700 (Tue, 23 Jul 1996) | 32 lines 1) added verilog-minimum-comment-distance; end's no further from their beginings than verilog-minimum-comment-distance are not commented 2) Fixed a bug in verilog-re-search-forward with non null BOUND 3) verilog-forward-sexp now works if point is in begin or end 4) commenting of case items no longer copies any comment 5) error is signled if one includes too many `endifs 6) commenting is no longer confused in case items when encountering part selects 7) Deleted code that examined begins as potential parallel code blocks for a fork as it consumed a lot of time, and didn't work anyway. Outstanding bugs: A) indent comma continued expressions nicer: Current: defparm a = 3, b = 2, c = 4, e = 5; Better: defparm a = 3, b = 2, c = 4, e = 5; (applies to case items and varaible declarations as well) B) large case statements take a long time to indent. ------------------------------------------------------------------------ r27 | mcnamara | 1996-07-11 15:43:10 -0700 (Thu, 11 Jul 1996) | 8 lines 1) now a begin after a bare always is indented correctly 2) verilog-label-be (C-cb) works much better; this relabels all end, endcase, endtask, `endif, `else tokens in the current module This can be real useful when you are trying to understand large modules which have evolved over time 3) Stuff that looked like declarations that were inside of comments used to confuse things. ------------------------------------------------------------------------ r26 | mcnamara | 1996-07-10 16:34:24 -0700 (Wed, 10 Jul 1996) | 20 lines 1) re wrote "sample code for .emacs". Please everyone update to this version. Cut out what you might have copied from previous verilog-modes already, and copy the region delimited by HERE and THERE in the new verilog-mode.el. 2) added more types and keywords to the list of highlighted expressions. 3) Added verilog-forward-sexp and verilog-backward-sexp, (bound as is usual to M-C-f and M-C-b; very useful for moving across matched begin..end, case..endcase, and the like. 4) Now delete extra blanks at end of lines in various places. 5) ':' no longer causes indentation anomolies. 6) auto end comments are much smarter. 7) orphaned declarations are indented correctly. ------------------------------------------------------------------------ r25 | mcnamara | 1996-05-24 19:16:43 -0700 (Fri, 24 May 1996) | 5 lines 1) Cleaned up some indent code 2) Give some errors if folks type always in behavorial code ( used to be we would indent strange ) 3) recognize parameter as a declaration; also realtime 4) finaly recognize specify blocks ------------------------------------------------------------------------ r24 | mcnamara | 1996-05-22 14:20:45 -0700 (Wed, 22 May 1996) | 2 lines begin on line after initial now indents correctly ------------------------------------------------------------------------ r23 | mcnamara | 1996-05-20 17:47:57 -0700 (Mon, 20 May 1996) | 2 lines Bug in auto-comments in side a case region where the end doesn't end the case item... ------------------------------------------------------------------------ r22 | mcnamara | 1996-05-20 15:35:26 -0700 (Mon, 20 May 1996) | 11 lines 1) changed my email address 2) fixed a bug in highlight expression for per 19.30 emacen 3) verilog-terminate line eliminates some excess white space at eol 4) verilog-indent behaves more like cc-mode 5) fixed bug introduced in v2.8 "unbalanced [" 6) indent parenthetical ({[]}) expressions by lining up expressions: assign z = ((x & y) | (a & b)); 7) indent correctly after else 8) fixed bug "hugenum" ------------------------------------------------------------------------ r21 | mac | 1996-05-02 17:14:21 -0700 (Thu, 02 May 1996) | 2 lines Enhanced comment indenting ------------------------------------------------------------------------ r20 | mac | 1996-04-26 20:02:28 -0700 (Fri, 26 Apr 1996) | 3 lines Fixed a bug indenting declarations when they are not in a module context ------------------------------------------------------------------------ r19 | mac | 1996-04-24 15:18:11 -0700 (Wed, 24 Apr 1996) | 6 lines 1) Major change is the abandonment of case lining up. It's too error prone at present. The problem is finding the right : (especially given : can be in [msb:lsb] expressions on both sides of the "real" : 2) More font lock stuff; things should work in emacs 19, and Xemacs now. 3) Some more effort to insure verilog snippets indent correctly. ------------------------------------------------------------------------ r18 | mac | 1996-03-27 17:12:20 -0800 (Wed, 27 Mar 1996) | 5 lines 1) added more special case indent of pre processor directives. 2) avoided overflow in regexp matcher for big case items. 3) made auto indent better for "snippets": incomplete verilog that folks like to `include ------------------------------------------------------------------------ r17 | mac | 1996-03-27 13:29:02 -0800 (Wed, 27 Mar 1996) | 8 lines 1) Reorganized varaible definitions 2) added verilog-indent-begin-after-if variable (if true (default) indent begin following if/else/while et cetera) 3) added verilog-auto-indent-on-newline variable (if true (default) indent new line after user hits ^m) 4) added \M-\r which updates end comment 5) work on case item auto comments ------------------------------------------------------------------------ r16 | mac | 1996-03-12 14:35:23 -0800 (Tue, 12 Mar 1996) | 4 lines 1) Moved highlight specific initialization out of this mode, and added comments telling folks how to use it. 2) Added support for udps ------------------------------------------------------------------------ r15 | mac | 1996-03-06 14:00:41 -0800 (Wed, 06 Mar 1996) | 11 lines 1) Add correct table..endtable indentation, and end comments for primitives. 2) move color setting out of verilog-mode; folks should do this in their .emacs 3) set up font lock keywords to work for emacs before 19.30 and after 19.30 4) Change all auto inserted comments to be of the // flavor, leaving the /* */ comments for the user; this lets user comment out blocks of code easily. 5) auto comment for end of else block is now much more useful. ------------------------------------------------------------------------ r14 | mac | 1996-02-20 11:08:06 -0800 (Tue, 20 Feb 1996) | 2 lines First public release ------------------------------------------------------------------------ r13 | mac | 1996-02-15 09:14:23 -0800 (Thu, 15 Feb 1996) | 2 lines Made work with Xemacs. provided verilog-mode. small clean up in regexps ------------------------------------------------------------------------ r12 | mac | 1996-01-25 16:27:25 -0800 (Thu, 25 Jan 1996) | 2 lines missing ) ------------------------------------------------------------------------ r11 | mac | 1996-01-25 13:39:47 -0800 (Thu, 25 Jan 1996) | 25 lines 1) major change is smart auto-end-comments. (Thanks to Nadim.Saeed@amd.com for the suggestion) Basically, much like I was doing at every endcase, now at every end, I parse back to find the reason for this block. I.E., if you had: while (true) begin /* do stuff */ end I insert a comment after the end as follows: /* while (true) */ This greatly enhances readability of code... 2) cleanup of usage of font-lock on dumb terminals 3) macromodule added where appropriate 4) comment indentation cleanups 5) a ; in a for(i = 1; no longer triggers a newline 6) start of work on a indent-line-relative, which would examine only a few lines of code to determine indent level, which would be bound to ; allowing quick entry of source. An occasional which would invoke the expensive ((order N logN) where N is number of lines in the module) verilog-indent-line to get indentation "perfect". 7) some more work on completion. ------------------------------------------------------------------------ r10 | mac | 1996-01-11 15:21:49 -0800 (Thu, 11 Jan 1996) | 3 lines Changed comment at top of file to say "verilog-mode.el" instead of "verilog.el", as I want you to call this file verilog-mode.el ------------------------------------------------------------------------ r9 | mac | 1996-01-11 15:04:24 -0800 (Thu, 11 Jan 1996) | 32 lines 1) Reworked color, borrowing ideas from gnus, so we pick either a light or dark color scheme, based on the background color of the frame. Also made it all work on a monochrome X screen as well. 2) Tuned the auto-indent case feature to handle all the stuff that is legal as a case item. Still doesn't work "right" for nested cases 3) Added verilog-re-search-{forward,backward} which are like their base versions, except they never match in strings or comments of either form; changed most searches to use these. 4) Reworked electric-terminate-line to be faster, and better. 5) Reworked electric-tick to be not zero indent user text macros; just the verilog preprocessor symbols. 6) Re worked set-auto-comments to be more efficient (mostly by eliminating redundant calls to verilog-calculate indent, an expensive function, but also other cleanup) 7) sped up verilog-calcualte-indent 8) sped up verilog-continued-line (used by the above) 9) reorganized and centralized "in-comment" decision code based on more complete understanding of parse-partial-sexp 10) fixed bugs in indent-declaration that caused infinate loops given type names in comments (eg reg, wire, input, et al) ToDo: 1) Handle auto lineup correctly in nested cases. 2) Re think when to do auto line up; (at present, we do it if you ever reindent a declaration or case item; and we reindent all the way back to the nearest previous non declaration or case statement; which is a lose should you have 100 declarations in a row, and you type M-C-\ to reindent region.) 3) Support completion of declared wires and registers; again, need to cache lookup, as rebuilding every time a user trys to complete is a lose. ------------------------------------------------------------------------ r8 | mac | 1996-01-05 18:22:21 -0800 (Fri, 05 Jan 1996) | 3 lines Many changes; the major one is that indent calculation is much faster. Also some colorization changes, and bug fixes ------------------------------------------------------------------------ r7 | mac | 1996-01-03 14:21:24 -0800 (Wed, 03 Jan 1996) | 3 lines Fix some silly typos; for now on I promise to _at least_ byte-compile and load the file before I send it out... ------------------------------------------------------------------------ r6 | mac | 1996-01-03 13:40:50 -0800 (Wed, 03 Jan 1996) | 37 lines Fix a few bugs: a typo, hints to use autoload, incorrect indentation of module as typed, named blocks where not handled. [ Thanks Drew!] There was a bug in the auto endcomment for `else and `endif (comment went to the wrong spot) Changed some features: The auto comments used to add comments like: endmodule /* module: foo */ endfunction /* function: bar */ I deleted the "module:" and "function:" parts as they are rather obvious... The end for named blocks is now marked. Added some features: Now M-C-t (esc tab) does some reasonable completion; it tries to get appropriate keywords based on scope; it tries to get tasks based on scope; it tires to get modules based on scope. eg, module foo; ini fills with initail module barinsky; endmodule module foo; ba fills with barinsky and so on. However, it still needs more work (vestiges of pascal mode remain) ------------------------------------------------------------------------ r5 | mac | 1996-01-03 09:19:02 -0800 (Wed, 03 Jan 1996) | 2 lines Base of publically released version ------------------------------------------------------------------------ r4 | mac | 1996-01-02 18:35:46 -0800 (Tue, 02 Jan 1996) | 2 lines *** empty log message *** ------------------------------------------------------------------------ r3 | mac | 1996-01-02 18:35:24 -0800 (Tue, 02 Jan 1996) | 2 lines *** empty log message *** ------------------------------------------------------------------------ r2 | mac | 1996-01-02 18:34:52 -0800 (Tue, 02 Jan 1996) | 2 lines Initial revision ------------------------------------------------------------------------