Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > cygwin vcom path problems

Reply
Thread Tools

cygwin vcom path problems

 
 
Olaf Petzold
Guest
Posts: n/a
 
      10-01-2005
Hi,

this time I have Problems with modelsim using under cygwin's bash:

$ cd electronic/Projects/LA/mxe

prompt: /cygdrive/d/electronic/Projects/LA/mxe
$ vcom -work work ../source/tb_vhdl/TB_edge_trigger.vhd
Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
-- Loading package standard
-- Loading package std_logic_1164
-- Loading package textio
-- Loading package std_logic_textio
-- Compiling entity tb_edge_trigger
-- Compiling architecture behavior of tb_edge_trigger
-- Loading package std_logic_arith
-- Loading entity edge_trigger
-- Loading package std_logic_unsigned
-- Loading entity counter_g

prompt: /cygdrive/d/electronic/Projects/LA/mxe
$ vcom -work work
/cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd
Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
** Error: (vcom-7) Failed to open design unit file
"/cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd"
in read mode.
No such file or directory. (errno = ENOENT)


Using relative paths is working, absolute path no. Why? This problem
occoured first using xemac's vhdl-mode/compile. I'm using the default
installation of cygwin (no configuration specials like .bashrc,
init.el etc).

Thanks
Olaf


 
Reply With Quote
 
 
 
 
fe
Guest
Posts: n/a
 
      10-01-2005
Modelsim for Windows doesn't understand cygwin naming drive /cygdrive/d/.
You must use Windows (DOS) naming drive, d:/

vcom -work work d:/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.v

regards
fe

"Olaf Petzold" <(E-Mail Removed)> wrote in message
news:dhlj8q$bia$(E-Mail Removed)...
> Hi,
>
> this time I have Problems with modelsim using under cygwin's bash:
>
> $ cd electronic/Projects/LA/mxe
>
> prompt: /cygdrive/d/electronic/Projects/LA/mxe
> $ vcom -work work ../source/tb_vhdl/TB_edge_trigger.vhd
> Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
> -- Loading package standard
> -- Loading package std_logic_1164
> -- Loading package textio
> -- Loading package std_logic_textio
> -- Compiling entity tb_edge_trigger
> -- Compiling architecture behavior of tb_edge_trigger
> -- Loading package std_logic_arith
> -- Loading entity edge_trigger
> -- Loading package std_logic_unsigned
> -- Loading entity counter_g
>
> prompt: /cygdrive/d/electronic/Projects/LA/mxe
> $ vcom -work work
> /cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd
> Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
> ** Error: (vcom-7) Failed to open design unit file
> "/cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd" in
> read mode.
> No such file or directory. (errno = ENOENT)
>
>
> Using relative paths is working, absolute path no. Why? This problem
> occoured first using xemac's vhdl-mode/compile. I'm using the default
> installation of cygwin (no configuration specials like .bashrc, init.el
> etc).
>
> Thanks
> Olaf
>
>



 
Reply With Quote
 
 
 
 
Andy Moreton
Guest
Posts: n/a
 
      10-03-2005
On Sat, 01 Oct 2005 09:07:03 GMT, Olaf Petzold wrote:

> Hi,
>
> this time I have Problems with modelsim using under cygwin's bash:
>
> $ cd electronic/Projects/LA/mxe
>
> prompt: /cygdrive/d/electronic/Projects/LA/mxe
> $ vcom -work work ../source/tb_vhdl/TB_edge_trigger.vhd
> Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
> -- Loading package standard
> -- Loading package std_logic_1164
> -- Loading package textio
> -- Loading package std_logic_textio
> -- Compiling entity tb_edge_trigger
> -- Compiling architecture behavior of tb_edge_trigger
> -- Loading package std_logic_arith
> -- Loading entity edge_trigger
> -- Loading package std_logic_unsigned
> -- Loading entity counter_g
>
> prompt: /cygdrive/d/electronic/Projects/LA/mxe
> $ vcom -work work
> /cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd
> Model Technology ModelSim XE III vcom 6.0a Compiler 2004.11 Nov 10 2004
> ** Error: (vcom-7) Failed to open design unit file
> "/cygdrive/d/electronic/Projects/LA/source/tb_vhdl/TB_edge_trigger.vhd"
> in read mode.
> No such file or directory. (errno = ENOENT)
>
>
> Using relative paths is working, absolute path no. Why? This problem
> occoured first using xemac's vhdl-mode/compile. I'm using the default
> installation of cygwin (no configuration specials like .bashrc,
> init.el etc).


ModelSim is built as a Windows application, and so does not understand
Cygwin (POSIX) paths. You can use the cygpath utility to do path conversions
for you:

$ vcom work work $(cygpath -d /cygdrive/d/path/to/file.vhd)

If you want to get Xemacs to understand Cygwin style paths, then cygwin-
mount.el may help you - see www.emacswiki.org/cgi-bin/wiki/cygwin-mount.el

AndyM
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shift right : does not compile in Modelsim VCOM Pasacco VHDL 4 09-09-2007 09:35 AM
warning: vcom-1186 JK VHDL 4 05-30-2007 03:32 AM
warning: vcom-1186 JK VHDL 1 05-29-2007 08:23 PM
Error: (vcom-11) Could not find work.const max.giacometti@libero.it VHDL 3 06-08-2006 09:54 AM
ModelSim - vcom dependency order andyesquire@hotmail.com VHDL 17 04-06-2005 06:08 PM



Advertisments