⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 st20si18.htm

📁 ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片机顶盒软件的开发平台,2.0.5版本,国内找不到的.在国外论坛上花了N天才找到!
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="book_html">
<meta name="LASTUPDATED" content="12/04/03 16:05:21">
<title>8.5.4 Cycle time definition file  </title>

<STYLE TYPE="text/css">
<!--
	span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>

</head>

<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">

<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>

<table width="331" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"> </a></td>
    <td><a href="st20si17.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"> </a></td>
    <td><a href="st20si19.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"> </a></td>
    <td><a href="a_refmaa.htm"><img src="images/navidx.gif" width="84" height="23"
    border="0" alt="INDEX"> </a></td>
  </tr>
</table>

<p><br clear="all">
</p>

<hr align="left">

<blockquote>
<h3>
  <a name="1205584"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">8.5.4 	 Cycle time definition file</font>
</h3>


<p>
  <a name="1205585"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The simulator needs to know instruction cycle times and memory bus widths and access times in order to calculate the number of cycles each instruction takes. The instruction cycle times are the additional cycles taken by an instruction on top of any memory cycles. A set of default values are built into the simulator, which assume normal instruction times and on-chip memory. These default values can be overridden by providing a cycle time definition file.</font>
</p>


<p>
  <a name="1207449"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">By convention, cycle time definition files have the extension <font size=2 face=Courier><strong>.cdf</strong></font>.</font>
</p>


<h5>
  <a name="1207467"> </a><i><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">Generating the default cycle time definition file</font></i>
</h5>


<p>
  <a name="1205605"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The <font size=2 face=Courier><strong>st20sim</strong></font> command line option <font  face="Verdana, Arial, Helvetica, sans-serif"><b>dumpstatdef</b></font> generates a file containing the default cycle times, memory access times and bus widths. This is called a cycle time definition file. The purpose of this file is:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1205606"> </a>to see what default values are being used,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1205607"> </a>to act as a template for editing the file to use as a customized cycle time definition file, as described in the next section.</font></p>
</ul>

<p>
  <a name="1205608"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">For example:</font>
</p>


<a name="1205609"> </a><font size=2 face=Courier><strong>st20sim -dumpstatdef st20c1.cdf<br></strong></font>



<p>
  <a name="1205610"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">This example generates the output file <font size=2 face=Courier><strong>st20c1.cdf</strong></font> containing the cycle times and bus widths of the default memory address ranges.</font>
</p>


<h5>
  <a name="1205612"> </a><i><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">Supplying a customized cycle time definition file</font></i>
</h5>


<p>
  <a name="1205613"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The default cycle time definitions may not be appropriate for generating accurate statistics. In particular, the application needs to use a different memory arrangement, with different address ranges, bus widths and speeds. These details can be supplied in a customized cycle time definition file, using the <font size=2 face=Courier><strong>st20sim</strong></font> option <font size=2 face=Courier><strong>statdef</strong></font>.</font>
</p>


<p>
  <a name="1205614"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In order for the <font  face="Verdana, Arial, Helvetica, sans-serif"><b>statdef</b></font> option to have any effect, it must be used in conjunction with the<font size=2 face=Courier><strong> stat</strong></font> option or the application code must contain statistics tags, to enable the generation of cycle time statistics, as described in <a href="st20si17.htm#1205569"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Section

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -