OpenCores
URL https://opencores.org/ocsvn/uart_block/uart_block/trunk

Subversion Repositories uart_block

[/] [uart_block/] [trunk/] [docs/] [doxygenDocs/] [html/] [pkg_definitions_8vhd_source.html] - Blame information for rev 40

Details | Compare with Previous | View Log

Line No. Rev Author Line
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: E:/uart_block/hdl/iseProject/pkgDefinitions.vhd Source File</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&#160;Page</span></a></li>
55
      <li><a href="namespaces.html"><span>Packages</span></a></li>
56
      <li><a href="annotated.html"><span>Design&#160;Unit&#160;List</span></a></li>
57
      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
79
    </ul>
80
  </div>
81
</div>
82
<div id="side-nav" class="ui-resizable side-nav-resizable">
83
  <div id="nav-tree">
84
    <div id="nav-tree-contents">
85
    </div>
86
  </div>
87
  <div id="splitbar" style="-moz-user-select:none;"
88
       class="ui-resizable-handle">
89
  </div>
90
</div>
91
<script type="text/javascript">
92
  initNavTree('pkg_definitions_8vhd.html','');
93
</script>
94
<div id="doc-content">
95
<!-- window showing the filter options -->
96
<div id="MSearchSelectWindow"
97
     onmouseover="return searchBox.OnSearchSelectShow()"
98
     onmouseout="return searchBox.OnSearchSelectHide()"
99
     onkeydown="return searchBox.OnSearchSelectKey(event)">
100
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
101
 
102
<!-- iframe showing the search results (closed by default) -->
103
<div id="MSearchResultsWindow">
104
<iframe src="javascript:void(0)" frameborder="0"
105
        name="MSearchResults" id="MSearchResults">
106
</iframe>
107
</div>
108
 
109
<div class="header">
110
  <div class="headertitle">
111
<div class="title">E:/uart_block/hdl/iseProject/pkgDefinitions.vhd</div>  </div>
112
</div><!--header-->
113
<div class="contents">
114
<a href="pkg_definitions_8vhd.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
115
<a name="l00003"></a>00003
116
<a name="l00012"></a>00012
117
<a name="l00014"></a>00014
118
<a name="l00015"></a>00015 <span class="vhdlkeyword">library </span><span class="keywordflow">IEEE</span>;
119
<a name="l00016"></a>00016 <span class="vhdlkeyword">use </span>IEEE.STD_LOGIC_1164.<span class="vhdlkeyword">all</span>;
120
<a name="l00017"></a>00017
121
<a name="l00018"></a><a class="code" href="namespacepkg_definitions.html">00018</a> <span class="keywordflow">package </span>pkgDefinitions <span class="vhdlkeyword">is</span>
122
<a name="l00019"></a>00019
123
<a name="l00021"></a>00021 <span class="vhdlkeyword">constant</span> <span class="vhdlchar">nBits</span>            <span class="vhdlchar">:</span> <span class="comment">integer</span> <span class="vhdlchar">:=</span> <span class="vhdllogic"></span><span class="vhdllogic">8</span>;
124
<a name="l00022"></a>00022 <span class="vhdlkeyword">constant</span> <span class="vhdlchar">nBitsLarge</span> <span class="vhdlchar">:</span> <span class="comment">integer</span> <span class="vhdlchar">:=</span> <span class="vhdllogic"></span><span class="vhdllogic">32</span>;
125
<a name="l00023"></a>00023
126
<a name="l00024"></a>00024 <span class="vhdlkeyword">type</span> <span class="vhdlchar">txStates</span> <span class="vhdlkeyword">is</span> <span class="vhdlchar">(</span><span class="vhdlchar">tx_idle</span><span class="vhdlchar">,</span> <span class="vhdlchar">tx_start</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit0</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit1</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit2</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit3</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit4</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit5</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit6</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit7</span><span class="vhdlchar">,</span> <span class="vhdlchar">tx_stop1</span><span class="vhdlchar">,</span> <span class="vhdlchar">tx_stop2</span><span class="vhdlchar">)</span>;
127
<a name="l00025"></a>00025 <span class="vhdlkeyword">type</span> <span class="vhdlchar">rxStates</span> <span class="vhdlkeyword">is</span> <span class="vhdlchar">(</span><span class="vhdlchar">bit0</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit1</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit2</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit3</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit4</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit5</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit6</span><span class="vhdlchar">,</span> <span class="vhdlchar">bit7</span><span class="vhdlchar">,</span> <span class="vhdlchar">rx_stop</span><span class="vhdlchar">,</span> <span class="vhdlchar">rx_idle</span><span class="vhdlchar">)</span>;
128
<a name="l00026"></a>00026 <span class="vhdlkeyword">type</span> <span class="vhdlchar">rxFilterStates</span> <span class="vhdlkeyword">is</span> <span class="vhdlchar">(</span><span class="vhdlchar">s0</span><span class="vhdlchar">,</span> <span class="vhdlchar">s1</span><span class="vhdlchar">,</span> <span class="vhdlchar">s2</span><span class="vhdlchar">,</span> <span class="vhdlchar">s3</span><span class="vhdlchar">,</span> <span class="vhdlchar">s4</span><span class="vhdlchar">)</span>;
129
<a name="l00027"></a>00027
130
<a name="l00028"></a>00028 <span class="vhdlkeyword">type</span> <span class="vhdlchar">sendByte</span> <span class="vhdlkeyword">is</span> <span class="vhdlchar">(</span><span class="vhdlchar">idle</span><span class="vhdlchar">,</span> <span class="vhdlchar">prepare_byte</span><span class="vhdlchar">,</span> <span class="vhdlchar">start_sending</span><span class="vhdlchar">,</span> <span class="vhdlchar">wait_completion</span><span class="vhdlchar">)</span>;
131
<a name="l00029"></a>00029
132
<a name="l00030"></a>00030 <span class="vhdlkeyword">type</span> <span class="vhdlchar">testMaster</span> <span class="vhdlkeyword">is</span> <span class="vhdlchar">(</span><span class="vhdlchar">idle</span><span class="vhdlchar">,</span> <span class="vhdlchar">config_clock</span><span class="vhdlchar">,</span> <span class="vhdlchar">config_baud</span><span class="vhdlchar">,</span> <span class="vhdlchar">send_byte</span><span class="vhdlchar">,</span> <span class="vhdlchar">receive_byte</span><span class="vhdlchar">,</span> <span class="vhdlchar">wait_cycles</span><span class="vhdlchar">)</span>;
133
<a name="l00031"></a>00031
134
<a name="l00032"></a>00032 <span class="vhdlkeyword">end</span> <span class="vhdlchar">pkgDefinitions</span>;
135
<a name="l00033"></a>00033
136
<a name="l00034"></a><a class="code" href="class__pkg_definitions.html">00034</a> <span class="vhdlkeyword">package</span> <span class="vhdlkeyword">body</span> _pkgDefinitions <span class="vhdlkeyword">is</span>
137
<a name="l00035"></a>00035
138
<a name="l00036"></a>00036 <span class="vhdlkeyword">end</span> <span class="vhdlchar">pkgDefinitions</span>;
139
</pre></div></div><!-- contents -->
140
</div>
141
  <div id="nav-path" class="navpath">
142
    <ul>
143
      <li class="navelem"><a class="el" href="pkg_definitions_8vhd.html">pkgDefinitions.vhd</a>      </li>
144
 
145
    <li class="footer">Generated on Sat May 12 2012 22:28:05 for Uart wishbone slave Documentation by
146
    <a href="http://www.doxygen.org/index.html">
147
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
148
   </ul>
149
 </div>
150
 
151
 
152
</body>
153
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.