Line 1... |
Line 1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html lang="en"><head><title>$Revision: 1.1 $: tv80 Core Documentation</title>
|
<html lang="en"><head><title>$Revision: 1.2 $: tv80 Core Documentation</title>
|
<meta http-equiv="Expires" content="Fri, 15 Oct 2004 22:04:00 +0000">
|
<meta http-equiv="Expires" content="Wed, 03 Nov 2004 21:11:35 +0000">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta name="description" content="tv80 Core Documentation">
|
<meta name="description" content="tv80 Core Documentation">
|
<meta name="keywords" content="private, XML, Extensible Markup Language">
|
<meta name="keywords" content="private, XML, Extensible Markup Language">
|
<meta name="generator" content="xml2rfc v1.26 (http://xml.resource.org/)">
|
<meta name="generator" content="xml2rfc v1.26 (http://xml.resource.org/)">
|
<style type='text/css'>
|
<style type='text/css'>
|
Line 107... |
Line 107... |
</style>
|
</style>
|
</head>
|
</head>
|
<body>
|
<body>
|
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> TOC </a></td></tr></table>
|
<table summary="layout" cellpadding="0" cellspacing="2" class="bug" align="right"><tr><td class="bug"><a href="#toc" class="link2"> TOC </a></td></tr></table>
|
<table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">
|
<table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">
|
<tr><td class="header">$Revision: 1.1 $</td><td class="header">G. Hutchison</td></tr>
|
<tr><td class="header">$Revision: 1.2 $</td><td class="header">G. Hutchison</td></tr>
|
<tr><td class="header"> </td><td class="header">OpenCores.org</td></tr>
|
<tr><td class="header"> </td><td class="header">OpenCores.org</td></tr>
|
<tr><td class="header"> </td><td class="header">October 15, 2004</td></tr>
|
<tr><td class="header"> </td><td class="header">October 2004</td></tr>
|
</table></td></tr></table>
|
</table></td></tr></table>
|
<div align="right"><span class="title"><br />tv80 Core Documentation</span></div>
|
<div align="right"><span class="title"><br />tv80 Core Documentation</span></div>
|
|
|
<h3>Abstract</h3>
|
<h3>Abstract</h3>
|
|
|
Line 140... |
Line 140... |
Timeout control (0x82)<br />
|
Timeout control (0x82)<br />
|
<a href="#anchor8">2.2.4</a>
|
<a href="#anchor8">2.2.4</a>
|
Max timeout (0x84, 0x83)<br />
|
Max timeout (0x84, 0x83)<br />
|
<a href="#anchor9">2.2.5</a>
|
<a href="#anchor9">2.2.5</a>
|
Interrupt countdown (0x90)<br />
|
Interrupt countdown (0x90)<br />
|
<a href="#anchor10">2.3</a>
|
<a href="#anchor10">2.2.6</a>
|
|
Checksum value (0x91)<br />
|
|
<a href="#anchor11">2.2.7</a>
|
|
Checksum accumulate (0x92)<br />
|
|
<a href="#anchor12">2.2.8</a>
|
|
Increment on read (0x93)<br />
|
|
<a href="#anchor13">2.3</a>
|
Tool Chain<br />
|
Tool Chain<br />
|
<a href="#anchor11">2.4</a>
|
<a href="#anchor14">2.4</a>
|
Tests<br />
|
Tests<br />
|
<a href="#tvs80">2.4.1</a>
|
<a href="#tvs80">2.4.1</a>
|
tvs80 test<br />
|
tvs80 test<br />
|
<a href="#rfc.references1">3.</a>
|
<a href="#rfc.references1">3.</a>
|
References<br />
|
References<br />
|
Line 238... |
Line 244... |
<p>
|
<p>
|
When set, starts a countdown (in clocks) until assertion of
|
When set, starts a countdown (in clocks) until assertion of
|
the INT_N signal.
|
the INT_N signal.
|
|
|
</p>
|
</p>
|
<a name="rfc.section.2.3"></a><h4><a name="anchor10">2.3</a> Tool Chain</h4>
|
<a name="rfc.section.2.2.6"></a><h4><a name="anchor10">2.2.6</a> Checksum value (0x91)</h4>
|
|
|
|
<p>This register holds the checksum value of all data
|
|
written to the accumulate register. The checksum is a simple
|
|
twos-complement checksum, so it can be compared with a CPU-generated
|
|
checksum.
|
|
</p>
|
|
<p>This register is readable and writeable. Writing the register sets
|
|
the current checksum value.
|
|
</p>
|
|
<a name="rfc.section.2.2.7"></a><h4><a name="anchor11">2.2.7</a> Checksum accumulate (0x92)</h4>
|
|
|
|
<p>This write-only register adds the written value to the value
|
|
contained in the Checksum Value register.
|
|
</p>
|
|
<a name="rfc.section.2.2.8"></a><h4><a name="anchor12">2.2.8</a> Increment on read (0x93)</h4>
|
|
|
|
<p>This register increments every time it is read, so reading it
|
|
repeatedly generates an incrementing sequence. It can be reset
|
|
by writing it to a new starting value.
|
|
</p>
|
|
<a name="rfc.section.2.3"></a><h4><a name="anchor13">2.3</a> Tool Chain</h4>
|
|
|
<p>The minimum toolchain required to simulate the tv80 is the
|
<p>The minimum toolchain required to simulate the tv80 is the
|
<a class="info" href="#cver">CVer<span>Vanvick, A., GPL Cver Simulator, .</span></a>[3] Verilog simulator, and the
|
<a class="info" href="#cver">CVer<span>Vanvick, A., GPL Cver Simulator, .</span></a>[3] Verilog simulator, and the
|
<a class="info" href="#sdcc">SDCC<span>, Small Device C Compiler, .</span></a>[2] compiler/assembler/linker. In
|
<a class="info" href="#sdcc">SDCC<span>, Small Device C Compiler, .</span></a>[2] compiler/assembler/linker. In
|
addition, to run the <a class="info" href="#tvs80">tvs80<span>tvs80 test</span></a> instruction
|
addition, to run the <a class="info" href="#tvs80">tvs80<span>tvs80 test</span></a> instruction
|
test suite, the <a class="info" href="#dosbox">DOSBox<span>, DOSBox, .</span></a>[4] DOS emulator
|
test suite, the <a class="info" href="#dosbox">DOSBox<span>, DOSBox, .</span></a>[4] DOS emulator
|
is required.
|
is required.
|
|
|
</p>
|
</p>
|
<a name="rfc.section.2.4"></a><h4><a name="anchor11">2.4</a> Tests</h4>
|
<a name="rfc.section.2.4"></a><h4><a name="anchor14">2.4</a> Tests</h4>
|
|
|
<p>Most of the tests in the tv80 environment are written in C, and should
|
<p>Most of the tests in the tv80 environment are written in C, and should
|
be compiled with the <a class="info" href="#sdcc">sdcc<span>, Small Device C Compiler, .</span></a>[2] compiler.
|
be compiled with the <a class="info" href="#sdcc">sdcc<span>, Small Device C Compiler, .</span></a>[2] compiler.
|
|
|
</p>
|
</p>
|