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="io_module_gpio"></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="#io_module_gpio">io_module_gpio<br>
|
|
</a></p>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<li>
|
|
<p><a href="../src/io_module_gpio.v">SourceCode <br>
|
|
</a></p>
|
|
</li>
|
|
<li>
|
|
<p style="margin-bottom: 0in;"><a href="#Parameters">Parameters<br>
|
|
</a></p>
|
|
</li>
|
<li>
|
<li>
|
<p style="margin-bottom: 0in;"><a href="#Description">Description<br>
|
<p style="margin-bottom: 0in;"><a href="#Interface">Interface<br>
|
</a></p>
|
</a></p>
|
</li>
|
</li>
|
<li>
|
<li>
|
<p style="margin-bottom: 0in;"><a href="#TheoryofOperation">Theory of Operation<br>
|
<p style="margin-bottom: 0in;"><a href="#Children">Children<br>
|
|
</a></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="../../html/io_module_gpio.html#TheoryofOperation">Theory of Operation<br>
|
</a></p>
|
</a></p>
|
</li>
|
</li>
|
</ul>
|
</ul>
|
</li>
|
</li>
|
</ul>
|
</ul>
|
</div>
|
</div>
|
|
<img style="width: 519.75px; height: 446px;" alt="" src="../png/io_module_gpio_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;">ADDR_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">16<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">BASE_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">8<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">IRQ_MODE<br> </td>
|
|
<td style="vertical-align: top;">8'h00<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">MAS_ADD_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">4<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">MAS_DATA_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">8<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">NMI_MODE<br> </td>
|
|
<td style="vertical-align: top;">8'h00<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">SLA_ADD_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">8<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">SLA_DATA_WIDTH<br> </td>
|
|
<td style="vertical-align: top;">16<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">UART_DIV<br> </td>
|
|
<td style="vertical-align: top;">0<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">UART_PRESCALE<br> </td>
|
|
<td style="vertical-align: top;">5'b01100<br> </td>
|
|
<td style="vertical-align: top;"><br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">UART_PRE_SIZE<br> </td>
|
|
<td style="vertical-align: top;">5<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;">cts_pad_in<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">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;">reg_mb_cs<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">reg_mb_rd<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">reg_mb_wr<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;">uart_rxd_pad_in<br> </td>
|
|
<td style="vertical-align: top;">input<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio_0_in[7: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;">gpio_1_in[7: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;">pic_irq_in[7: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;">reg_mb_addr[7: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;">reg_mb_wdata[7: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;">pic_irq<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">pic_nmi<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">reg_mb_wait<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">rts_pad_out<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">rx_irq<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">tx_irq<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">uart_txd_pad_out<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">wait_n<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio_0_oe[7:0]<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio_0_out[7:0]<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio_1_oe[7:0]<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio_1_out[7:0]<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">reg_mb_rdata[15:0]<br> </td>
|
|
<td style="vertical-align: top;">output<br> </td>
|
|
<td style="vertical-align: top;"><br> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">timer_irq[1:0]<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>
|
|
<tr>
|
|
<td style="vertical-align: top;">mb_exp<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">logic<br></td>
|
|
<td style="vertical-align: top;">micro_bus<br></td>
|
|
<td style="vertical-align: top;">exp5<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">gpio<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">io<br></td>
|
|
<td style="vertical-align: top;">io_gpio<br></td>
|
|
<td style="vertical-align: top;">def<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">tim_0<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">io<br></td>
|
|
<td style="vertical-align: top;">io_timer<br></td>
|
|
<td style="vertical-align: top;">def<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">uart<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">io<br></td>
|
|
<td style="vertical-align: top;">io_uart<br></td>
|
|
<td style="vertical-align: top;">def<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">pic<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">io<br></td>
|
|
<td style="vertical-align: top;">io_pic<br></td>
|
|
<td style="vertical-align: top;">def<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;">utimer<br> </td>
|
|
<td style="vertical-align: top;">opencores.org<br> </td>
|
|
<td style="vertical-align: top;">io<br></td>
|
|
<td style="vertical-align: top;">io_utimer<br></td>
|
|
<td style="vertical-align: top;">def<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: 519.75px; height: 446px;" alt="" src="../png/io_module_gpio_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>
|
|
Add description of what the module does<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>
|
|
<br>
|
|
<h2><b><a name="TheoryofOperation"></a>Theory of Operation<br></b></h2>
|
|
Add description of how it works<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>
|