On Feb 2, 7:31*am, gabor <
[email protected]> wrote:
> On Feb 1, 11:42 am, unfrostedpoptart <[email protected]> wrote:
>
>
>
> > Hi all.
>
> > I've been using Mac's verilog-mode for years to edit my code. However,
> > as my files have gotten bigger, the mode has made emacs slow down to
> > the point of uselessness. *When I'm editing a 5000 - 10000 line file,
> > just hitting return near the end of the file takes a while for it to
> > figure out the correct indentation. *And, trying to re-indent the
> > whole file takes forever.
>
> > I'm running the latest verilog-mode.el and xemacs 21.4.15 under RedHat
> > Enterprise.
>
> > Any ideas how to speed this up? Any Win/*nix programs to batch indent
> > Verilog files outside the editor?
>
> > Thanks!
>
> > *David
>
> I realize we all have our preferences for style, etc. *But have you
> considered reducing your file size? *I usually find that when a module
> grows much over 1,000 lines it helps to modularize it more.
I generally agree, but A) I didn't write most of the code, and B) some
are top-level files that instantiate lots of sub-modules so they're
huge. Now, if all the tools supported SV interfaces I could shrink
them down under 1k lines.
David