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

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

?? 1076_2.html

?? basic exemple. Do an ADD of two 4 bits numbers
?? HTML
?? 第 1 頁 / 共 3 頁
字號:

</pre>
<p>
<h4>NOTES</h4>
<p>1--It follows from the visibility rules that a subprogram declaration must be given if a call of the subprogram occurs textually before the subprogram body, and that such a declaration must occur before the call itself.
<p>2--The preceding  rules concerning pure function subprograms, together with the fact that function parameters may only be of mode <b>in</b>, imply that a pure function has no effect other than the computation of the returned value.  Thus, a pure function invoked explicitly as part of the elaboration of a declaration, or one invoked implicitly as part of the simulation cycle, is guaranteed to have no effect on other objects in the description.
<p>3--VHDL does not define the parameter-passing mechanisms for foreign subprograms.
<p>4--The declarative parts and statement parts of subprograms decorated with the 'FOREIGN attribute are subject to special elaboration rules.  See   <a href = "1076_12.HTM#12.3"> 12.3 </a>   and  <a href = "1076_12.HTM#12.4"> 12.4 </a>  .
<p>5--A pure function subprogram may not reference a shared variable.  This prohibition exists because a shared variable may not be declared in a subprogram declarative part and a pure function may not reference any variable declared outside of its declarative region.
<h2><a name="2.3">  <a href = "1076_2.HTM#2.3"> 2.3 </a>   Subprogram overloading</a></h2>
<p>Two formal parameter lists are said to have the same <i>parameter type profile</i> if and only if they have the same number of parameters, and if at each parameter position the corresponding parameters have the same base type.  Two subprograms are said to have the same <i>parameter and result type profile</i> if and only if both have the same parameter type profile, and if either both are functions with the same result base type or neither of the two is a function.
<p>A given subprogram designator can be used in several subprogram specifications.  The subprogram designator is then said to be overloaded; the designated subprograms are also said to be overloaded and to overload each other.  If two subprograms overload each other, one of them can hide the other only if both subprograms have the same parameter and result type profile.
<p>A call to an overloaded subprogram is ambiguous (and therefore is an error) if the name of the subprogram, the number of parameter associations, the types and order of the actual parameters, the names of the formal parameters (if named associations are used), and the result type (for functions) are not sufficient to identify exactly one (overloaded) subprogram specification.
<p>Similarly, a reference to an overloaded resolution function name in a subtype indication is ambiguous (and is therefore an error) if the name of the function, the number of formal parameters, the result type, and the relationships between the result type and the types of the formal parameters (as defined in   <a href = "1076_2.HTM#2.4"> 2.4 </a>  ) are not sufficient to identify exactly one (overloaded) subprogram specification.
<p><i>Examples:</i>
<pre>--  Declarations of overloaded subprograms:

     <b>procedure</b> Dump(F: <b>inout</b> Text; Value: Integer);
     <b>procedure</b> Dump(F: <b>inout</b> Text; Value: String);

     <b>procedure</b> Check (Setup: Time; <b>signal</b> D: Data; <b>signal</b> C: Clock);
     <b>procedure</b> Check (Hold: Time; <b>signal</b> C: Clock; <b>signal</b> D: Data);

--  Calls to overloaded subprograms:

     Dump (Sys_Output, 12) ;
     Dump (Sys_Error, "Actual output does not match expected output") ;

     Check (Setup=>10 ns, D=>DataBus, C=>Clk1) ;
     Check (Hold=>5 ns, D=>DataBus, C=>Clk2);
     Check (15 ns, DataBus, Clk) ;
      --  Ambiguous if the base type of DataBus is the same type as the base type of Clk.
</pre>
<p>
<h4>NOTES</h4>
<p>
1--The notion of parameter and result type profile does not include parameter names, parameter classes, parameter modes, parameter subtypes, or default expressions or their presence or absence.
<p>2--Ambiguities may (but need not) arise when actual parameters of the call of an overloaded subprogram are themselves overloaded function calls, literals, or aggregates.  Ambiguities may also (but need not) arise when several overloaded subprograms belonging to different packages are visible.  These ambiguities can usually be solved in two ways: qualified expressions can be used for some or all actual parameters and for the result, if any; or the name of the subprogram can be expressed more explicitly as an expanded name (see   <a href = "1076_6.HTM#6.3"> 6.3 </a>  ).
<h3><a name="2.3.1">  <a href = "1076_2.HTM#2.3.1"> 2.3.1 </a>   Operator overloading</a></h3>
<p>The declaration of a function whose designator is an operator symbol is used to overload an operator.  The sequence of characters of the operator symbol must be one of the operators in the operator classes defined in   <a href = "1076_7.HTM#7.2"> 7.2 </a>  .
<p>The subprogram specification of a unary operator must have a single parameter.  The subprogram specification of a binary operator must have two parameters; for each use of this operator, the first parameter is associated with the left operand, and the second parameter is associated with the right operand.
<p>For each of the operators "+" and "-", overloading is allowed both as a unary operator and as a binary operator.
<p><a name="notes">NOTES</a>
<p>1--Overloading of the equality operator does not affect the selection of choices in a case statement or in a selected signal assignment statement; nor does it have an affect on the propagation of signal values.
<p>2--A user-defined operator that has the same designator as a short-circuit operator (that is, that overloads the short-circuit operator) is not invoked in a short-circuit manner.  Specifically, calls to the user-defined operator always evaluate both arguments prior to the execution of the function.
<p>3--Functions that overload operator symbols may also be called using function call notation rather than operator notation.  This statement is also true of the predefined operators themselves.
<p><i>Examples:</i>
<pre>     <b>type</b> MVL <b>is</b> ('0', '1', 'Z', 'X') ;

     <b>function</b> "and" (Left, Right: MVL) <b>return</b> MVL ;
     <b>function</b> "or" (Left, Right: MVL) <b>return</b> MVL ;
     <b>function</b> "not" (Value: MVL) <b>return</b> MVL ;

     <b>signal</b> Q,R,S: MVL ;

     Q &lt;= 'X' <b>or</b> '1';
     R &lt;= "or" ('0','Z');
     S &lt;= (Q <b>and</b> R) <b>or not</b> S;
</pre>
<h3><a name="2.3.2">  <a href = "1076_2.HTM#2.3.2"> 2.3.2 </a>   Signatures</a></h3>
<p>A signature distinguishes between overloaded subprograms and overloaded enumeration literals based on their parameter and result type profiles.  A signature can be used in an attribute name, entity designator, or alias declaration.
<pre>     signature ::=  [ [ type_mark { , type_mark } ] [ <b>return</b> type_mark ] ]
</pre>
<p>(Note that the initial and terminal brackets are part of the syntax of signatures and do not indicate that the entire right-hand side of the production is optional.)  A signature is said to <i>match</i> the parameter and result type profile of a given subprogram if and only if all of the following conditions hold:
<ul>
<p>--  The number of type marks prior to the reserved word <b>return</b>, if any, matches the number of formal parameters of the subprogram
<p>--  At each parameter position, the base type denoted by the type mark of the signature is the same as the base type of the corresponding formal parameter of the subprogram
<p>--  If the reserved word <b>return</b> is present, the subprogram is a function and the base type of the type mark following the reserved word in the signature is the same as the base type of the return type of the function, or the reserved word <b>return</b> is absent and the subprogram is a procedure
</ul>
<p>Similarly, a signature is said to match the parameter and result type profile of a given enumeration literal if the signature matches the parameter and result type profile of the subprogram equivalent to the enumeration literal, defined in   <a href = "1076_3.HTM#3.1.1"> 3.1.1 </a>  .
<p><i>Example:</i>
<pre>     <b>attribute</b> BuiltIn <b>of</b> "or" [MVL, MVL <b>return</b> MVL]: <b>function</b> <b>is</b> TRUE;
       --  Because of the presence of the signature, this attribute specification
       --  decorates only the "or" function defined in the previous section.

     <b>attribute</b> Mapping <b>of</b> JMP [<b>return</b> OpCode] : <b>literal</b> <b>is</b> "001";
</pre>
<h2><a name="2.4">  <a href = "1076_2.HTM#2.4"> 2.4 </a>   Resolution functions</a></h2>
<p>A resolution function is a function that defines how the values of multiple sources of a given signal are to be resolved into a single value for that signal.  Resolution functions are associated with signals that require resolution by including the name of the resolution function in the declaration of the signal or in the declaration of the subtype of the signal.  A signal with an associated resolution function is called a resolved signal (see  <a href = "1076_4.HTM#4.3.1.2"> 4.3.1.2 </a>  ).
<p>A resolution function must be a pure function (see   <a href = "1076_2.HTM#2.1"> 2.1 </a>  ); moreover, it must have a single input parameter of class <b>constant</b> that is a one-dimensional,unconstrained array whose element type is that of the resolved signal.  The type of the return value of the function must also be that of the signal.  Errors occur at the place of the subtype indication containing the name of the resolution function if any of these checks fail (see   <a href = "1076_4.HTM#4.2"> 4.2 </a>  ).
<p>The resolution function associated with a resolved signal determines the <i>resolved</i> <i>value</i> of the signal as a function of the collection of inputs from its multiple sources.  If a resolved signal is of a composite type, and if subelements of that type also have associated resolution functions, such resolution functions have no effect on the process of determining the resolved value of the signal.  It is an error if a resolved signal has more connected sources than the number of elements in the index type of the unconstrained array type used to define the parameter of the corresponding resolution function.
<p>Resolution functions are implicitly invoked during each simulation cycle in which corresponding resolved signals are active (see   <a href = "1076_12.HTM#12.6.1"> 12.6.1 </a>  ).  Each time a resolution function is invoked, it is passed an array value, each element of which is determined by a corresponding source of the resolved signal, but excluding those sources that are drivers whose values are determined by null transactions (see   <a href = "1076_8.HTM#8.4.1"> 8.4.1 </a>  ).  Such drivers are said to be <i>off</i>.  For certain invocations (specifically, those involving the resolution of sources of a signal declared with the signal kind <b>bus</b>), a resolution function may thus be invoked with an input parameter that is a null array; this occurs when all sources of the bus are drivers, and they are all off.  In such a case, the resolution function returns a value representing the value of the bus when no source is driving it.
<p><i>Example:</i>
<pre>     <b>function</b> WIRED_OR (Inputs: BIT_VECTOR) <b>return</b> BIT <b>is</b>
       <b>constant</b> FloatValue: BIT := '0';
     <b>begin</b>
       <b>if</b> Inputs'Length = 0 <b>then</b>
                 --  This is a bus whose drivers are all off.
                 <b>return</b> FloatValue;
       <b>else</b>
                 <b>for</b> I <b>in</b> Inputs'Range <b>loop</b>
                            <b>if</b> Inputs(I) = '1' <b>then</b>
                                      <b>Return</b> '1';
                            <b>end If</b>;
                 <b>end Loop</b>;
                 <b>Return</b> '0';
       <b>end if</b>;
     <b>end function</b> WIRED_OR;
</pre>
<h2><a name="2.5">  <a href = "1076_2.HTM#2.5"> 2.5 </a>   Package declarations</a></h2>
<p>A package declaration defines the interface to a package.  The scope of a declaration within a package can be extended to other design units.
<pre>     package_declaration ::=
       <b>package</b> identifier <b>is</b>
               package_declarative_part
       <b>end</b> [ <b>package</b> ] [ <i>package</i>_simple_name ] ;

     package_declarative_part ::=
       { package_declarative_item }

     package_declarative_item ::=
        subprogram_declaration
       | type_declaration
       | subtype_declaration
       | constant_declaration
       | signal_declaration
       | <i>shared</i>_variable_declaration

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美综合亚洲图片综合区| 99久久免费精品高清特色大片| 欧美激情艳妇裸体舞| 欧美高清视频一二三区| 欧美午夜寂寞影院| 成人国产电影网| 成人综合婷婷国产精品久久蜜臀| 美女视频免费一区| 久久精品免费观看| 另类小说综合欧美亚洲| 久久精品免费观看| 免费高清视频精品| 裸体健美xxxx欧美裸体表演| 免费人成在线不卡| 极品瑜伽女神91| 黄一区二区三区| 国产在线观看一区二区| 国产成人精品亚洲午夜麻豆| 国产白丝网站精品污在线入口| 国产中文字幕精品| 成人一二三区视频| 91偷拍与自偷拍精品| 欧美这里有精品| 制服丝袜亚洲网站| 精品成人在线观看| 国产精品婷婷午夜在线观看| 亚洲精品va在线观看| 亚洲综合视频在线| 蜜臀91精品一区二区三区| 久久国产生活片100| 国产69精品久久99不卡| 9i看片成人免费高清| 欧美色网站导航| 日韩视频不卡中文| 中文字幕av免费专区久久| 亚洲日本丝袜连裤袜办公室| 亚洲成a人v欧美综合天堂| 久久国产精品露脸对白| av高清久久久| 91超碰这里只有精品国产| 久久毛片高清国产| 一区二区三区四区在线免费观看| 婷婷综合久久一区二区三区| 国产成人免费视频网站| 欧美三级三级三级爽爽爽| 久久久久久综合| 夜夜嗨av一区二区三区| 国产真实乱对白精彩久久| 色综合咪咪久久| 久久亚洲一级片| 亚洲国产日韩av| 成人激情黄色小说| 日韩一区二区在线观看视频| 亚洲婷婷在线视频| 精品一区二区影视| 这里只有精品电影| 亚洲精品自拍动漫在线| 国产九色sp调教91| 欧美一级片免费看| 亚洲成人在线观看视频| av在线播放不卡| 久久久高清一区二区三区| 亚洲午夜久久久久久久久电影网 | 国产91对白在线观看九色| 欧美妇女性影城| 成人免费在线播放视频| 国产精品系列在线播放| 日韩一区二区三区视频在线| 亚洲综合一区在线| 成人激情图片网| 欧美国产一区在线| 国产乱码字幕精品高清av| 日韩欧美国产麻豆| 日韩av在线发布| 欧美日本高清视频在线观看| 亚洲综合在线第一页| 色综合天天天天做夜夜夜夜做| 国产色产综合产在线视频| 麻豆精品一区二区av白丝在线| 欧美精品在线观看一区二区| 一区二区三区在线观看网站| 91久久线看在观草草青青| 成人免费一区二区三区在线观看| 不卡视频在线看| 国产精品久久久久aaaa樱花 | 国产精品久久久久一区二区三区共| 久99久精品视频免费观看| 欧美放荡的少妇| 日本伊人色综合网| 日韩精品资源二区在线| 麻豆免费精品视频| 国产色产综合产在线视频| 成人黄页毛片网站| 亚洲人亚洲人成电影网站色| 在线观看视频一区二区| 性欧美疯狂xxxxbbbb| 日韩欧美的一区| 国产麻豆日韩欧美久久| 国产精品久久综合| 色综合激情久久| 日韩高清一级片| 精品少妇一区二区三区在线播放| 久久精品国产成人一区二区三区| 欧美刺激午夜性久久久久久久 | 欧美国产视频在线| 波多野洁衣一区| 亚洲图片自拍偷拍| 精品美女在线观看| 不卡av在线网| 午夜久久久影院| 日韩精品一区二区三区蜜臀 | 色婷婷香蕉在线一区二区| 亚洲第四色夜色| 久久久99精品久久| 91福利在线看| 精品一区二区免费看| 国产精品福利在线播放| 欧美日韩国产区一| 成人性生交大片| 亚洲成人激情综合网| 亚洲精品在线观看视频| 91在线视频官网| 美女www一区二区| 亚洲理论在线观看| 精品国产一区a| 在线视频一区二区三| 国产麻豆91精品| 午夜精品久久久久久久久久| 国产亚洲欧洲997久久综合 | 三级精品在线观看| 国产精品久久久久久久久果冻传媒 | 免费看日韩a级影片| 国产精品久久久久三级| 欧美电视剧免费观看| 91视频在线看| 国产福利91精品| 免播放器亚洲一区| 亚洲成人免费视频| 日韩理论片网站| 国产三区在线成人av| 日韩免费视频一区二区| 欧美性大战久久| 色婷婷激情综合| 成人黄色大片在线观看| 韩国一区二区在线观看| 日韩国产高清影视| 亚洲v精品v日韩v欧美v专区| 亚洲欧美日韩一区二区 | 99久久国产免费看| 国产成人精品一区二| 国产一区二区三区av电影| 日本色综合中文字幕| 亚洲国产精品一区二区www| 综合久久久久综合| 中文字幕精品—区二区四季| 久久久影视传媒| 精品88久久久久88久久久| 日韩一区二区精品在线观看| 欧美一区二区三区四区在线观看| 欧美日韩国产在线观看| 在线观看日产精品| 欧美日本在线观看| 精品视频免费在线| 欧美日韩国产片| 欧美日韩一区二区在线视频| 欧美在线高清视频| 欧美卡1卡2卡| 欧美一区二区在线免费播放| 欧美二区三区的天堂| 欧美一区二区三区免费在线看| 91精品国产手机| 国产精品麻豆一区二区| 日韩欧美色电影| 日韩欧美一级二级三级久久久| 日韩一区和二区| 精品久久久久久亚洲综合网| xvideos.蜜桃一区二区| 久久久精品国产免大香伊| 久久精品一区二区三区av| 国产日韩精品视频一区| 亚洲欧美日韩在线| 日韩国产成人精品| 美女脱光内衣内裤视频久久网站| 五月天婷婷综合| 久久精品免费观看| 从欧美一区二区三区| 色天天综合久久久久综合片| 91精品国产欧美一区二区18| 精品999在线播放| www.综合网.com| 777久久久精品| 亚洲一区二区三区激情| 一本久久a久久精品亚洲| 国产精品久久久久永久免费观看| 国产麻豆一精品一av一免费| 精品国产乱子伦一区| 久久精品国产免费| 精品国一区二区三区| 裸体歌舞表演一区二区| 日韩精品在线一区二区|