Stupid Question,I am new at ghdl. My fist crash is a your first example at.

> http://ghdl.free.fr/ghdl/The-hello-word-program.html#The-hello-word-program
>   
>
> -- Hello world program.
> use std.textio.all; -- Imports the standard textio package.
>
> -- Defines a design entity, without any ports.
> entity hello_world is
> end hello_world;
>
> architecture behaviour of hello_world is
> begin
> process
> variable l : line;
> begin
> write (l, String'("Hello world!"));
> writeline (output, l);
> wait;
> end process;
> end behaviour;
>
> I stored at hallo.vhdl and start ghdl.
>
> ghdl -a hallo.vhdl
> hallo.s: Assembler messages:
> hallo.s:56: Error: suffix or operands invalid for `push'
> hallo.s:180: Error: suffix or operands invalid for `push'
> hallo.s:259: Error: suffix or operands invalid for `push'
> hallo.s:261: Error: suffix or operands invalid for `push'
> hallo.s:289: Error: suffix or operands invalid for `pop'
> hallo.s:290: Error: suffix or operands invalid for `pop'
> ghdl: compilation error
>
> .globl work__hello_world__ELAB
> .type work__hello_world__ELAB, @function
> work__hello_world__ELAB:
> line 56: pushl %ebp
> movl %esp, %ebp
> subl $8, %esp
> movzbl std__textio__ELABORATED, %eax
>
> What make I wrong? Or is something missing?
>
> Thanks Rene
>
>


_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to