|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
库语句(Library) 6 s- y6 j7 q6 X# n8 g
& O% G1 c( v' |' W F! E
Library子句在本地环境下,为设计库定义一个逻辑名。
' z! M! u- v5 v) n6 S% q( {$ \A library clause defines logical names for design libraries in the host environment.$ V9 Z- _3 D* o$ j1 b$ d9 O
1 b, B2 y/ y5 W( Y1 q( K2 e
语法(Syntax)) Z& A3 W) e& H, ?+ f: i
\' P5 T# j. u+ t/ C# @$ F3 Z
library library_name, ... ; ; D; M" e' {# r2 k. M2 E
1
/ x! ~( {5 A3 I说明(Description)7 Z1 F9 P1 T. ~7 V' c9 [
6 C. `9 T! }2 WLibrary语句为设计库定义一个逻辑名,可以被设计单元使用。库是一个实现相关(implementation-dependent)的存储,为了便于预先分析设计单元。
2 e. [' s6 A0 u% V. n- l: xThe library clause defines the logical names of design libraries, which are used by the design units. A library is an implementation-dependent storage facility for previously analyzed design units. }9 V. G! N& N1 X
VHDL库常被作为主机文件系统的一个路径来实现。库名对应文件路径。
( d3 a6 C' s {A VHDL library is usually implemented as a directory in the host file system. The library name is mapped to the pathname of that directory by the VHDL tool. ! j+ M) T0 S$ \4 x4 r5 x# O0 d
有两个预定的库,被隐式使用:std和work。Std库包含包Standard和Textio。Work库是工作库,存储所有用户创建的分析的设计单元。所有用户指定的包都存储在工作库Work中。
) j9 g- a) Y- `9 X2 NThere are two predefined libraries, which are used implicitly in every design: Std and Work. The Std library contains the packages Standard and Textio. The Work library is a working library, where all user-created and analyzed design units are stored. Also user-specified packages are stored in the working library Work.
6 `8 j/ v: h2 g# t | _9 K% M4 U5 ]2 n3 M# e
|
|