Hi,

FYI, I have a Ubuntu precise machine I need ghdl to run on, so I ported
this package over (it only needed 2 small tweaks).  It's available here:
https://launchpad.net/~pgavin/+archive/ghdl

In testing it out, however, I found a problem.  The following file won't
analyze:

--- CUT HERE ---
library ieee;
use ieee.std_logic_1164.all;

package foo_pkg is

pure function foo(x : std_ulogic) return std_ulogic;

end;

package body foo_pkg is

pure function foo(x : std_ulogic) return std_ulogic is
begin
  return not x;
end;

end;
--- CUT HERE ---

I get the error:

$ ghdl -a ghdl_test.vhd
ghdl_test.vhd:13:14: package "foo_pkg" is obsoleted by package
"std_logic_1164"
ghdl: compilation error

I think ghdl doesn't like having a package body, now.  I didn't test
putting the body in another file and analyzing it separately, though.  Any
suggestions?

-Pete


On Wed, Jan 15, 2014 at 3:14 PM, Joris van Rantwijk <[email protected]>wrote:

> Hello Nicolas,
>
> On 2013-11-28, Nicolas Boulenguez wrote:
> > I am interested in sponsoring the GHDL package, but will not have time
> > for this before two weeks.
>
> Are you still interested in sponsoring the GHDL package for Debian?
>
> There has recently been a new upstream release of GHDL which fixes many
> bugs and makes it easier to build the software on Debian systems.
>
> I made a Debian package for that release, ghdl-0.31-1, available here:
> http://mentors.debian.net/package/ghdl
>
> I believe the package is in good shape and (almost) ready to upload to
> the Debian archive. It would be great if you could have a look at it and
> tell me what you think.
>
> Please let me know if you can help or if you have any comments,
>
> Regards, Joris.
>
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss
>
>
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to