"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.

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.

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.

-- 
-- Stephe

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

Reply via email to