From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reto Zimmermann Newsgroups: gmane.emacs.bugs Subject: bug#5136: Request to update vhdl-mode and verilog-mode Date: Wed, 16 Dec 2009 14:21:10 +0100 Message-ID: <4B28DEC6.8060800@gnu.org> References: <50baabb30912061201l30cde8daua09bcefd7e5e3023@mail.gmail.com> <200912070756.nB77uOTF006336@godzilla.ics.uci.edu> <50baabb30912070050l6f1742e2s3addaa0c5643649e@mail.gmail.com> <4B1E80DA.3080200@gnu.org> <50baabb30912080951s22e61579o76fb5e31f29f632@mail.gmail.com> Reply-To: Reto Zimmermann , 5136@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260970321 26256 80.91.229.12 (16 Dec 2009 13:32:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 13:32:01 +0000 (UTC) Cc: Shakthi Kannan , Dan Nicolaescu , "5136@emacsbugs.donarmstrong.com" <5136@emacsbugs.donarmstrong.com>, "sagarun@gmail.com" To: Chitlesh GOORAH Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 16 14:31:53 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKtyA-0007qC-7O for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Dec 2009 14:31:11 +0100 Original-Received: from localhost ([127.0.0.1]:42866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKty9-0003C3-Vl for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Dec 2009 08:31:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKtuk-0001Ob-24 for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2009 08:27:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKtue-0001LT-SW for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2009 08:27:37 -0500 Original-Received: from [199.232.76.173] (port=52007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKtue-0001LE-9y for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2009 08:27:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56490) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKtud-00020f-LX for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2009 08:27:32 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBGDRTq3000660; Wed, 16 Dec 2009 05:27:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nBGDPHZj000404; Wed, 16 Dec 2009 05:25:17 -0800 Resent-Date: Wed, 16 Dec 2009 05:25:17 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Reto Zimmermann Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 16 Dec 2009 13:25:16 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5136 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5136-submit@emacsbugs.donarmstrong.com id=B5136.126096968132630 (code B ref 5136); Wed, 16 Dec 2009 13:25:16 +0000 Original-Received: (at 5136) by emacsbugs.donarmstrong.com; 16 Dec 2009 13:21:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from vaxjo.synopsys.com (us02smtp1.synopsys.com [198.182.60.75]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBGDLKCk032617 for <5136@emacsbugs.donarmstrong.com>; Wed, 16 Dec 2009 05:21:21 -0800 Original-Received: from crone.synopsys.com (crone.synopsys.com [146.225.7.23]) by vaxjo.synopsys.com (Postfix) with ESMTP id 158D6E0FA; Wed, 16 Dec 2009 05:21:14 -0800 (PST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by crone.synopsys.com (8.9.1/8.9.1) with ESMTP id FAA27624; Wed, 16 Dec 2009 05:21:12 -0800 (PST) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <50baabb30912080951s22e61579o76fb5e31f29f632@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 16 Dec 2009 08:27:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33633 Archived-At: Chitlesh, I added your settings for GHDL to the upcoming vhdl-mode version 3.33.28. I'm still holding it because I first have to resolve some issues with the new compile.el in Emacs 23. I am aware of the compilation warnings but I'm not applying the fixes to my version because they break older Emacs versions as well as XEmacs. I'm trying to keep my vhdl-mode version compatible with recent Emacs and XEmacs versions. You should be able to add the lines to Makefile using the hook vhdl-makefile-generation-hook. Reto Chitlesh GOORAH wrote: > Hello there, > > First, I'm an emacs user since a week now. So I'm still learning the > internals. However, I've just created a patch for ghdl and fixes some > compilation warnings. > > http://chitlesh.fedorapeople.org/emacs/emacs-vhdl-mode-ghdl.patch > Which seems to work for me and it can generate a proper makefile. > > However I can't figure out how to tell it that if a testbench is > provided, then add the following lines to the Makefile > > ghdl -m --workdir=work/ --ieee=synopsys -fexplicit $(TESTBENCH) > ghdl -r $(PROJECT)_tb --vcd=$(PROJECT).vcd --stop-time=$(STOPTIME_US) > > Chitlesh > > > On Tue, Dec 8, 2009 at 5:37 PM, Reto Zimmermann wrote: >> Chitlesh GOORAH wrote: >> >>> Similarly, for vhdl-mode (included within emacs sources), weirdly does >>> not support ghdl or freehdl out of the box, but only proprietary >>> simulators. Can your vhdl-mode maintainer for emacs can fix it and put >>> ghdl as default simulator please ? > >> Please send me the required information and I will include them. >> >> Compiler name : name used in option `vhdl-compiler' to choose compiler >> Compile command : command used for source file compilation >> Compile options : compile options (\"\\1\" inserts library name) >> Library command : command to create library directory \(\"\\1\" inserts >> library directory, \"\\2\" inserts library name) >> Library directory: directory of default library >> Error message: >> Regexp : regular expression to match error messages (*) >> File subexp index: index of subexpression that matches the file name >> Line subexp index: index of subexpression that matches the line number >> Column subexp idx: index of subexpression that matches the column number >> File message: >> Regexp : regular expression to match a file name message >> File subexp index: index of subexpression that matches the file name >> Unit-to-file name mapping: mapping of library unit names to names of files >> generated by the compiler (used for Makefile generation) >> To string : string a name is mapped to (\"\\1\" inserts the unit >> name, >> \"\\2\" inserts the entity name for architectures) >> Case adjustment : adjust case of inserted unit names >> >> Reto >> >> >