bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5136: Request to update vhdl-mode and verilog-mode


From: Reto Zimmermann
Subject: bug#5136: Request to update vhdl-mode and verilog-mode
Date: Wed, 16 Dec 2009 14:21:10 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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 <reto@gnu.org> 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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]