On Fri, Oct 16, 2009 at 04:10:22PM +0200, R.Doss wrote:
> 
> The examples
> 
> hello_world and adder are running now.

Congrats!

> I try the next example dlx.
> 
> How are the correct options for a 54 bit engine?

[...]
> r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl/dlx> ghdl -i --workdir=work
> *.vhdl
> r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl/dlx> ghdl -m --workdir=work
> dlx_test

Of course, you need to specify the options.

> r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl/dlx> ghdl -Wa,--32 -m
> --workdir=work

... but after '-m'...

> r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl/dlx> ghdl -m --workdir=work
> dlx_tes
> t_behaviour -Wa,--32
> ghdl: too many unit names for command '-m'

... and before the unit name (see the doc) ...

> r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl/dlx> ghdl -m -Wa,--32
> --workdir=wor

Files are now correctly analyzed ...

> elaborate dlx_test_behaviour
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
> i386
> architecture of input file `work/e~dlx_test_behaviour.o' is incompatible
> with i3

... but the final elaboration fails.

You also need to add the options you used for 'ghdl -e'.

Tristan.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to