1 |
40 |
leonardoar |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
|
|
<head>
|
4 |
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
5 |
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
6 |
|
|
<title>Uart wishbone slave Documentation: behavior Architecture Reference</title>
|
7 |
|
|
|
8 |
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
9 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
10 |
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
11 |
|
|
<script type="text/javascript" src="jquery.js"></script>
|
12 |
|
|
<script type="text/javascript" src="resize.js"></script>
|
13 |
|
|
<script type="text/javascript" src="navtree.js"></script>
|
14 |
|
|
<script type="text/javascript">
|
15 |
|
|
$(document).ready(initResizable);
|
16 |
|
|
</script>
|
17 |
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
18 |
|
|
<script type="text/javascript" src="search/search.js"></script>
|
19 |
|
|
<script type="text/javascript">
|
20 |
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
21 |
|
|
</script>
|
22 |
|
|
|
23 |
|
|
</head>
|
24 |
|
|
<body>
|
25 |
|
|
<div id="top"><!-- do not remove this div! -->
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
<div id="titlearea">
|
29 |
|
|
<table cellspacing="0" cellpadding="0">
|
30 |
|
|
<tbody>
|
31 |
|
|
<tr style="height: 56px;">
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
<td style="padding-left: 0.5em;">
|
35 |
|
|
<div id="projectname">Uart wishbone slave Documentation
|
36 |
|
|
|
37 |
|
|
</div>
|
38 |
|
|
|
39 |
|
|
</td>
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
</tr>
|
44 |
|
|
</tbody>
|
45 |
|
|
</table>
|
46 |
|
|
</div>
|
47 |
|
|
|
48 |
|
|
<!-- Generated by Doxygen 1.8.0 -->
|
49 |
|
|
<script type="text/javascript">
|
50 |
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
51 |
|
|
</script>
|
52 |
|
|
<div id="navrow1" class="tabs">
|
53 |
|
|
<ul class="tablist">
|
54 |
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
55 |
|
|
<li><a href="namespaces.html"><span>Packages</span></a></li>
|
56 |
|
|
<li class="current"><a href="annotated.html"><span>Design Unit List</span></a></li>
|
57 |
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
58 |
|
|
<li>
|
59 |
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
60 |
|
|
<span class="left">
|
61 |
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
62 |
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
63 |
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
64 |
|
|
alt=""/>
|
65 |
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
66 |
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
67 |
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
68 |
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
69 |
|
|
</span><span class="right">
|
70 |
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
71 |
|
|
</span>
|
72 |
|
|
</div>
|
73 |
|
|
</li>
|
74 |
|
|
</ul>
|
75 |
|
|
</div>
|
76 |
|
|
<div id="navrow2" class="tabs2">
|
77 |
|
|
<ul class="tablist">
|
78 |
|
|
<li><a href="annotated.html"><span>Design Unit List</span></a></li>
|
79 |
|
|
<li><a href="classes.html"><span>Design Units</span></a></li>
|
80 |
|
|
<li><a href="hierarchy.html"><span>Design Unit Hierarchy</span></a></li>
|
81 |
|
|
<li><a href="functions.html"><span>Design Unit Members</span></a></li>
|
82 |
|
|
</ul>
|
83 |
|
|
</div>
|
84 |
|
|
</div>
|
85 |
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
86 |
|
|
<div id="nav-tree">
|
87 |
|
|
<div id="nav-tree-contents">
|
88 |
|
|
</div>
|
89 |
|
|
</div>
|
90 |
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
91 |
|
|
class="ui-resizable-handle">
|
92 |
|
|
</div>
|
93 |
|
|
</div>
|
94 |
|
|
<script type="text/javascript">
|
95 |
|
|
initNavTree('classtest_serial__receiver_1_1behavior.html','');
|
96 |
|
|
</script>
|
97 |
|
|
<div id="doc-content">
|
98 |
|
|
<!-- window showing the filter options -->
|
99 |
|
|
<div id="MSearchSelectWindow"
|
100 |
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
101 |
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
102 |
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
103 |
|
|
<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>
|
104 |
|
|
|
105 |
|
|
<!-- iframe showing the search results (closed by default) -->
|
106 |
|
|
<div id="MSearchResultsWindow">
|
107 |
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
108 |
|
|
name="MSearchResults" id="MSearchResults">
|
109 |
|
|
</iframe>
|
110 |
|
|
</div>
|
111 |
|
|
|
112 |
|
|
<div class="header">
|
113 |
|
|
<div class="summary">
|
114 |
|
|
<a href="#Components">Components</a> |
|
115 |
|
|
<a href="#Signals">Signals</a> |
|
116 |
|
|
<a href="#Constants">Constants</a> |
|
117 |
|
|
<a href="#Processes">Processes</a> |
|
118 |
|
|
<a href="#Instantiations">Instantiations</a> </div>
|
119 |
|
|
<div class="headertitle">
|
120 |
|
|
<div class="title">behavior Architecture Reference</div> </div>
|
121 |
|
|
</div><!--header-->
|
122 |
|
|
<div class="contents">
|
123 |
|
|
|
124 |
|
|
<p>Test <a class="el" href="classserial__receiver.html">serial_receiver</a> module module.
|
125 |
|
|
<a href="classtest_serial__receiver_1_1behavior.html#details">More...</a></p>
|
126 |
|
|
|
127 |
|
|
<p><a href="classtest_serial__receiver_1_1behavior-members.html">List of all members.</a></p>
|
128 |
|
|
<br/>
|
129 |
|
|
<br/>
|
130 |
|
|
<table class="memberdecls">
|
131 |
|
|
<tr><td colspan="2"><h2><a name="Processes"></a>
|
132 |
|
|
Processes</h2></td></tr>
|
133 |
|
|
<tr class="memitem:a32c354a3244adeb38255c6170c2d2703"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32c354a3244adeb38255c6170c2d2703"></a>
|
134 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a32c354a3244adeb38255c6170c2d2703">baudClk_process</a> </td><td class="memItemRight" valign="bottom"><b> ( )</b></td></tr>
|
135 |
|
|
<tr class="memitem:a93c030323eed7ace4a6bde604c208d39"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93c030323eed7ace4a6bde604c208d39"></a>
|
136 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a93c030323eed7ace4a6bde604c208d39">baudOverSampleClk_process</a> </td><td class="memItemRight" valign="bottom"><b> ( )</b></td></tr>
|
137 |
|
|
<tr class="memitem:ad2efa6785cff833c341e27596b21aeb5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2efa6785cff833c341e27596b21aeb5"></a>
|
138 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#ad2efa6785cff833c341e27596b21aeb5">stim_proc</a> </td><td class="memItemRight" valign="bottom"><b> ( )</b></td></tr>
|
139 |
|
|
<tr><td colspan="2"><h2><a name="Components"></a>
|
140 |
|
|
Components</h2></td></tr>
|
141 |
|
|
<tr class="memitem:aba360668a57d8e28992f6f2241e4685b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtest_serial__receiver_1_1behavior.html#aba360668a57d8e28992f6f2241e4685b">serial_receiver</a> </td><td class="memItemRight" valign="bottom"> <b></b> <em><a class="el" href="classserial__receiver.html"><Entity serial_receiver> </a></em></td></tr>
|
142 |
|
|
<tr class="memdesc:aba360668a57d8e28992f6f2241e4685b"><td class="mdescLeft"> </td><td class="mdescRight">Reset input. <a href="#aba360668a57d8e28992f6f2241e4685b"></a><br/></td></tr>
|
143 |
|
|
<tr><td colspan="2"><h2><a name="Constants"></a>
|
144 |
|
|
Constants</h2></td></tr>
|
145 |
|
|
<tr class="memitem:ad0dd3f1154c3030d39eaffd60c737ae8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0dd3f1154c3030d39eaffd60c737ae8"></a>
|
146 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#ad0dd3f1154c3030d39eaffd60c737ae8">baudClk_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">8</span> <span class="vhdlchar">.</span> <span class="vhdldigit">6805</span> <span class="vhdlchar"> </span><span class="vhdlchar">us</span><span class="vhdlchar"> </span></b></td></tr>
|
147 |
|
|
<tr class="memitem:a5629eb3c8ab825e097472594eb8eee97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5629eb3c8ab825e097472594eb8eee97"></a>
|
148 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a5629eb3c8ab825e097472594eb8eee97">baudOverSampleClk_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">1</span> <span class="vhdlchar">.</span> <span class="vhdldigit">085</span> <span class="vhdlchar"> </span><span class="vhdlchar">us</span><span class="vhdlchar"> </span></b></td></tr>
|
149 |
|
|
<tr><td colspan="2"><h2><a name="Signals"></a>
|
150 |
|
|
Signals</h2></td></tr>
|
151 |
|
|
<tr class="memitem:ad0e9ff1195cc92fc010eaaee1f262ffa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0e9ff1195cc92fc010eaaee1f262ffa"></a>
|
152 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#ad0e9ff1195cc92fc010eaaee1f262ffa">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>
|
153 |
|
|
<tr class="memdesc:ad0e9ff1195cc92fc010eaaee1f262ffa"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
154 |
|
|
<tr class="memitem:a00c05fda624fc5737da97cf96f6462b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00c05fda624fc5737da97cf96f6462b2"></a>
|
155 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a00c05fda624fc5737da97cf96f6462b2">baudClk</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>
|
156 |
|
|
<tr class="memdesc:a00c05fda624fc5737da97cf96f6462b2"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
157 |
|
|
<tr class="memitem:afa7ddfe0dc43a79046819f07a6e07242"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa7ddfe0dc43a79046819f07a6e07242"></a>
|
158 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#afa7ddfe0dc43a79046819f07a6e07242">baudOverSampleClk</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>
|
159 |
|
|
<tr class="memdesc:afa7ddfe0dc43a79046819f07a6e07242"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
160 |
|
|
<tr class="memitem:a230717773096fbac75694b6dab3ad106"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a230717773096fbac75694b6dab3ad106"></a>
|
161 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a230717773096fbac75694b6dab3ad106">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>
|
162 |
|
|
<tr class="memdesc:a230717773096fbac75694b6dab3ad106"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
163 |
|
|
<tr class="memitem:a22d3daac34a94035ee8d6d94408a9f84"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22d3daac34a94035ee8d6d94408a9f84"></a>
|
164 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a22d3daac34a94035ee8d6d94408a9f84">data_ready</a>  </td><td class="memItemRight" valign="bottom"><b><span class="comment">std_logic</span><span class="vhdlchar"> </span></b></td></tr>
|
165 |
|
|
<tr class="memdesc:a22d3daac34a94035ee8d6d94408a9f84"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
166 |
|
|
<tr class="memitem:addeb5228bce5b84c83d1c25bb6970115"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addeb5228bce5b84c83d1c25bb6970115"></a>
|
167 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#addeb5228bce5b84c83d1c25bb6970115">data_byte</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>
|
168 |
|
|
<tr class="memdesc:addeb5228bce5b84c83d1c25bb6970115"><td class="mdescLeft"> </td><td class="mdescRight">Signal to connect with UUT. <br/></td></tr>
|
169 |
|
|
<tr><td colspan="2"><h2><a name="Instantiations"></a>
|
170 |
|
|
Instantiations</h2></td></tr>
|
171 |
|
|
<tr class="memitem:a1619316ad715601eb5d3559db829ac05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1619316ad715601eb5d3559db829ac05"></a>
|
172 |
|
|
<a class="el" href="classtest_serial__receiver_1_1behavior.html#a1619316ad715601eb5d3559db829ac05">uut</a> </td><td class="memItemRight" valign="bottom"> <b>serial_receiver</b> <em><a class="el" href="classserial__receiver.html"><Entity serial_receiver></a></em></td></tr>
|
173 |
|
|
<tr class="memdesc:a1619316ad715601eb5d3559db829ac05"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the Unit Under Test (UUT) <br/></td></tr>
|
174 |
|
|
</table>
|
175 |
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
176 |
|
|
<div class="textblock"><p>Test <a class="el" href="classserial__receiver.html">serial_receiver</a> module module. </p>
|
177 |
|
|
<p>Receive some simulated byte stream and verify received values </p>
|
178 |
|
|
|
179 |
|
|
<p>Definition at line <a class="el" href="test_serial__receiver_8vhd_source.html#l00016">16</a> of file <a class="el" href="test_serial__receiver_8vhd_source.html">testSerial_receiver.vhd</a>.</p>
|
180 |
|
|
</div><hr/><h2>Member Data Documentation</h2>
|
181 |
|
|
<a class="anchor" id="aba360668a57d8e28992f6f2241e4685b"></a>
|
182 |
|
|
<div class="memitem">
|
183 |
|
|
<div class="memproto">
|
184 |
|
|
<table class="memname">
|
185 |
|
|
<tr>
|
186 |
|
|
<td class="memname"><a class="el" href="classtest_serial__receiver_1_1behavior.html#aba360668a57d8e28992f6f2241e4685b">serial_receiver</a> <b><span class="vhdlchar"> </span></b> <code> [Component]</code></td>
|
187 |
|
|
</tr>
|
188 |
|
|
</table>
|
189 |
|
|
</div>
|
190 |
|
|
<div class="memdoc">
|
191 |
|
|
|
192 |
|
|
<p>Reset input. </p>
|
193 |
|
|
<p>Baud oversampled 8x (Best way to detect start bit) Uart serial input Data received and ready to be read Data byte received </p>
|
194 |
|
|
|
195 |
|
|
<p>Definition at line <a class="el" href="test_serial__receiver_8vhd_source.html#l00020">20</a> of file <a class="el" href="test_serial__receiver_8vhd_source.html">testSerial_receiver.vhd</a>.</p>
|
196 |
|
|
|
197 |
|
|
</div>
|
198 |
|
|
</div>
|
199 |
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
200 |
|
|
<li>E:/uart_block/hdl/iseProject/<a class="el" href="test_serial__receiver_8vhd_source.html">testSerial_receiver.vhd</a></li>
|
201 |
|
|
</ul>
|
202 |
|
|
</div><!-- contents -->
|
203 |
|
|
</div>
|
204 |
|
|
<div id="nav-path" class="navpath">
|
205 |
|
|
<ul>
|
206 |
|
|
<li class="navelem"><a class="el" href="classtest_serial__receiver.html">testSerial_receiver</a> </li>
|
207 |
|
|
<li class="navelem"><a class="el" href="classtest_serial__receiver_1_1behavior.html">behavior</a> </li>
|
208 |
|
|
|
209 |
|
|
<li class="footer">Generated on Sat May 12 2012 22:28:08 for Uart wishbone slave Documentation by
|
210 |
|
|
<a href="http://www.doxygen.org/index.html">
|
211 |
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
|
212 |
|
|
</ul>
|
213 |
|
|
</div>
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
</body>
|
217 |
|
|
</html>
|