![]() |
|
|
|
#1 |
|
hello, I need some help with xemacs
I use windows binary of xemacs 21.4.19 with vhdl-mode 3.33.13. when i compile a vhdl file, i get error messages, but how can i move to the error in the source file. when i try right-click->compile->next error, nothing happens. also the key combination "C-x `", how do I enter this combination on a german keyboard. following are the compilation messages: cd c:\temp\b3dcr01\test\ vcom -93 -work work C:\temp\b3dcr01\test\src\b3dcr01.vhd Model Technology ModelSim ALTERA vcom 6.1d Compiler 2006.01 Jan 23 2006 -- Loading package standard -- Loading package std_logic_1164 -- Loading package numeric_std -- Compiling entity b3dcr01 ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "n". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "i". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): near "std_logic": expecting: ')' ';' Compilation exited abnormally with code 2 at Sun Aug 20 16:43:53 thanks Thomas Fischer |
|
|
|
|
#2 |
|
Posts: n/a
|
Thomas Fischer wrote:
> I use windows binary of xemacs 21.4.19 with vhdl-mode 3.33.13. > when i compile a vhdl file, i get error messages, but how can i move > to the error in the source file. The command is "next-error" I have it bound to a function key. But whenever Modelsim changes error formats, I have to fix the Regexp to match in vhdl,options,compiler. Note that you can read the vcom messages and line numbers in the compilation buffer. > when i try right-click->compile->next error, nothing happens. > also the key combination "C-x `", how do I enter this combination on > a german keyboard. don't know. check see:http://groups.google.com/group/comp.emacs.xemacs > following are the compilation messages: It looks like you are generating makefiles and running make and vcom ok. Thats 90% of the battle. Good luck. -- Mike Treseler Mike Treseler |
|
|
|
#3 |
|
Posts: n/a
|
Mike Treseler schrieb:
> Thomas Fischer wrote: >> I use windows binary of xemacs 21.4.19 with vhdl-mode 3.33.13. >> when i compile a vhdl file, i get error messages, but how can i move >> to the error in the source file. > > The command is "next-error" > I have it bound to a function key. > But whenever Modelsim changes error formats, I have to > fix the Regexp to match in vhdl,options,compiler. > Note that you can read the vcom messages and line numbers > in the compilation buffer. > >> when i try right-click->compile->next error, nothing happens. >> also the key combination "C-x `", how do I enter this combination on >> a german keyboard. > > don't know. check > see:http://groups.google.com/group/comp.emacs.xemacs > >> following are the compilation messages: > > It looks like you are generating makefiles and running > make and vcom ok. Thats 90% of the battle. Good luck. > > -- Mike Treseler thanks "battle" is the right word... i'm not an expert in regex, perhaps someone can help me to setup the regex correctly. 1: do i have to enable menu "Options->Compiler->"Use Local Error Regex" ? 2: I found the regex in buffer Options->Compiler->Compiler Setup: \(ERROR\|WARNING\|\*\* Error\|\*\* Warning\)[^:]* \(.+\)(\([0-9]+\)): I do not know the error message from former modelsim vcom, therefore it's difficult for me to detect what's wrong. I've downloaded regex coach but I still have problems to determine the values for File subexp index: 3 Line subexp idx: 4 thanks Thomas Fischer |
|
|
|
#4 |
|
Posts: n/a
|
Thomas Fischer wrote:
> perhaps someone can help me to setup > the regex correctly. That's off-topic here. Try an emacs group or google for a tutorial. > I do not know the error message from former modelsim vcom, > therefore it's difficult for me to detect what's wrong. error messages go to the compilation buffer or just run vcom from cmd, bash, or the vsim GUI until you have it solved. -- Mike Treseler Mike Treseler |
|
|
|
#5 |
|
Posts: n/a
|
Thomas Fischer wrote:
> I found the regex in buffer Options->Compiler->Compiler Setup: > \(ERROR\|WARNING\|\*\* Error\|\*\* Warning\)[^:]* Here's mine: \(\*\*.Error\|Warning\)[^:]*: \(.+\)(\([0-9]+\)): Mike Treseler |
|
|
|
#6 |
|
Posts: n/a
|
Thomas Fischer wrote:
> \(ERROR\|WARNING\|\*\* Error\|\*\* Warning\)[^:]* > \(.+\)(\([0-9]+\)): There is indeed a bug in the regexp above. It should be: \(ERROR\|WARNING\|\*\* Error\|\*\* Warning\)[^:]*:\( *[[0-9]+]\)? \(.+\)(\([0-9]+\)): (two parenthesis "(" and ")" need to be escaped as "\(" and "\)".) I've also fixed it in version 3.33.14 at http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html Reto Reto Zimmermann |
|
|
|
#7 |
|
Posts: n/a
|
thanks for your replies,
unfortunately i did not get it running with your regex, i think it's a problem with the binary xemacs version for windows. ( i also tried a cygwin version of xemacs, but there is a problem with the path) if someone uses this version on windows with vhdl mode successfully , he may help me, otherwise i will try another editor. thanks a lot. lower is the description of the problem i downloaded: http://ftp.xemacs.org/xemacs/binarie...noSetup/XEmacs Setup 21.4.19.exe i downloaded: http://www.iis.ee.ethz.ch/~zimmi/ema...de-3.33.14.zip extracted vhdl-mode-3.33.14.zip copied and renamed it to C:\Programme\XEmacs\xemacs-packages\lisp\vhdl-mode when I compile buffer i get the following errors cd c:\temp\b3dcr01\test\ vcom -93 -work work C:\temp\b3dcr01\test\src\b3dcr01.vhd Model Technology ModelSim ALTERA vcom 6.1d Compiler 2006.01 Jan 23 2006 -- Loading package standard -- Loading package std_logic_1164 -- Loading package numeric_std -- Compiling entity b3dcr01 ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "n". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "i". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): near "std_logic": expecting: ')' ';' Compilation exited abnormally with code 2 at Mon Aug 21 13:25:39 when I use right click->compile->First Error File Dialog pops up with Find This Error in C:\Temp\B3dcr01\Test\Src\B3dcr01.vhd Model Technologgy Modelsim Altera Vcom 6.1d....... when i close this dialog compilation buffer changes to ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "n". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): (vcom-1136) Unknown identifier "i". ** Error: C:\temp\b3dcr01\test\src\b3dcr01.vhd(11): near "std_logic": expecting: ')' ';' and the first line light's up green when i move with the mouse over this line when i press middle button of the mouse, again same file dialog pops up Thomas Fischer |
|
|
|
#8 |
|
Posts: n/a
|
Thomas Fischer wrote:
> thanks for your replies, > unfortunately i did not get it running with your regex, > i think it's a problem with the binary xemacs version for windows. > ( i also tried a cygwin version of xemacs, but there is a problem with > the path) As far as I know XEmacs has a different compile.el version than FSF Emacs. Maybe the problem lies there. I only tested vhdl-mode extensively with FSF Emacs. Reto Reto Zimmermann |
|
|
|
#9 |
|
Posts: n/a
|
Reto Zimmermann schrieb:
> Thomas Fischer wrote: >> thanks for your replies, >> unfortunately i did not get it running with your regex, >> i think it's a problem with the binary xemacs version for windows. >> ( i also tried a cygwin version of xemacs, but there is a problem with >> the path) > > As far as I know XEmacs has a different compile.el version than FSF > Emacs. Maybe the problem lies there. I only tested vhdl-mode > extensively with FSF Emacs. > > Reto thanks, ok first had to look what FSF emacs is, i thought that there is only a xemacs windows version, now i downloaded emacs-21.3-fullbin-i386.tar and it seems to work as expected. complete different, nice highlight colors, now goto errormessage works, speedbar works (did not in xemacs), thanks again Thomas Fischer |
|
|
|
#10 |
|
Posts: n/a
|
Thomas Fischer <> writes:
> I've downloaded regex coach but I still have problems to determine the > values for The XEmacs package re-builder (installable via package manager) is priceless when dealing with that sort of issues. -- Marcus Marcus Harnisch |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL | freitass | Hardware | 0 | 11-01-2007 03:44 PM |
| Need help on Modelsim VHDL syntax? ASAP:) | kaji | General Help Related Topics | 0 | 03-14-2007 10:43 PM |
| Need help on a Modelsim VHDL Syntax? ASAP:) | kaji | Software | 0 | 03-14-2007 10:43 PM |
| Need Help on a Modelsim VHDL Syntax....ASAP:) | kaji | Hardware | 0 | 03-14-2007 10:41 PM |
| Safe Mode doesn't work, Normal mode does | bobG | A+ Certification | 0 | 07-06-2004 11:57 PM |