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

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

結構體(Architecture)

2019-11-08 03:16:47
字體:
來源:轉載
供稿:網友

結構體(Architecture)

一個結構體用來定義內部的組織或操作。例如描述其相關聯實體的行為、數據流或者結構。

An architecture defines the internal organization or Operation, i.e. describes the behaviour, data flow, or structure, of an associated entity.

語法(Syntax)

architecture 結構體名 of 實體名 is  [ 結構體說明語句 ]begin   功能描述語句end [ architecture ] [ 結構體名 ]; 

architecture architecture_name of entity_name is  [ architecture_declarations ]begin   concurrent_statementsend [ architecture ] [ architecture_name ]; 說明(Description)

一個結構體定義硬件模塊的內部視圖,例如硬件的功能、行為或者結構。一個結構體和一個定義了接口的實體相關聯。

An architecture defines the internal view of a block of hardware, i.e. the functionality, behaviour or structure of the hardware. An architecture is assigned to an entity which defines the interface.一個實體可以擁有多個結構體與之相關聯。如果所有的結構體都和同一個實體相關聯,則他們的名字必須不同,但是和不同實體相關聯的結構體名可以相同。An entity can have multiple alternative architectures assigned to it. All the architectures assigned to the same entity must have different names, but architectures assigned to different entities can have the same name.

例程(Example)

architecture Test of TbDff is   signal Clk, D, Q: std_logic := '0';   component Dff     port(Clk, D: in std_logic; Q: out std_logic);   end component; begin   uut : Dff port map (Clk => Clk, D => D, Q => Q);  Clk <= not (Clk) after 25 ns;  stimulus : PRocessAn architecture may not be used without an entity.All declarations defined in an entity are fully visible and accessible within each architecture assigned to this entity.  begin    wait for 50 ns;	D <= '1';    wait for 100 ns;	D <= '0';    wait for 50 ns;  end process stimulus;end Test;

注釋(Notes)

結構體可以脫離開實體單獨被使用An architecture may not be used without an entity.所有在實體中聲明的定義都必須對其相關聯的結構體可見,并且可以訪問。All declarations defined in an entity are fully visible and accessible within each architecture assigned to this entity.


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 高要市| 铜梁县| 神木县| 松江区| 彭山县| 噶尔县| 青田县| 蓬莱市| 沾益县| 呈贡县| 黄冈市| 凤台县| 甘谷县| 淮南市| 元阳县| 玛多县| 射阳县| 策勒县| 宝山区| 临武县| 元氏县| 甘谷县| 巨鹿县| 聂拉木县| 新干县| 上虞市| 灵丘县| 资兴市| 南漳县| 周宁县| 衡山县| 金华市| 商丘市| 林口县| 泸西县| 和田市| 甘肃省| 友谊县| 贵州省| 丹棱县| 吉木萨尔县|