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

Subversion Repositories aoocs

[/] [aoocs/] [trunk/] [doc/] [doxygen/] [html/] [classocs__serial.html] - Rev 2

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"/>
<title>aoOCS: ocs_serial Module Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Design&#160;Unit&#160;List</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Design&#160;Unit&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Design&#160;Unit&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#Inputs">Inputs</a> &#124;
<a href="#Outputs">Outputs</a> &#124;
<a href="#Always Constructs">Always Constructs</a>  </div>
  <div class="headertitle">
<h1>ocs_serial Module Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ocs_serial" -->
<p><p>OCS serial port implementation with WISHBONE slave interface. [functionality not implemented]. </p>
 
<a href="#_details">More...</a></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for ocs_serial:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
 <div class="center">
  <img src="classocs__serial.png" usemap="#ocs_serial_map" alt=""/>
  <map id="ocs_serial_map" name="ocs_serial_map">
<area href="classaoOCS.html" alt="aoOCS" shape="rect" coords="0,56,70,80"/>
</map>
 </div><!-- endSectionContent --></div>
 
<p><a href="classocs__serial-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="Always Constructs"></a>
Always Constructs</h2></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a52fa402c182371c96de65a44f4d0ad27">ALWAYS_49</a>&#160;</td><td class="memItemRight" valign="bottom"><b> ( <b><b><a class="el" href="classocs__serial.html#afaf38f6309d65be30657673eda60b0d5">CLK_I</a></b> <span class="vhdlchar"> </span></b> , <b><b><a class="el" href="classocs__serial.html#ab056ba3c82108a98db62cab2629c2f11">reset_n</a></b> <span class="vhdlchar"> </span></b> )</b></td></tr>
<tr><td colspan="2"><h2><a name="Inputs"></a>
Inputs</h2></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Clock and reset</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#afaf38f6309d65be30657673eda60b0d5">CLK_I</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#ab056ba3c82108a98db62cab2629c2f11">reset_n</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td colspan="2"><div class="groupHeader">WISHBONE slave</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a220f1561e548a7d1762e444e0a3a8255">CYC_I</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a71181c2f7c1786e7c8d36efcc5cd6384">STB_I</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a26ba3360a85981afe01b1ba0d42ded79">WE_I</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#ab522ee14d28ba506e3257da274de8052">ADR_I</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlchar">[</span><span class="vhdldigit">8</span><span class="vhdlchar">:</span><span class="vhdldigit">2</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#ae600c0f33099d217d6d6590c913a0474">SEL_I</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlchar">[</span><span class="vhdldigit">3</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#ae8dce78204888df829f52c2943d646bd">DAT_I</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlchar">[</span><span class="vhdldigit">31</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td colspan="2"><div class="groupHeader">Not aligned register access on a 32-bit WISHBONE bus</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a41b01454461979054072a9dd162861fe">na_dskbytr</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlchar">[</span><span class="vhdldigit">15</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td colspan="2"><h2><a name="Outputs"></a>
Outputs</h2></td></tr>
 <tr><td colspan="2"><div class="groupHeader">WISHBONE slave</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a845b761bb592b34bbef8610710b4d089">DAT_O</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlkeyword">reg</span><span class="vhdlchar">[</span><span class="vhdldigit">31</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a469e46a6b2d056ab92f642bd7166a09b">ACK_O</a> &#160;</td><td class="memItemRight" valign="bottom"><b><span class="vhdlkeyword">reg</span><span class="vhdlchar"> </span></b>  </td></tr>
<tr><td colspan="2"><div class="groupHeader">Not aligned register access on a 32-bit WISHBONE bus</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classocs__serial.html#a22cfe10bb9f32bd121b3e485129036ad">na_dskbytr_read</a> &#160;</td><td class="memItemRight" valign="bottom"></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>OCS serial port implementation with WISHBONE slave interface. [functionality not implemented]. </p>
 <p>List of serial registers: </p>
<div class="fragment"><pre class="fragment">
Not implemented:
    SERDATR     *018  R   P       Serial port data and status read              read implemented here
     [DSKBYTR   *01A  R   P       Disk data byte and status read                read implemented here]
 
    SERDAT      *030  W   P       Serial port data and stop bits write
    SERPER      *032  W   P       Serial port period and control
</pre></div> 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00042">42</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a52fa402c182371c96de65a44f4d0ad27"></a><!-- doxytag: member="ocs_serial::ALWAYS_49" ref="a52fa402c182371c96de65a44f4d0ad27" args="CLK_I, reset_n" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><b><span class="vhdlchar"> </span></b>ALWAYS_49          <td></td>
          <td class="paramtype">(<span class="keywordtype"></span> <b><b><a class="el" href="classocs__serial.html#afaf38f6309d65be30657673eda60b0d5">CLK_I</a></b> <span class="vhdlchar"> </span></b>  <em><span class="vhdlkeyword"></span></em> , </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><span class="keywordtype"></span> <b><b><a class="el" href="classocs__serial.html#ab056ba3c82108a98db62cab2629c2f11">reset_n</a></b> <span class="vhdlchar"> </span></b>  <em><span class="vhdlkeyword"></span></em> ) </td>
        </tr>
<code> [Always Construct]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00072">72</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="afaf38f6309d65be30657673eda60b0d5"></a><!-- doxytag: member="ocs_serial::CLK_I" ref="afaf38f6309d65be30657673eda60b0d5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#afaf38f6309d65be30657673eda60b0d5">CLK_I</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00045">45</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="ab056ba3c82108a98db62cab2629c2f11"></a><!-- doxytag: member="ocs_serial::reset_n" ref="ab056ba3c82108a98db62cab2629c2f11" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#ab056ba3c82108a98db62cab2629c2f11">reset_n</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00046">46</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a220f1561e548a7d1762e444e0a3a8255"></a><!-- doxytag: member="ocs_serial::CYC_I" ref="a220f1561e548a7d1762e444e0a3a8255" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a220f1561e548a7d1762e444e0a3a8255">CYC_I</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00051">51</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a71181c2f7c1786e7c8d36efcc5cd6384"></a><!-- doxytag: member="ocs_serial::STB_I" ref="a71181c2f7c1786e7c8d36efcc5cd6384" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a71181c2f7c1786e7c8d36efcc5cd6384">STB_I</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00052">52</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a26ba3360a85981afe01b1ba0d42ded79"></a><!-- doxytag: member="ocs_serial::WE_I" ref="a26ba3360a85981afe01b1ba0d42ded79" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a26ba3360a85981afe01b1ba0d42ded79">WE_I</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00053">53</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="ab522ee14d28ba506e3257da274de8052"></a><!-- doxytag: member="ocs_serial::ADR_I" ref="ab522ee14d28ba506e3257da274de8052" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#ab522ee14d28ba506e3257da274de8052">ADR_I</a></span> <b><span class="vhdlchar">[</span><span class="vhdldigit">8</span><span class="vhdlchar">:</span><span class="vhdldigit">2</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00054">54</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="ae600c0f33099d217d6d6590c913a0474"></a><!-- doxytag: member="ocs_serial::SEL_I" ref="ae600c0f33099d217d6d6590c913a0474" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#ae600c0f33099d217d6d6590c913a0474">SEL_I</a></span> <b><span class="vhdlchar">[</span><span class="vhdldigit">3</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00055">55</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="ae8dce78204888df829f52c2943d646bd"></a><!-- doxytag: member="ocs_serial::DAT_I" ref="ae8dce78204888df829f52c2943d646bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#ae8dce78204888df829f52c2943d646bd">DAT_I</a></span> <b><span class="vhdlchar">[</span><span class="vhdldigit">31</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00056">56</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a845b761bb592b34bbef8610710b4d089"></a><!-- doxytag: member="ocs_serial::DAT_O" ref="a845b761bb592b34bbef8610710b4d089" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a845b761bb592b34bbef8610710b4d089">DAT_O</a></span> <b><span class="vhdlkeyword">reg</span><span class="vhdlchar">[</span><span class="vhdldigit">31</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Output]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00057">57</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a469e46a6b2d056ab92f642bd7166a09b"></a><!-- doxytag: member="ocs_serial::ACK_O" ref="a469e46a6b2d056ab92f642bd7166a09b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a469e46a6b2d056ab92f642bd7166a09b">ACK_O</a></span> <b><span class="vhdlkeyword">reg</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Output]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00058">58</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a22cfe10bb9f32bd121b3e485129036ad"></a><!-- doxytag: member="ocs_serial::na_dskbytr_read" ref="a22cfe10bb9f32bd121b3e485129036ad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a22cfe10bb9f32bd121b3e485129036ad">na_dskbytr_read</a></span> <b><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Output]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00064">64</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<a class="anchor" id="a41b01454461979054072a9dd162861fe"></a><!-- doxytag: member="ocs_serial::na_dskbytr" ref="a41b01454461979054072a9dd162861fe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><span class="stringliteral"><a class="el" href="classocs__serial.html#a41b01454461979054072a9dd162861fe">na_dskbytr</a></span> <b><span class="vhdlchar">[</span><span class="vhdldigit">15</span><span class="vhdlchar">:</span><span class="vhdldigit">0</span><span class="vhdlchar">]</span><span class="vhdlchar"> </span></b> <b><span class="vhdlchar"> </span></b> <code> [Input]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
 
<p>Definition at line <a class="el" href="ocs__serial_8v_source.html#l00065">65</a> of file <a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a>.</p>
 
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ocs__serial_8v_source.html">ocs_serial.v</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Dec 20 2010 21:20:20 for aoOCS by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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