国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

組(Group)

2019-11-08 02:17:57
字體:
來源:轉載
供稿:網友

組(Group)

組是已命名項目的集合。 A group is a named collection of items.

語法(Syntax)

group 組模板名 is( 類, ... ); -- 組模板聲明類 = entity | architecture | label | signal | function | group | type | {etc.} [ < > ] group 組名: 組模板名 ( name, ... ); -- 組聲明group group_template_name is( class, ... ); -- group template declarationclass = entity | architecture | label | signal | function | group | type | {etc.} [ < > ] group group_name: group_template_name ( name, ... ); -- group declaration

說明(Description)

組將不同命名的項進行關聯,其目的沒有在語言內指明,并且對仿真沒有任何意義。組可以當成是向下游工具傳遞信息的工具。 Groups relate different named items for the purposes not specified by the language, and have no meaning for simulation. Groups can be used to pass information to downstream tools.

設置一個組需要兩個聲明(組模板聲明和組聲明)。 Setting up a group requires two declarations (a group template declaration and a group declaration).

組模板聲明定義了組的模式,由一些具有指定類的命名項連接而成。一個有范圍的類必須有零個或多個單元屬于該組,而且必須是類表中的最后一項。 The group template declaration defines pattern of a group connecting named items with the specified class. A class with range <> allows zero or more units belonging to this group, and must be the last item in this class list.

組聲明將具有指定特征的命名項連接到一起。 The group declaration connects named items having the specified characteristics.

用戶定義的屬性被按照每個命名項分別連接起來,所以每個獨立的命名項都有其各自的屬性。因此當用戶想把信息傳遞個一系列相關的命名項時,就可以定義一個組,然后為整個組指定其屬性。 The user-defined attributes are connected individually with each named item, so each separate named item can have its own attributes. In case when the user wants to assign information to several related named items, a group consisting of these units can be defined, and then specify attributes for the entire group.

組的屬性說明可其他屬性說明一樣。首先聲明所給類型的屬性,然后指定到指定的組。 The attribute specification of a group is realized in a similar way to other attribute specifications. First, the attribute of a given type is declared and it is specified for the given group in its declaration part which contains declaration of the particular group.

Example:

architecture Rtl of Ent1 is group Operations is (function, label <>); group Counters: Operations ("+", C1, C2);begin C1: X <= A + B; C2: Y <= C + D;end Rtl;

Note:

組可能被分配網表Groups can be nested.
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 澄城县| 滁州市| 道孚县| 夏邑县| 承德县| 精河县| 吴川市| 阳原县| 垫江县| 三台县| 弥勒县| 娄烦县| 溧阳市| 大名县| 都兰县| 阜新| 元朗区| 海宁市| 辽源市| 慈溪市| 嘉义县| 斗六市| 古交市| 封丘县| 迭部县| 绥芬河市| 南靖县| 商城县| 红安县| 汤阴县| 万州区| 盐津县| 岑溪市| 佛山市| 德兴市| 伊川县| 会东县| 阿拉善左旗| 怀远县| 乐至县| 于田县|