FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > Verilog

Verilog comp.lang.verilog newsgroup / usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2008, 04:42 PM
unfrostedpoptart
Guest
 
Posts: n/a
Default (x)emacs verilog-mode / slow indenting

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
Reply With Quote
  #2 (permalink)  
Old 02-02-2008, 03:31 PM
gabor
Guest
 
Posts: n/a
Default Re: (x)emacs verilog-mode / slow indenting

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.

Just my 2 cents,
Gabor
Reply With Quote
  #3 (permalink)  
Old 02-02-2008, 04:21 PM
Dan Espen
Guest
 
Posts: n/a
Default Re: (x)emacs verilog-mode / slow indenting

unfrostedpoptart <[email protected]> writes:

> 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?


Make sure you have line number mode turned off.

> Any Win/*nix programs to batch indent
> Verilog files outside the editor?


Emacs in batch mode.
Reply With Quote
  #4 (permalink)  
Old 02-03-2008, 04:02 AM
unfrostedpoptart
Guest
 
Posts: n/a
Default Re: (x)emacs verilog-mode / slow indenting

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

Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs crashes with the latest verilog-mode on WinXP. Any idea? Jim Wu Verilog 1 09-07-2006 06:58 PM
Tcl DC Mode for Emacs Reto Zimmermann Verilog 2 06-20-2006 12:39 PM
verilog-mode and auto-inst Jason Zheng Verilog 1 04-22-2005 10:09 PM
System Verilog mode on Emacs! agape Verilog 1 12-03-2004 04:39 PM
Bug in AUTOSENSE with Emacs + Verilog Mode Srinivasan Venkataramanan Verilog 1 06-10-2004 01:44 PM


All times are GMT +1. The time now is 12:21 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved