Line 11... |
Line 11... |
<meta name="Info 4" content="">
|
<meta name="Info 4" content="">
|
<meta name="date" content="2008-01-08T12:01:41-0500">
|
<meta name="date" content="2008-01-08T12:01:41-0500">
|
<meta name="robots" content="index,follow">
|
<meta name="robots" content="index,follow">
|
</head>
|
</head>
|
<body dir="ltr" lang="en-US">
|
<body dir="ltr" lang="en-US">
|
<h1><a name="Datasheet"></a>SOCGEN Datasheet:<br>
|
<h1><a name="cde_serial_xmit"></a>SOCGEN Datasheet:<br>
|
</h1>
|
</h1>
|
<div id="toc__inside" dir="ltr">
|
<div id="toc__inside" dir="ltr">
|
<ul>
|
<ul>
|
<li>
|
<li>
|
<ul>
|
<p style="margin-bottom: 0in;"><a href="#cde_serial_xmit">cde_serial_xmit<br>
|
|
</a></p>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<li>
|
|
<p><a href="../src/cde_serial_xmit.v">SourceCode <br>
|
|
</a></p>
|
|
</li>
|
|
<li>
|
|
<p style="margin-bottom: 0in;"><a href="#Parameters">Parameters<br>
|
|
</a></p>
|
|
</li>
|
|
<li>
|
|
<p style="margin-bottom: 0in;"><a href="#Interface">Interface<br>
|
|
</a></p>
|
|
</li>
|
<li>
|
<li>
|
<p style="margin-bottom: 0in;"><a href="#Description">Description<br>
|
<p style="margin-bottom: 0in;"><a href="#Children">Children<br>
|
</a></p>
|
</a></p>
|
</li>
|
</li>
|
<li>
|
<li>
|
<p style="margin-bottom: 0in;"><a href="#TheoryofOperation">Theory of Operation<br>
|
<p><a href="../../html/cde_serial_xmit.html#TheoryofOperation">Theory of Operation<br>
|
</a></p>
|
</a></p>
|
</li>
|
</li>
|
</ul>
|
</ul>
|
</li>
|
</li>
|
</ul>
|
</ul>
|
</div>
|
</div>
|
|
<img style="width: 459.75px; height: 350px;" alt="" src="../png/cde_serial_xmit_sym.png"><br>
|
|
<b><br>
|
|
<h2><b><a name="Parameters"></a>Parameters<br></b></h2>
|
|
<b><br>
|
|
<br>
|
|
</b>
|
|
<table style="text-align: left; width: 640px; height: 120px;" border="8" cellpadding="4" cellspacing="4">
|
|
<tbody>
|
|
<tr>
|
|
<td style="vertical-align: top;">Name<br> </td>
|
|
<td style="vertical-align: top;">default <br> </td>
|
|
<td style="vertical-align: top;">Description<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">SIZE<br> </td>
|
|
<td style="vertical-align: top;">4<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">WIDTH<br> </td>
|
|
<td style="vertical-align: top;">8<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><b><b><br>
|
|
</b></b></p>
|
|
<p><br>
|
|
</p>
|
|
<p><b><b><br>
|
|
</b></b></p>
|
|
<p><b><b><br>
|
|
<br>
|
|
</b></b></p>
|
|
<h2><b><b><a name="Interface"></a>Interface</b><b> <br>
|
|
</b></b></h2>
|
|
<p style="margin-bottom: 0in;"></p>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<table style="text-align: left; width: 640px; height: 120px;" border="8"
|
|
cellpadding="4" cellspacing="4">
|
|
<tbody>
|
|
<tr>
|
|
<td style="vertical-align: top;">NAME<br> </td>
|
|
<td style="vertical-align: top;">Type<br> </td>
|
|
<td style="vertical-align: top;">Description<br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">clk<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">edge_enable<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">load<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">parity_enable<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">parity_force<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">parity_type<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">reset<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">start_value<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">stop_value<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">data[WIDTH-1:0]<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">buffer_empty<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">ser_out<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><b><b><br>
|
|
</b></b></p>
|
|
<h2><b><a name="Children"></a>Children<br></b></h2>
|
|
<b><br>
|
|
</b>
|
|
<table style="text-align: left; width: 640px; height: 120px;" border="8" cellpadding="4" cellspacing="4">
|
|
<tbody>
|
|
<tr>
|
|
<td style="vertical-align: top;">Instance<br> </td>
|
|
<td style="vertical-align: top;">Vendor<br> </td>
|
|
<td style="vertical-align: top;">Library<br></td>
|
|
<td style="vertical-align: top;">Component<br></td>
|
|
<td style="vertical-align: top;">Version<br></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><b><b><br>
|
|
</b></b></p>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<img style="width: 459.75px; height: 350px;" alt="" src="../png/cde_serial_xmit_sch.png"><br>
|
<br>
|
<b><br>
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<h2><b><a name="Description"></a>Description</b></h2>
|
|
This module converts a paraller word into a serial bit stream along with start bit,parity bit and one or two stop bits. Data is streamed lsb first
|
|
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<h2><b><a name="TheoryofOperation"></a>Theory of Operation<br></b></h2>
|
|
Upon receiving a load signal the module will start shifting out a start bit followed by all databits (lsb first) followed by parity (if enabled) and one or tw
|
|
o stop bits. The shifting when the edge_enable signal is high for one clock cycle. Load should only be asserted when buffer_empty is high. Buffer_empty will g
|
|
o high at the start of the last stop bit and reloading before the next edge_enable will give continueous operation.
|
|
|
|
edge_enables are only required when buffer_empty is low and are ignored when it is high.
|
|
|
|
The stop_value may also be used to force a break condition
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|
<br>
|