OpenCores
URL https://opencores.org/ocsvn/ao68000/ao68000/trunk

Subversion Repositories ao68000

[/] [ao68000/] [trunk/] [doc/] [doxygen/] [html/] [page_verification.html] - Rev 16

Go to most recent revision | Compare with Previous | Blame | View Log

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ao68000: Processor verification</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Design&#160;Unit&#160;List</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="index.html">index</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<h1>Processor verification </h1>  </div>
</div>
<div class="contents">
<p>The <a class="el" href="classao68000.html" title="ao68000 top level module.">ao68000</a> IP Core is verified with the WinUAE MC68000 software emulator. The verification is based on the idea that given the same contents of:</p>
<ul>
<li>every register in the processor,</li>
<li>all memory locations that are read during execution,</li>
</ul>
<p>the result of execution, that is the contents of:</p>
<ul>
<li>every register in the processor,</li>
<li>all memory locations written during execution,</li>
</ul>
<p>should be the same for the IP Core and the software emulator.</p>
<h3>Verification procedure</h3>
<p>The verification is performed in the following way:</p>
<ul>
<li>the WinUAE MC68000 software emulator is compiled. The sources of the emulator are located at: <code>./tests/compare_with_winuae/winuae/</code>. The compiled binary is located at: <code>./tmp/compare_with_winuae/winuae/ao</code>.</li>
<li>the <a class="el" href="classao68000.html" title="ao68000 top level module.">ao68000</a> testbench is compiled. The sources of the testbench are located at: <code>./tests/compare_with_winuae/verilog/</code>. The compiled Icarus Verilog script is located at: <code>./tmp/compare_with_winuae/verilog/tb_ao68000</code>.</li>
<li>Both of the above executable programs accept arguments that specify the values of:<ul>
<li>memory locations that are read during execution,</li>
<li>the contents of every register in the processor.</li>
</ul>
</li>
<li>The result of executing both of the programs is the contents of:<ul>
<li>memory locations written during execution,</li>
<li>the contents of every register in the processor after execution.</li>
</ul>
</li>
<li>The tool <code>./sw/ao68000_tool/</code> (<a class="el" href="page_tool.html">ao68000_tool documentation</a>) is used to run both of the executable programs and compare the result of execution. The tool is capable of executing multiple concurrent simulations in order to utilize current multicore processors.</li>
</ul>
<p>The makefile with instructions to perform the above operations is located at: <code>./Makefile</code>.</p>
<h3>Requirements</h3>
<ul>
<li>Icarus Verilog simulator (<a href="http://www.icarus.com/eda/verilog/">http://www.icarus.com/eda/verilog/</a>) is required to compile the <code>tb_ao68000</code> testbench/wrapper,</li>
<li>Access to Altera Quartus II instalation (directory eda/sim_lib/) is required to compile the <code>tb_ao68000</code> testbench/wrapper,</li>
<li>GCC (<a href="http://gcc.gnu.org">http://gcc.gnu.org</a>) is required to compile the WinUAE MC68000 software emulator,</li>
<li>Java SDK (<a href="http://java.sun.com">http://java.sun.com</a>) is required to compile the <code>ao68000_tool</code> (<a class="el" href="page_tool.html">ao68000_tool documentation</a>),</li>
<li>Java runtime (<a href="http://java.sun.com">http://java.sun.com</a>) is required to run the <code>ao68000_tool</code> (<a class="el" href="page_tool.html">ao68000_tool documentation</a>). </li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sat Jan 15 2011 22:20:15 for ao68000 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.