正在加载图片...
5.12库的分类 分为两大类:设计库和资源库 设计库:对当前设计实体是永远可见的,在使用时无须说明; 包括:std库,work库 资源库:存放常规元件和常规模块的库,在使用时要先进行库说明。 包括:iee库,面向ASIC的库,用户自定义的库 1.iee库 ●包括:ieee标准的程序包;一些支持工业标准的程序包 (1)iee6准的程序包 std_logic_1164; numeric_bit; numeric_std, math_complex, math_real (2)支持工业标准的程序包 如: synopsys公司的std_ logic_arith, std_logic_signed, std_logic_unsigned ●引用iee库和程序包的四种书写格式 (1)第一种书写格式 library ieee; use ieee std _logic1164.all entity and2 is port(a, b: in stdlogic; c: out std_logic end and25.1.2 库的分类 分为两大类:设计库和资源库 设计库:对当前设计实体是永远可见的,在使用时无须说明; 包括:std库,work库 资源库:存放常规元件和常规模块的库,在使用时要先进行库说明。 包括:ieee库,面向ASIC的库,用户自定义的库 1. ieee库 ⚫包括:ieee标准的程序包;一些支持工业标准的程序包 (1)ieee标准的程序包 std_logic_1164; numeric_bit; numeric_std; math_complex; math_real (2)支持工业标准的程序包 如:synopsys公司的std_logic_arith, std_logic_signed, std_logic_unsigned ⚫引用ieee库和程序包的四种书写格式: (1)第一种书写格式 library ieee; use ieee.std_logic_1164.all; entity and2 is port(a, b:in std_logic; c: out std_logic); end and2;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有