Jumat, 29 Oktober 2010

Macam-macam FPGA Library

Library : berisi semua library yang digunakan pada design.

contoh : ieee, std, work, dll.


1.  Library IEEE:    
        use IEEE.std_logic_1164.all;
        use IEEE.std_logic_textio.all;
        use IEEE.std_logic_arith.all;
        use IEEE.numeric_bit.all;
        use IEEE.numeric_std.all;
        use IEEE.std_logic_signed.all;
        use IEEE.std_logic_unsigned.all;
        use IEEE.math_real.all;
        use IEEE.math_complex.all;


2.  Library STD :
      use STD.standard.all;
      use STD.textio.all;


3.  Library WORK :
      Ialah sebuah pendeklarasian yang implisit, dimana semua source codenya akan dimasukkan ke library tersebut. use WORK.data_types.all;    


Contoh :


use WORK.data_types.all;    


Source : http://www.cs.umbc.edu/portal/help/VHDL/stdpkg.html

Tidak ada komentar:

Posting Komentar