URL
https://opencores.org/ocsvn/uart_block/uart_block/trunk
Subversion Repositories uart_block
[/] [uart_block/] [trunk/] [docs/] [doxygenDocs/] [html/] [classtest_uart__communication__block_1_1behavior.html] - Rev 40
Compare with Previous | Blame | View Log
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>Uart wishbone slave Documentation: behavior Architecture Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Uart wishbone slave Documentation </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.8.0 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Packages</span></a></li> <li class="current"><a href="annotated.html"><span>Design Unit List</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Design Unit List</span></a></li> <li><a href="classes.html"><span>Design Units</span></a></li> <li><a href="hierarchy.html"><span>Design Unit Hierarchy</span></a></li> <li><a href="functions.html"><span>Design Unit Members</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('classtest_uart__communication__block_1_1behavior.html',''); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#Components">Components</a> | <a href="#Signals">Signals</a> | <a href="#Constants">Constants</a> | <a href="#Processes">Processes</a> | <a href="#Instantiations">Instantiations</a> </div> <div class="headertitle"> <div class="title">behavior Architecture Reference</div> </div> </div><!--header--> <div class="contents"> <p>Test communication block. <a href="classtest_uart__communication__block_1_1behavior.html#details">More...</a></p> <p><a href="classtest_uart__communication__block_1_1behavior-members.html">List of all members.</a></p> <br/> <br/> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="Processes"></a> Processes</h2></td></tr> <tr class="memitem:ac5bb218131b813f7908ec89476b31fca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5bb218131b813f7908ec89476b31fca"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#ac5bb218131b813f7908ec89476b31fca">clk_process</a> </td><td class="memItemRight" valign="bottom"><b> ( )</b></td></tr> <tr class="memitem:ad2efa6785cff833c341e27596b21aeb5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2efa6785cff833c341e27596b21aeb5"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#ad2efa6785cff833c341e27596b21aeb5">stim_proc</a> </td><td class="memItemRight" valign="bottom"><b> ( )</b></td></tr> <tr><td colspan="2"><h2><a name="Components"></a> Components</h2></td></tr> <tr class="memitem:a18ccf3bd92a7406c724baa00eaa9b168"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtest_uart__communication__block_1_1behavior.html#a18ccf3bd92a7406c724baa00eaa9b168">uart_communication_blocks</a> </td><td class="memItemRight" valign="bottom"> <b></b> <em><a class="el" href="classuart__communication__blocks.html"><Entity uart_communication_blocks> </a></em></td></tr> <tr class="memdesc:a18ccf3bd92a7406c724baa00eaa9b168"><td class="mdescLeft"> </td><td class="mdescRight">Global reset. <a href="#a18ccf3bd92a7406c724baa00eaa9b168"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="Constants"></a> Constants</h2></td></tr> <tr class="memitem:a8252996498fe95d9d966fbb376552eaf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8252996498fe95d9d966fbb376552eaf"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a8252996498fe95d9d966fbb376552eaf">clk_period</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">time</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span> <span class="vhdldigit">20</span> <span class="vhdlchar"> </span><span class="vhdlchar">ns</span><span class="vhdlchar"> </span></b></td></tr> <tr><td colspan="2"><h2><a name="Signals"></a> Signals</h2></td></tr> <tr class="memitem:a248880720a09137a5e04e70521001f1b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a248880720a09137a5e04e70521001f1b"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a248880720a09137a5e04e70521001f1b">rst</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a248880720a09137a5e04e70521001f1b"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a558455b32aceac51fe4f45fc29deeda2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a558455b32aceac51fe4f45fc29deeda2"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a558455b32aceac51fe4f45fc29deeda2">clk</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a558455b32aceac51fe4f45fc29deeda2"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a4c08915531add3ce903585abd8aa7c32"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c08915531add3ce903585abd8aa7c32"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a4c08915531add3ce903585abd8aa7c32">cycle_wait_baud</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic_vector</span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar">nBitsLarge</span><span class="vhdlchar"> </span><span class="vhdlchar">-</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">1</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlkeyword">downto</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlkeyword">others</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">></span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a4c08915531add3ce903585abd8aa7c32"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a51999b58f4bf8bec91d41e23ba241e9f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51999b58f4bf8bec91d41e23ba241e9f"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a51999b58f4bf8bec91d41e23ba241e9f">byte_tx</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic_vector</span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar">nBits</span><span class="vhdlchar"> </span><span class="vhdlchar">-</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">1</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlkeyword">downto</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlkeyword">others</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">></span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a51999b58f4bf8bec91d41e23ba241e9f"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:aa9ffae81538ad5181d6c756c3cd7df2e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9ffae81538ad5181d6c756c3cd7df2e"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#aa9ffae81538ad5181d6c756c3cd7df2e">serial_in</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:aa9ffae81538ad5181d6c756c3cd7df2e"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:acc9c08fe2957eb6987969db4ad32eb3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc9c08fe2957eb6987969db4ad32eb3f"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#acc9c08fe2957eb6987969db4ad32eb3f">start_tx</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">:</span><span class="vhdlchar">=</span><span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">'</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:acc9c08fe2957eb6987969db4ad32eb3f"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a1e6d0e7b0a499eb191f1739ac27a3ee9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e6d0e7b0a499eb191f1739ac27a3ee9"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a1e6d0e7b0a499eb191f1739ac27a3ee9">byte_rx</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic_vector</span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar">(</span><span class="vhdlchar"> </span><span class="vhdlchar">nBits</span><span class="vhdlchar"> </span><span class="vhdlchar">-</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">1</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlkeyword">downto</span><span class="vhdlchar"> </span><span class="vhdlchar"> </span><span class="vhdlchar"> </span> <span class="vhdldigit">0</span> <span class="vhdlchar"> </span><span class="vhdlchar">)</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a1e6d0e7b0a499eb191f1739ac27a3ee9"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a8f1ff141670d1dee066d28d88e7c7332"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f1ff141670d1dee066d28d88e7c7332"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a8f1ff141670d1dee066d28d88e7c7332">data_sent_tx</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a8f1ff141670d1dee066d28d88e7c7332"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:a0754d26733fa0f39b326e8baddca869a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0754d26733fa0f39b326e8baddca869a"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a0754d26733fa0f39b326e8baddca869a">data_received_rx</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:a0754d26733fa0f39b326e8baddca869a"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr class="memitem:af282f34f154c9704a0f28c8f5a95123b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af282f34f154c9704a0f28c8f5a95123b"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#af282f34f154c9704a0f28c8f5a95123b">serial_out</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span></b></td></tr> <tr class="memdesc:af282f34f154c9704a0f28c8f5a95123b"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr> <tr><td colspan="2"><h2><a name="Instantiations"></a> Instantiations</h2></td></tr> <tr class="memitem:a1619316ad715601eb5d3559db829ac05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1619316ad715601eb5d3559db829ac05"></a> <a class="el" href="classtest_uart__communication__block_1_1behavior.html#a1619316ad715601eb5d3559db829ac05">uut</a> </td><td class="memItemRight" valign="bottom"> <b>uart_communication_blocks</b> <em><a class="el" href="classuart__communication__blocks.html"><Entity uart_communication_blocks></a></em></td></tr> <tr class="memdesc:a1619316ad715601eb5d3559db829ac05"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the Unit Under Test (UUT) <br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Test communication block. </p> <p>This will include all blocks used in uart (transmiter, receiver, baud generator) </p> <p>Definition at line <a class="el" href="test_uart__communication__block_8vhd_source.html#l00018">18</a> of file <a class="el" href="test_uart__communication__block_8vhd_source.html">testUart_communication_block.vhd</a>.</p> </div><hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a18ccf3bd92a7406c724baa00eaa9b168"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classtest_uart__communication__block_1_1behavior.html#a18ccf3bd92a7406c724baa00eaa9b168">uart_communication_blocks</a> <b><span class="vhdlchar"> </span></b> <code> [Component]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Global reset. </p> <p>Global clock Number of cycles to wait in order to generate desired baud Byte to transmit Byte to receive Indicate that byte has been sent Indicate that we got a byte Uart serial out Uart serial in Initiate transmission </p> <p>Definition at line <a class="el" href="test_uart__communication__block_8vhd_source.html#l00022">22</a> of file <a class="el" href="test_uart__communication__block_8vhd_source.html">testUart_communication_block.vhd</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>E:/uart_block/hdl/iseProject/<a class="el" href="test_uart__communication__block_8vhd_source.html">testUart_communication_block.vhd</a></li> </ul> </div><!-- contents --> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classtest_uart__communication__block.html">testUart_communication_block</a> </li> <li class="navelem"><a class="el" href="classtest_uart__communication__block_1_1behavior.html">behavior</a> </li> <li class="footer">Generated on Sat May 12 2012 22:28:09 for Uart wishbone slave Documentation by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li> </ul> </div> </body> </html>