FPGA Center



LIBRARY

A library clause means that the name of design libraries located in PC.

library library_name;
use library_name:package_name.all;

NOTE:

EXAMPLE

library IEEE;
use IEEE.Std_Logic_1164.all;

These statements should be written on the top of the codes. This means that any declaration located in Std_Logic_1164 package can be used in the code.

IEEE LIBRARY

library IEEE;

IEEE PACKAGES

use IEEE.math_complex.all;
use
IEEE.math_real.all;
use
IEEE.numeric_bit.all;
use
IEEE.numeric_std.all;
use
IEEE.std_logic_1164.all;
use
IEEE.std_logic_misc.all;
use
IEEE.std_logic_signed.all;
use
IEEE.std_logic_textio.all;
use
IEEE.std_logic_unsigned.all;
use I
EEE.STD_LOGIC_ARITH.all;

You can see the detiled information on example pages.                                                                                                           

    

                                                                                                                                    

 

                                                                                                                                                                                                                                                                   

Home | Fpga | VHDL | VHDL Dictionary | Digital Design | Simulation | PCB | Examples | Contact Us
Copyright © 2010 - 2013 FPGAcenter. All Rights Reserved.