1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/document/dma.htm Fri Aug 13 10:43:05 2010 +0100 1.3 @@ -0,0 +1,251 @@ 1.4 +<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> 1.5 + 1.6 +<html> 1.7 + 1.8 +<head> 1.9 +<title>DMA Controller</title> 1.10 +<meta http-equiv="content-type" content="text/html; charset=windows-1252"> 1.11 +<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> 1.12 +<link rel="stylesheet" href="lever40_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss"> 1.13 +<!-- 1.14 +if (navigator.appName !="Netscape") 1.15 +{ document.write("<link rel='stylesheet' href='lever40.css'>");} 1.16 +//--> 1.17 +</script> 1.18 +<style type="text/css"> 1.19 +<!-- 1.20 +img_whs1 { border:none; width:29px; height:31px; float:none; border-style:none; } 1.21 +p.whs2 { font-style:italic; } 1.22 +table.whs3 { x-cell-content-align:top; height:84px; left:0px; top:114px; width:637px; margin-left:15px; border-spacing:0px; } 1.23 +col.whs4 { width:86px; } 1.24 +col.whs5 { width:504px; } 1.25 +tr.whs6 { x-cell-content-align:top; height:22px; } 1.26 +td.whs7 { width:86px; padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-color:#c0c0c0; border-top-style:Solid; border-top-color:#c0c0c0; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-right-width:1px; border-left-width:1px; border-top-width:1px; border-bottom-width:1px; background-color:#dee8f4; } 1.27 +td.whs8 { width:504px; padding-right:10px; padding-left:10px; border-top-style:Solid; border-top-color:#c0c0c0; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-top-width:1px; border-bottom-width:1px; border-right-width:1px; background-color:#dee8f4; } 1.28 +td.whs9 { width:86px; padding-right:10px; padding-left:10px; border-left-color:#c0c0c0; border-left-width:1px; border-left-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-right-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-bottom-width:1px; } 1.29 +td.whs10 { width:504px; padding-right:10px; padding-left:10px; border-right-color:#c0c0c0; border-right-style:Solid; border-right-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-bottom-width:1px; } 1.30 +p.whs11 { margin-left:4px; } 1.31 +table.whs12 { x-cell-content-align:top; margin-left:15px; border-spacing:0px; } 1.32 +tr.whs13 { x-cell-content-align:top; } 1.33 +td.whs14 { padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-color:#c0c0c0; border-top-color:#c0c0c0; border-top-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-right-width:1px; border-left-width:1px; border-top-width:1px; border-bottom-width:1px; background-color:#dee8f4; } 1.34 +td.whs15 { padding-right:10px; padding-left:10px; border-top-color:#c0c0c0; border-top-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-top-width:1px; border-bottom-width:1px; border-right-width:1px; background-color:#dee8f4; } 1.35 +td.whs16 { padding-right:10px; padding-left:10px; border-left-color:#c0c0c0; border-left-width:1px; border-left-style:Solid; border-right-style:Solid; border-right-color:#c0c0c0; border-right-width:1px; border-bottom-style:Solid; border-bottom-color:#c0c0c0; border-bottom-width:1px; } 1.36 +td.whs17 { padding-right:10px; padding-left:10px; border-right-style:Solid; border-right-color:#c0c0c0; border-right-width:1px; border-bottom-style:Solid; border-bottom-color:#c0c0c0; border-bottom-width:1px; } 1.37 +td.whs18 { padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-width:1px; border-left-color:#c0c0c0; border-right-width:1px; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; } 1.38 +td.whs19 { padding-right:10px; padding-left:10px; border-right-width:1px; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; } 1.39 +img_whs20 { border:none; width:14px; height:16px; float:none; border-style:none; } 1.40 +--> 1.41 +</style><script type="text/javascript" language="JavaScript"> 1.42 +<!-- 1.43 +function ehlp_showtip(current,e,text) 1.44 +{ 1.45 + if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) 1.46 + { 1.47 + document.tooltip.document.write("<layer bgColor='yellow' style='border:1px solid black;font-size:12px;'>"+ text + "</layer>"); 1.48 + document.tooltip.document.close(); 1.49 + document.tooltip.left=e.pageX+5; 1.50 + document.tooltip.top=e.pageY+5; 1.51 + document.tooltip.visibility="show"; 1.52 + } 1.53 +} 1.54 +function ehlp_hidetip() 1.55 +{ 1.56 + document.tooltip.visibility="hidden"; 1.57 +} 1.58 +//--> 1.59 +</script> 1.60 +<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> 1.61 +<!-- 1.62 +function reDo() { 1.63 + if (innerWidth != origWidth || innerHeight != origHeight) 1.64 + location.reload(); 1.65 +} 1.66 +if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { 1.67 + origWidth = innerWidth; 1.68 + origHeight = innerHeight; 1.69 + onresize = reDo; 1.70 +} 1.71 +onerror = null; 1.72 +//--> 1.73 +</script> 1.74 +<style type="text/css"> 1.75 +<!-- 1.76 +div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 1.77 +p.WebHelpNavBar { text-align:right; } 1.78 +--> 1.79 +</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> 1.80 +<script type="text/javascript" language="javascript" src="whver.js"></script> 1.81 +<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> 1.82 +<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> 1.83 +<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> 1.84 +<script type="text/javascript" language="javascript1.2"> 1.85 +<!-- 1.86 +if (window.gbWhTopic) 1.87 +{ 1.88 + if (window.setRelStartPage) 1.89 + { 1.90 + addTocInfo("DMA"); 1.91 + 1.92 + } 1.93 + 1.94 + 1.95 + if (window.setRelStartPage) 1.96 + { 1.97 + setRelStartPage("msb_peripherals.htm"); 1.98 + 1.99 + autoSync(0); 1.100 + sendSyncInfo(); 1.101 + sendAveInfoOut(); 1.102 + } 1.103 + 1.104 +} 1.105 +else 1.106 + if (window.gbIE4) 1.107 + document.location.reload(); 1.108 +//--> 1.109 +</script> 1.110 +</head> 1.111 +<body><script type="text/javascript" language="javascript1.2"> 1.112 +<!-- 1.113 +if (window.writeIntopicBar) 1.114 + writeIntopicBar(4); 1.115 +//--> 1.116 +</script> 1.117 +<h1>LatticeMico32 DMA Controller <a title="View Data Sheet" href="dma.pdf" target="_blank" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'View Data Sheet');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();"><img src="ds_icon_ast.jpg" x-maintain-ratio="TRUE" width="29px" height="31px" border="0" class="img_whs1"></a></h1> 1.118 + 1.119 +<p>The LatticeMico32 direct memory access controller (DMA) provides a master 1.120 + read port, a master write port, and a slave port to control data transmission. 1.121 + </p> 1.122 + 1.123 +<p class="whs2"><span style="font-style: italic;"><I>*If the 1.124 + data sheet fails to open, see the note at the bottom of this page.</I></span></p> 1.125 + 1.126 +<h2>Revision History </h2> 1.127 + 1.128 +<table x-use-null-cells cellspacing="0" width="637" height="84" class="whs3"> 1.129 +<script language='JavaScript'><!-- 1.130 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='637' height='84' border='1' bordercolor='silver' bordercolorlight='silver' bordercolordark='silver'>"); 1.131 +//--></script> 1.132 +<col class="whs4"> 1.133 +<col class="whs5"> 1.134 + 1.135 +<tr valign="top" class="whs6"> 1.136 +<td bgcolor="#DEE8F4" width="86px" class="whs7"> 1.137 +<p class=Table 1.138 + style="font-weight: bold;">Version</td> 1.139 +<td bgcolor="#DEE8F4" width="504px" class="whs8"> 1.140 +<p class=Table 1.141 + style="font-weight: bold;">Description</td></tr> 1.142 + 1.143 +<tr valign="top" class="whs6"> 1.144 +<td colspan="1" rowspan="1" width="86px" class="whs9"> 1.145 +<p class=Table 1.146 + style="font-weight: normal;">3.1 (8.0)</td> 1.147 +<td colspan="1" rowspan="1" width="504px" class="whs10"> 1.148 +<p class=Table>DMA Engine upgraded to comply with Rule 3.100 of Wishbone 1.149 + Specifications, which deal with byte alignment for transfers that are 1.150 + less than the width of Wishbone data bus.</td></tr> 1.151 + 1.152 +<tr valign="top" class="whs6"> 1.153 +<td colspan="1" rowspan="1" width="86px" class="whs9"> 1.154 +<p class=Table 1.155 + style="font-weight: normal;"><span style="font-weight: normal;">3.0 1.156 + (7.0 SP2)</span></td> 1.157 +<td colspan="1" rowspan="1" width="504px" class="whs10"> 1.158 +<p class=Table>Because the read and write channel worked in parallel, the 1.159 + write channel started writing data to the slave as soon as the FIFO is 1.160 + not empty.</p> 1.161 +<p class=Table>Increased burst size to support bigger bursts from a current 1.162 + value of 4 and 8 to 16 and 32, respectively. DMA now supports four burst 1.163 + sizes: 4, 8, 16, and 32. The Burst Size field of the control register 1.164 + was increased to 2 bits.</p> 1.165 +<p class=Table>A glitch was removed on the S_ACK_O signal.</td></tr> 1.166 + 1.167 +<tr valign="top" class="whs6"> 1.168 +<td colspan="1" rowspan="1" width="86px" class="whs9"> 1.169 +<p class="whs11">1.0</td> 1.170 +<td colspan="1" rowspan="1" width="504px" class="whs10"> 1.171 +<p class=Table>Initial release.</td></tr> 1.172 +<script language='JavaScript'><!-- 1.173 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>"); 1.174 +//--></script> 1.175 +</table> 1.176 + 1.177 + 1.178 + 1.179 +<h2>Dialog Box Parameters</h2> 1.180 + 1.181 +<table x-use-null-cells cellspacing="0" class="whs12"> 1.182 +<script language='JavaScript'><!-- 1.183 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' border='1' bordercolor='silver' bordercolorlight='silver' bordercolordark='silver'>"); 1.184 +//--></script> 1.185 +<col> 1.186 +<col> 1.187 + 1.188 +<tr valign="top" class="whs13"> 1.189 +<td bgcolor="#DEE8F4" class="whs14"> 1.190 +<p class=Table 1.191 + style="font-weight: bold; margin-right: 2px;">Parameter</td> 1.192 +<td bgcolor="#DEE8F4" class="whs15"> 1.193 +<p class=Table 1.194 + style="font-weight: bold;">Description</td></tr> 1.195 + 1.196 +<tr valign="top" class="whs13"> 1.197 +<td colspan="1" rowspan="1" class="whs16"> 1.198 +<p class=Table 1.199 + style="margin-right: 2px;">Instance Name</td> 1.200 +<td colspan="1" rowspan="1" class="whs17"> 1.201 +<p class=Table>Specifies the name of the DMA controller instance. Alphanumeric 1.202 + values and underscores are supported. The default is dma.</td></tr> 1.203 + 1.204 +<tr valign="top" class="whs13"> 1.205 +<td colspan="1" rowspan="1" class="whs16"> 1.206 +<p class=Table 1.207 + style="margin-right: 2px;">Base Address</td> 1.208 +<td colspan="1" rowspan="1" class="whs17"> 1.209 +<p class=Table>Specifies the base address for accessing the internal registers. 1.210 + The minimum boundary alignment is 0X80. Supported values are 0X80000000 1.211 + to 0XFFFFFFFF. The default is 0X80000000.</td></tr> 1.212 + 1.213 +<tr valign="top" class="whs13"> 1.214 +<td colspan="1" rowspan="1" class="whs18"> 1.215 +<p class=Table 1.216 + style="margin-right: 2px;">FIFO Implementation</td> 1.217 +<td colspan="1" rowspan="1" class="whs19"> 1.218 +<p class=Table>Determines whether the FIFO is implemented as an EBR or 1.219 + a LUT. The default is EBR.</td></tr> 1.220 + 1.221 +<tr valign="top" class="whs13"> 1.222 +<td colspan="1" rowspan="1" class="whs18"> 1.223 +<p class=Table 1.224 + style="margin-right: 2px;">Length Width</td> 1.225 +<td colspan="1" rowspan="1" class="whs19"> 1.226 +<p class=Table>Specifies the number of bits in the length register. The 1.227 + length register holds a count value that determines the number of DMA 1.228 + transactions to be performed. Supported values are 1 to 32. The default 1.229 + is 16. The default value permits up to 65535 (0XFFFF) memory transactions 1.230 + to be performed.</td></tr> 1.231 +<script language='JavaScript'><!-- 1.232 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>"); 1.233 +//--></script> 1.234 +</table> 1.235 + 1.236 + 1.237 + 1.238 +<p><span style="font-weight: bold;"><B>Note</B></span>: If the data sheet fails 1.239 + to open, click <img src="qm_icon.jpg" x-maintain-ratio="TRUE" width="14px" height="16px" border="0" class="img_whs20"> on the Available Components toolbar, and 1.240 + then click the note button.</p> 1.241 + 1.242 +<script type="text/javascript" language="JavaScript"> 1.243 +<!-- 1.244 + if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) 1.245 + document.write("<div id='tooltip' class='WebHelpPopupMenu'></div>"); 1.246 +//--> 1.247 +</script><script type="text/javascript" language="javascript1.2"> 1.248 +<!-- 1.249 +if (window.writeIntopicBar) 1.250 + writeIntopicBar(0); 1.251 +//--> 1.252 +</script> 1.253 +</body> 1.254 +</html>