亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 1076_3.html

?? basic exemple. Do an ADD of two 4 bits numbers
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
     <b>signal</b> DATA_LINE : DATA_IN ;
         --  Defines a data input line.

     <b>variable</b> MY_MEMORY : MEMORY (0 <b>to</b> 2<sup>n-1</sup>) ;
         --  Defines a memory of 2<sup>n</sup> 32-bit words.
</pre>
<p>NOTE--The rules concerning constrained type declarations mean that a type declaration with a constrained array definition such as
<pre>     <b>type</b> T <b>is</b> <b>array</b> (POSITIVE <b>range</b> MINIMUM <b>to</b> MAX) <b>of</b> ELEMENT;
</pre>
<p>is equivalent to the sequence of declarations
<pre>     <b>subtype</b> <i>index_subtype</i> <b>is</b> POSITIVE <b>range</b> MINIMUM <b>to</b> MAX;
     <b>type</b> <i>array_type</i> <b>is array</b> (<i>index_subtype</i> <b>range</b> &lt;>) <b>of</b> ELEMENT;
     <b>subtype</b> T <b>is</b> <i>array</i>_<i>type</i> (<i>index_subtype)</i>;
</pre>
<p>where <i>index_subtype</i> and <i>array_type</i> are both anonymous.  Consequently, T is the name of a subtype and all objects declared with this type mark are arrays that have the same index range.

<h4><a name="3.2.1.1">  <a href = "1076_3.HTM#3.2.1.1"> 3.2.1.1 </a>   Index constraints and discrete ranges</a></h4>
<p>An index constraint determines the index range for every index of an array type and, thereby, the corresponding array bounds.
<p>For a discrete range used in a constrained array definition and defined by a range, an implicit conversion to the predefined type INTEGER is assumed if each bound is either a numeric literal or an attribute, and if the type of both bounds (prior to the implicit conversion) is the type <i>universal_integer</i>.  Otherwise, both bounds must be of the same discrete type, other than <i>universal_integer</i>; this type must be determined independently of the context, but using the fact that the type must be discrete and that both bounds must have the same type.  These rules apply also to a discrete range used in an iteration scheme (see   <a href = "1076_8.HTM#8.9"> 8.9 </a>  ) or a generation scheme (see   <a href = "1076_9.HTM#9.7"> 9.7 </a>  ).
<p>If an index constraint appears after a type mark in a subtype indication, then the type or subtype denoted by the type mark must not already impose an index constraint.  The type mark must denote either an unconstrained array type or an access type whose designated type is such an array type.  In either case, the index constraint must provide a discrete range for each index of the array type, and the type of each discrete range must be the same as that of the corresponding index.
<p>An index constraint is <i>compatible</i> with the type denoted by the type mark if and only if the constraint defined by each discrete range is compatible with the corresponding index subtype.  If any of the discrete ranges defines a null range, any array thus constrained is a <i>null array</i>, having no components.  An array value <i>satisfies</i> an index constraint if at each index position the array value and the index constraint have the same index range.  (Note, however, that assignment and certain other operations on arrays involve an implicit subtype conversion.)
<p>The index range for each index of an array object is determined as follows:
<ul>
<p>--  For a variable or signal declared by an object declaration, the subtype indication of the corresponding object declaration must define a constrained array subtype (and thereby, the index range for each index of the object).  The same requirement exists for the subtype indication of an element declaration, if the type of the record element is an array type, and for the element subtype indication of an array type definition, if the type of the array element is itself an array type.
<p>--  For a constant declared by an object declaration, the index ranges are defined by the initial value, if the subtype of the constant is unconstrained; otherwise, they are defined by this subtype (in which case the initial value is the result of an implicit subtype conversion).
<p>--  For an attribute whose value is specified by an attribute specification, the index ranges are defined by the expression given in the specification, if the subtype of the attribute is unconstrained; otherwise, they are defined by this subtype (in which case the value of the attribute is the result of an implicit subtype conversion).
<p>--  For an array object designated by an access value, the index ranges are defined by the allocator that creates the array object (see   <a href = "1076_7.HTM#7.3.6"> 7.3.6 </a>  ).
<p>--  For an interface object declared with a subtype indication that defines a constrained array subtype, the index ranges are defined by that subtype.
<p>--  For a formal parameter of a subprogram that is of an unconstrained array type and that is associated in whole (see   <a href = "1076_4.HTM#4.3.2.2"> 4.3.2.2 </a>  ), the index ranges are obtained from the corresponding association element in the applicable subprogram call.
<p>--  For a formal parameter of a subprogram that is of an unconstrained array type and whose subelements are associated individually (see   <a href = "1076_4.HTM#4.3.2.2"> 4.3.2.2 </a>  ), the index ranges are obtained as follows:
<p>     The directions of the index ranges of the formal parameter are that of the type of the formal; the high and low bounds of the index ranges are respectively determined from the maximum and minimum values of the indices given in the association elements corresponding to the formal.
<p>--  For a formal generic or a formal port of a design entity or of a block statement that is of an unconstrained array type and that is associated in whole, the index ranges are obtained from the corresponding association element in the generic map aspect (in the case of a formal generic) or port map aspect (in the case of a formal port) of the applicable (implicit or explicit) binding indication.
<p>--  For a formal generic or a formal port of a design entity or of a block statement that is of an unconstrained array type and whose subelements are associated individually, the index ranges are obtained as follows:
<p>     The directions of the index ranges of the formal generic or formal port are that of the type of the formal; the high and low bounds of the index ranges are respectively determined from the maximum and minimum values of the indices given in the association elements corresponding to the formal.
<p>--  For a local generic or a local port of a component that is of an unconstrained array type and that is associated in whole, the index ranges are obtained from the corresponding association element in the generic map aspect (in the case of a local generic) or port map aspect (in the case of a local port) of the applicable component instantiation statement.
<p>--  For a local generic or a local port of a component that is of an unconstrained array type and whose subelements are associated individually, the index ranges are obtained as follows:
<p>     The directions of the index ranges of the local generic or local port are that of the type of the local; the high and low bounds of the index ranges are respectively determined from the maximum and minimum values of the indices given in the association elements corresponding to the local.
</ul>
<p>If the index ranges for an interface object, or member of an interface object, are obtained from the corresponding association element (when associating in whole) or elements (when associating individually), then they are determined either by the actual part(s) or by the formal part(s) of the association element(s), depending upon the mode of the interface object, as follows:
<ul>
<p>--  For an interface object or member of an interface object whose mode  is  <b>in</b>, <b>inout</b>, or <b>linkage</b>,  if the actual part includes a conversion function or a type conversion, then the result type of that function or the type mark of the type conversion must be a constrained array subtype, and the index ranges are obtained from this constrained subtype;otherwise, the index ranges are obtained from the object or value denoted by the actual designator(s).
<p>--  For an interface object or member of an intercace object whose mode is  <b>out</b>, <b>buffer</b>, <b>inout</b>,or <b>linkage</b>, if the formal part includes a conversion function or a type conversion, then the parameter subtype of that function or the type mark of the type conversion must be a constrained array subtype, and the index ranges are obtained from this constrained subtype; otherwise, the index ranges are obtained from the object denoted by the actual designator(s).
</ul>
<p>For an interface object of mode <b>inout</b> or <b>linkage</b>, the index ranges determined by the first rule must be identical to the index ranges determined by the second rule.
<p><i>Examples:</i>
<pre>     <b>type</b> Word <b>is</b> <b>array</b> (NATURAL <b>range</b> &lt;>) <b>of</b> BIT;
     <b>type</b> Memory <b>is</b> <b>array</b> (NATURAL <b>range</b> &lt;>) <b>of</b> Word (31 <b>downto</b> 0);

     <b>constant</b> A_Word: Word := "10011";
         --  The index range of A_Word is 0 <b>to</b> 4

     <b>entity</b> E <b>is</b>
          <b>generic</b> (ROM: Memory);
          <b>port</b> (Op1, Op2: <b>in</b> Word;  Result: <b>out</b> Word);
     <b>end</b> <b>entity</b> E;
         --  The index ranges of the generic and the ports are defined by the actuals associated
         --  with an instance bound to E; these index ranges are accessible via the predefined
         --  array attributes (see <a href = "1076_14.HTM#14.1">14.1 </a> ).

     <b>signal</b> A, B: Word (1 <b>to</b> 4);
     <b>signal</b> C: Word (5 <b>downto</b> 0);

     Instance: <b>entity</b> E
          <b>generic</b> <b>map</b> ((1 <b>to</b> 2) => (<b>others</b> => '0'))
          <b>port</b> <b>map</b> (A, Op2(3 <b>to</b> 4) => B (1 <b>to</b> 2), Op2(2) => B (3), Result => C (3 <b>downto</b> 1));
               --  In this instance, the index range of ROM is 1 <b>to</b> 2 (matching that of the actual),
               --  The index range of Op1  is 1 <b>to</b> 4 (matching the index range of A), the index range 
               --  of Op2 is 2 <b>to</b> 4, and the index range of Result is (3 <b>downto</b> 1) 
               --  (again matching the index range of the actual).
</pre>
<h4><a name="3.2.1.2">  <a href = "1076_3.HTM#3.2.1.2"> 3.2.1.2 </a>   Predefined array types</a></h4>
<p>The predefined array types are STRING and BIT_VECTOR, defined in package STANDARD in Section 14.
<p>The values of the predefined type STRING are one-dimensional arrays of the predefined type CHARACTER, indexed by values of the predefined subtype POSITIVE:
<pre>     <b>subtype</b> POSITIVE <b>is</b> INTEGER <b>range</b> 1 <b>to</b> INTEGER'HIGH ;
     <b>type</b> STRING <b>is</b> <b>array </b>(POSITIVE <b>range</b> &lt;>) <b>of</b> CHARACTER ;
</pre>
<p>The values of the predefined type BIT_VECTOR are one-dimensional arrays of the predefined  type BIT, indexed by values of the predefined subtype NATURAL:
<pre>     <b>subtype</b> NATURAL <b>is</b> INTEGER <b>range</b> 0 <b>to</b> INTEGER'HIGH ;
     <b>type</b> BIT_VECTOR <b>is</b> <b>array</b> (NATURAL <b>range</b> &lt;>) <b>of</b> BIT ;
</pre>
<p><i>Examples:</i>
<pre>     <b>variable</b> MESSAGE : STRING(1 <b>to</b> 17) := "THIS IS A MESSAGE" ;

     <b>signal</b> LOW_BYTE : BIT_VECTOR (0 <b>to</b> 7) ;
</pre>
<h3><a name="3.2.2">  <a href = "1076_3.HTM#3.2.2"> 3.2.2 </a>   Record types</a></h3>
<p>A record type is a composite type, objects of which consist of named elements.  The value of a record object is a composite value consisting of the values of its elements.
<pre>     record_type_definition ::=
         <b>record</b>
              element_declaration
             { element_declaration }
         <b>end</b> <b>record</b> [ <i>record_type</i>_simple_name ]

     element_declaration ::=
         identifier_list : element_subtype_definition ;

         identifier_list ::=  identifier { , identifier }

         element_subtype_definition ::=  subtype_indication
</pre>
<p>Each element declaration declares an element of the record type.  The identifiers of all elements of a record type must be distinct.  The use of a name that denotes a record element is not allowed within the record type definition that declares the element.
<p>An element declaration with several identifiers is equivalent to a sequence of single element declarations.  Each single element declaration declares a record element whose subtype is specified by the element subtype definition.
<p>If a simple name appears at the end of a record type declaration, it must repeat the identifier of the type declaration in which the record type definition is included.
<p>A record type definition creates a record type; it consists of the element declarations in the order in which they appear in the type definition.
<p><i>Example:</i>
<pre>     <b>type</b> DATE <b>is</b>
         <b>record</b>
             DAY    :INTEGER <b>range</b> 1 <b>to</b> 31;
             MONTH  :MONTH_NAME;
             YEAR   :INTEGER <b>range</b> 0 <b>to</b> 4000;
         <b>end</b> <b>record</b>;
</pre>
<h2><a name="3.3">  <a href = "1076_3.HTM#3.3"> 3.3 </a>   Access types</a></h2>
<p>An object declared by an object declaration is created by the elaboration of the object declaration and is denoted by a simple name or by some other form of name.  In contrast, objects that are created by the evaluation of allocators (see   <a href = "1076_7.HTM#7.3.6"> 7.3.6 </a>  ) have no simple name.  Access to such an object is achieved by an <i>access value</i> returned by an allocator; the access value is said to <i>designate</i> the object.
<pre>     access_type_definition ::=  <b>access</b> subtype_indication
</pre>
<p>For each access type, there is a literal <b>null</b> that has a null access value designating no object at all.  The null value of an access type is the default initial value of the type.  Other values of an access type are obtained by evaluation of a special operation of the type, called an <i>allocator</i>.  Each such access value designates an object of the subtype defined by the subtype indication of the access type definition. This subtype is called the  <i>designated subtype</i> and the base type of this subtype is called the  <i>designated type</i>.  The designated type must not be a file type.
<p>An object declared to be of an access type must be an object of class variable.  An object designated by an access value is always an object of class variable.
<p>The only form of constraint that is allowed after the name of an access type in a subtype indication is an index constraint.  An access value belongs to a corresponding subtype of an access type either if the access value is the null value or if the value of the designated object satisfies the constraint.
<p><i>Examples:</i>
<pre>     <b>type</b> ADDRESS <b>is access</b> MEMORY;
     <b>type</b> BUFFER_PTR <b>is access</b> TEMP_BUFFER;
</pre>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线播放/欧美激情| 在线观看一区二区视频| 成人免费视频app| 亚洲精选在线视频| 精品av综合导航| 国产精品美女久久福利网站| 一区二区日韩av| 亚洲国产成人av| 91一区在线观看| 国产日产欧美一区二区三区 | 久久午夜免费电影| 五月激情综合网| 色综合久久久久网| 国产精品初高中害羞小美女文| 麻豆高清免费国产一区| 欧美自拍偷拍一区| 一区二区不卡在线播放| av网站免费线看精品| 久久久美女毛片| 黑人精品欧美一区二区蜜桃| 91麻豆精品国产综合久久久久久| 一区二区三区日韩在线观看| 97成人超碰视| 亚洲青青青在线视频| 99久久夜色精品国产网站| 国产视频一区在线播放| 国产99精品视频| 国产日韩三级在线| 高清不卡一区二区| 国产精品福利电影一区二区三区四区| 国内精品久久久久影院一蜜桃| 日韩丝袜情趣美女图片| 毛片不卡一区二区| 精品电影一区二区| 国产麻豆日韩欧美久久| 国产精品少妇自拍| av不卡免费在线观看| 一区二区三区高清| 欧美日韩aaaaa| 青青草伊人久久| 26uuu另类欧美亚洲曰本| 国产精品亚洲人在线观看| 国产欧美综合色| 色婷婷激情综合| 视频一区二区不卡| 欧美精品一区二| 成人黄色大片在线观看| 亚洲精品乱码久久久久久久久| 欧美在线免费观看视频| 秋霞成人午夜伦在线观看| 久久久激情视频| 色久综合一二码| 青青草原综合久久大伊人精品 | 中文字幕在线不卡一区| 94-欧美-setu| 亚洲1区2区3区4区| 久久看人人爽人人| 91首页免费视频| 日韩影院在线观看| 中文字幕欧美三区| 欧美三级三级三级| 国产精品一品二品| 亚洲一区二区高清| 久久蜜桃一区二区| 色久综合一二码| 国产一区欧美日韩| 亚洲一区二区三区在线| 精品成人a区在线观看| 色综合久久久久网| 韩国一区二区视频| 亚洲激情中文1区| 久久亚洲一级片| 欧美在线观看一区| 国产精品系列在线播放| 一区二区免费视频| 国产午夜精品福利| 欧美一区二区女人| 一本一道久久a久久精品| 国产综合一区二区| 亚洲高清视频的网址| 国产蜜臀97一区二区三区| 这里是久久伊人| 色综合久久88色综合天天| 狠狠色综合日日| 首页欧美精品中文字幕| 国产精品国产三级国产有无不卡| 欧美精品一二三| 日本高清视频一区二区| 成人av在线资源网站| 精品一区二区综合| 午夜影视日本亚洲欧洲精品| 18涩涩午夜精品.www| 日本一区二区高清| 日韩免费一区二区三区在线播放| 欧美专区在线观看一区| 91免费看片在线观看| 成人在线综合网站| 国产高清成人在线| 老司机免费视频一区二区三区| 亚洲电影一级片| 亚洲va国产va欧美va观看| 亚洲精品视频在线| 亚洲丝袜另类动漫二区| 中文字幕日韩一区| 成人欧美一区二区三区1314| 国产精品拍天天在线| 中文字幕不卡三区| 国产精品丝袜黑色高跟| 国产精品污网站| 国产精品久久久久久久久久免费看 | 亚洲h动漫在线| 午夜av电影一区| 五月天激情综合| 日日夜夜一区二区| 日韩国产精品91| 免费人成在线不卡| 久久99精品久久久久久| 美脚の诱脚舐め脚责91 | 99国内精品久久| 色琪琪一区二区三区亚洲区| 在线视频国产一区| 欧美日韩成人综合天天影院 | 国产日韩综合av| 中文字幕一区二区视频| 国产精品乱人伦| 一级中文字幕一区二区| 一区二区三区在线视频免费观看| 一区二区国产视频| 日韩电影免费在线观看网站| 日产国产高清一区二区三区| 激情六月婷婷久久| 成人午夜电影久久影院| 99re这里只有精品6| 欧美三级乱人伦电影| 337p亚洲精品色噜噜噜| 日韩精品在线一区二区| 中文字幕精品一区二区精品绿巨人| 国产精品美女久久久久久| 亚洲国产一二三| 激情五月婷婷综合网| 成人免费视频网站在线观看| 欧美亚日韩国产aⅴ精品中极品| 91精品久久久久久久久99蜜臂| 亚洲精品一区二区三区精华液| 中文字幕一区二区三| 奇米影视在线99精品| 丁香六月综合激情| 欧美日韩国产经典色站一区二区三区| 日韩女优制服丝袜电影| 亚洲日本一区二区| 久久成人免费网| 色偷偷久久人人79超碰人人澡| 欧美男同性恋视频网站| 久久九九全国免费| 午夜免费欧美电影| 成人午夜大片免费观看| 日韩一区二区三区免费看 | 日韩激情视频在线观看| 成人精品视频一区二区三区| 欧美日韩国产小视频| 国产网站一区二区三区| 午夜久久电影网| eeuss国产一区二区三区| 日韩欧美一区二区在线视频| 中文字幕一区二区三区在线不卡 | 久久久精品免费免费| 亚洲成人精品在线观看| 成人黄动漫网站免费app| 欧美一区二区三区免费在线看| 最新国产精品久久精品| 国产精品性做久久久久久| 4438成人网| 一区二区不卡在线播放| 99久久国产综合色|国产精品| 精品久久久久久亚洲综合网| 亚洲成在人线在线播放| 色播五月激情综合网| 国产精品免费av| 国产精品88av| 日韩亚洲欧美综合| 香蕉久久一区二区不卡无毒影院| 99精品视频免费在线观看| 欧美激情一区三区| 国产精品66部| 精品国产一区久久| 欧美aaa在线| 欧美一区二区在线看| 午夜视频一区二区| 欧美体内she精视频| 亚洲线精品一区二区三区| 色狠狠色噜噜噜综合网| 综合久久久久久| 一本到三区不卡视频| 国产精品天干天干在观线| 国产成人自拍在线| 国产女主播一区| 粉嫩av一区二区三区| 国产精品大尺度| 91免费在线看| 夜夜精品浪潮av一区二区三区|