document/dma.htm

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