表8.1 库和程序包

文件名 程序包 内容
maxplus2.vhd maxplus2 altera MAX+PLUS II primitives, macrofunctions, and selected megafunctions supported by VHDL.
megacore.vhd megacore altera Pre-tested megafunctions consisting of several different design files.
std1164.vhd std_logic_1164 ieee Standard for describing interconnection datatypes for VHDL modeling, and theSTD_LOGIC and STD_LOGIC_VECTOR types.
lpm_pack.vhd lpm_components lpm LPM megafunctions supported by VHDL.
arith.vhd
arithb.vhd
std_logic_arith ieee functions for use with SIGNED and UNSIGNED types, and the conversion functions CONV_INTEGER, CONV_SIGNED, and CONV_UNSIGNED.
signed.vhd
signedb.vhd
std_logic_signed ieee Functions that allow MAX+PLUS II to use STD_LOGIC_VECTOR types as if they are SIGNED types.
unsigned.vhd
unsignedb.vhd
std_logic_unsigned ieee Functions that allow MAX+PLUS II to use STD_LOGIC_VECTOR types as if they are UNSIGNED types.

  · 提示:如果你在一个VHDL设计文件中使用了多个程序包,则他们在设计文件中出现的顺序必须和本表中出现的顺序一致。
  · 本表来自MAX+PLUS II在线帮助(Help)。