Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Emacs VHDL-mode Compiler Setup

 
Thread Tools Search this Thread
Old 11-05-2008, 07:02 PM   #1
Default Emacs VHDL-mode Compiler Setup


Hi,

I've been teaching myself Emacs going along for these past few
projects but haven't done much more than the essential editing and
using some of the VHDL mode tools like the declaration copying and
beautification. I thought today I might try to get the compiler
portion working. It's close, but not quite there and I thought I
might see if someone else knows the emacs trick for it.

I have setup my project as follows below. The trouble seems to be the
library name. According to the help text below the settings, \1
inserts the library name and \2 inserts the default options. Well as
can be seen, the Library directory is located someplace other than as
an offshoot of the source directory. How can I make it insert the
library path and then the library name? With the settings shown
below, it gives a compiler command of "vcom -93 -work work foo.vhd".
What I need is "vcom -93 -work /path/to/library/directory/work
foo.vhd".

Vhdl Project Alist: Hide
INS DEL Project:
Name : lcdc_fpga
Title : LCD Controller FPGA Verification
Default directory: ~/lcdc_fpga/
Sources :
INS DEL -r verify/tb/
INS
Exclude regexp :
Compile options :
INS DEL Compiler:
Compiler name: Value Menu ModelSim
Compile options: -93 -work \1
Make options : -f \1 top_level
Exceptions :
INS
INS
Compile directory: verify/tb/
Library name : work
Library directory: verify/sim/
Makefile name : Makefile_\2
Description: (type `C-j' for newline)

Thanks for any Emacs guru help out there. I did some group and google
searches but didn't seem to turn up anything useful.

Mark


M. Norton
  Reply With Quote
Old 11-05-2008, 07:11 PM   #2
M. Norton
 
Posts: n/a
Default Re: Emacs VHDL-mode Compiler Setup
Well I may have solved it by accident. I noticed in the VHDL menu
that the little radio box by the project I had created was not
checked. I clicked it, and then also selected Set Default Project.
Now when I use the compiler it seems to be using the options I
selected.

Useful tool, just requires some luck

Mark


M. Norton
  Reply With Quote
Old 11-05-2008, 07:39 PM   #3
Mike Treseler
 
Posts: n/a
Default Re: Emacs VHDL-mode Compiler Setup
M. Norton wrote:
> Well I may have solved it by accident. I noticed in the VHDL menu
> that the little radio box by the project I had created was not
> checked. I clicked it, and then also selected Set Default Project.
> Now when I use the compiler it seems to be using the options I
> selected.


Yes. If the project isn't set, it uses the current directory
instead of the specified settings.
I can do that on the menu VHDL, project ...
or on the speedbar.

> Useful tool, just requires some luck


Or trial and error.
Make sure you read everything in VHDL, documentation, ...

-- Mike Treseler


Mike Treseler
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
security setup wizaed not working please help pcprince1987 General Help Related Topics 0 09-02-2008 09:47 AM
Problem in building code with Solaris 9 and g++ compiler dileepd Software 0 07-18-2007 03:05 PM
Network Setup / Computer Repair / Websites Brixtel A+ Certification 0 12-05-2006 09:22 AM
Netgear DG834G Router/Modem Setup problems Aaron PAlmer General Help Related Topics 1 10-19-2006 09:16 AM
How do I cancel XP setup? A A+ Certification 5 11-20-2005 05:19 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46