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

📄 risc8doc.html

📁 一个VHDL实现的RISC8位单片机
💻 HTML
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>The RISC8 Verilog core</TITLE>
</HEAD>
<BODY LINK="#0000ff" VLINK="#800080">

<B><FONT FACE="Arial" SIZE=5><P ALIGN="CENTER">RISC8 Core</P>
</FONT><FONT FACE="Arial"><P ALIGN="CENTER">Version 1.0</P>
</B></FONT><FONT FACE="Times"><P ALIGN="CENTER">Tom Coonan</P>
<P ALIGN="CENTER">tcoonan@mindspring.com</P>
</FONT><FONT SIZE=2><P ALIGN="JUSTIFY">1&#9;Introduction&#9;</FONT><A HREF="#_Toc469736944">*</A> </P>
<FONT SIZE=2><P>2&#9;Quick Start&#9;</FONT><A HREF="#_Toc469736945">*</A></P>
<FONT SIZE=2><P>3&#9;System Architecture&#9;</FONT><A HREF="#_Toc469736946">*</A></P>
<FONT SIZE=2><P>4&#9;Compatibility with Microchip 16C57 Devices&#9;</FONT><A HREF="#_Toc469736947">*</A></P>
<FONT SIZE=2><P>5&#9;Module Hierarchy&#9;</FONT><A HREF="#_Toc469736948">*</A></P>
<FONT SIZE=2><P>6&#9;Synthesis&#9;</FONT><A HREF="#_Toc469736949">*</A></P>
<FONT SIZE=2><P>7&#9;CPU Module&#9;</FONT><A HREF="#_Toc469736950">*</A></P>
<FONT SIZE=2><P>8&#9;Memory Interfaces&#9;</FONT><A HREF="#_Toc469736951">*</A></P>
<FONT SIZE=2><P>9&#9;ALU&#9;</FONT><A HREF="#_Toc469736952">*</A></P>
<FONT SIZE=2><P>10&#9;Instruction Decoder&#9;</FONT><A HREF="#_Toc469736953">*</A></P>
<FONT SIZE=2><P>11&#9;Register File&#9;</FONT><A HREF="#_Toc469736954">*</A></P>
<FONT SIZE=2><P>12&#9;Firmware Development&#9;</FONT><A HREF="#_Toc469736955">*</A></P>
<FONT SIZE=2><P>13&#9;Expansion&#9;</FONT><A HREF="#_Toc469736956">*</A></P>
<FONT SIZE=2><P>14&#9;Test Programs&#9;</FONT><A HREF="#_Toc469736957">*</A></P>
<FONT SIZE=2><P>15&#9;Bugs&#9;</FONT><A HREF="#_Toc469736958">*</A></P>
<B><FONT FACE="Arial" SIZE=4><P>&nbsp;</P>
<P><A NAME="_Toc469736944">1&#9;Introduction</A></P>
</B></FONT><FONT SIZE=2><P>The Free-RISC8 is a Verilog implementation of a simple 8-bit processor. The RISC8 is binary code compatible with the Microchip 16C57 processor. Code may be developed and debugged using tools available from a number of 3<SUP>rd</SUP> Party tool developers. Programs existing for the 16C57 may be ported to the RISC8 for use in an FPGA, etc.</P>
<P>The design is synthesizable and has been used by various people in the past within ASICs as well as FPGAs. The package consists of the following Verilog and C files:</P></FONT>
<TABLE BORDER CELLSPACING=1 CELLPADDING=7 WIDTH=547>
<TR><TD WIDTH="14%" VALIGN="TOP">
<P ALIGN="CENTER"><B><I><FONT SIZE=2>File</B></I></FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<B><I><FONT SIZE=2><P ALIGN="CENTER">Description</B></I></FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>test.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>Top-level testbench, including the behavioral Verilog program memory</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>cpu.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>Top-level synthesizable module.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>idec.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>The Instruction Decoder. This module is instanced underneath the cpu module.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>alu.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>The ALU. This module is instanced underneath the cpu module.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>regs.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>The Register File. This module is instanced underneath the cpu module.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>exp.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>Optional Expansion Module. This is an example module that shows how an expansion circuit is added onto the design. The module supplied with this release implements a very simple DDS (Direct Digital Synthesis) circuit that is used for the DDS demo.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>dram.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>Memory model for Register File 慏抋ta memory (it抯 a Synchronous RAM)</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>pram.v</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>Memory model for Program Memory 慞抋ta memory (it抯 a Synchronous RAM)</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>hex2v.c,</P>
<P>hex2v.exe</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>A C program that translates Intel HEX format data into the Verilog $readmemh compatible .ROM file.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>basic.asm, basic.hex,</P>
<P>basic.rom</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>The "Basic Confidence" test program which exercises all the instructions.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>dds.asm,</P>
<P>dds.hex,</P>
<P>dds.rom</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>A demo that uses the DDS circuit. The demo outputs an FSK "burst".</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>runit</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>A script containing the Verilog command line required.</FONT></TD>
</TR>
<TR><TD WIDTH="14%" VALIGN="TOP">
<FONT SIZE=2><P>risc8.pdf</FONT></TD>
<TD WIDTH="86%" VALIGN="TOP">
<FONT SIZE=2><P>This file.</FONT></TD>
</TR>
</TABLE>

<FONT SIZE=2><P>&nbsp;</P>
</FONT><B><FONT FACE="Arial" SIZE=4><P><A NAME="_Toc469736945">2&#9;Quick Start</A></P>
</B></FONT><FONT SIZE=2><P>Extract all the files from the supplied ZIP into a new directory. Once all the files have been extracted from the archive, invoke your Verilog simulator specifying all the Verilog files (the 憆unit

⌨️ 快捷键说明

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