[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Emacs find error in vhdl source problem



Hej MC

Tak for dit svar. Såfremt jeg forstår dig korrekt:

Nej jeg anvender nok den normal Compile du omtaler.
Når man har en .vhd fil åben kommer der en ekstra menu op i Emacs som hedder VHDL.
I VHDL menu er punkt 2 compile som gir en ny menu.
Her er der så en Compile buffer C-c C-k kommando, den bruger jeg.
Nederst i samme undermenu er et punkt Compiler som gir en ny undermenu.
I den undermenu kan man vælge imellem 15 forskellige VHDL simulatorer.
Nederst i samme undermenu er der et punkt som hedder Customize Compiler ...
Åbner man den er der defineret kommadoer og et regular expression til error message locate for hver af de 15 VHDL compilere.
Under modelsim står det reg expr som jeg skrev i spørgsmålet.
Så denne specielle vhdl compile skulle jo faktisk formatere modelsims error message til det Emacs format du nævner.

Detsværre er det lidt svært at lave piped scripts på windows, her ville linux være langt lettere. overvejer om jeg kan lave et sådan Make script og så prøve den normale compile command. Har detsværre aldrig anvendt make på windows.

Michael Cardell Widerkrantz skrev:

Peter Sørensen, 2010-04-30 00:51 (+0200):

The compile command itself works and every think is fine for vhdl
files without any error, but when errors are found
the find first error and find next error do not move the cursor to the
errorline. Nothink happens.

Använder du vanliga compilation mode? Alltså den som startas med M-x
compile RET? I så fall förväntar sig den att dina felmeddelanden skall
ges i den här stilen för att den skall kunna parsa data:

  filnamn.vhdl:917: error: Foo in the bar!

eller för att ta ett av dina exempel (ren gissning från min sida om vad
som är radnummer):

  d:/Protelevision/SRAM/Buf_Ctrl.vhd:11: ** Error: (vcom-1195) Cannot
  find expanded name "work.ifft_types".

Du skall alltså ha först filens namn, sedan kolon ":", sedan radnumret
som output från din kompilator/syntetisator/vad du nu har. Om du inte
får det normalt kanske du kan köra ditt verktyg genom något script och
massera data så de hamnar på rätt plats?





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-05-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *