On Wed, Oct 04, 2006 at 08:43:24AM -0400, Stephen Leake wrote: > "Ebraheem Azhar" <[EMAIL PROTECTED]> writes: > > > Hi I'm trying to code my first lab for my hardware design class and > > we have to create an 8 bit parity generator. Using the syntax from > > class, I created the following for the source: > > > > LIBRARY ieee; > > USE ieee.std_logic_1164.all; > > USE ieee.std_logic_signed.all; > > (At last a question _I_ can answer :) > > std_logic_signed is _NOT_ an IEEE standard, as a search of the IEEE > web site for VHDL will show. It is an early proposal by Synopsis for > an IEEE standard. GHDL knows this, and calls it by its proper name; > Synopsis.std_logic_unsigned. Not quiet correct. With GHDL you can switch to synopsys libraries with the --ieee=synopsys option.
> The actual IEEE standard is IEEE.Numeric_STD; it differs some from > std_logic_unsigned, but provides the same functionality. It is > provided by ghdl, and all other VHDL tools I know of. Yes. > Unfortunately, std_logic_unsigned is popular, and a lot of tools call > it IEEE.std_logic_unsigned. > > It would be interesting to hear what your professor has to say about > this. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
