cygwin vcom path problems

O

Olaf Petzold

Guest
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
 
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" <olaf@mdcc-fun.net> wrote in message
news:dhlj8q$bia$1@viper.mdlink.de...
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
 
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
 

Welcome to EDABoard.com

Sponsor

Back
Top