home .. forth .. misc mail list archive ..

misc cpu class in silicon valley


Hi folks-

The attached html document describes a journey that we're starting on here.
I'm open to others participating, and Jeff seems willing to try setting up
a video feed for the meetings. Come on in, the water's fine.

-John
 
Title: Guided Exploration of FPGA-based CPU Designs

Guided Exploration of two FPGA-based CPU Designs

led by John Rible, SandPiper Technology

I’d like to see more people experimenting/playing with small CPU designs, extending our knowledge of what is possible with ‘minimal’ amounts of hardware and software. Toward that end, I propose to lead an exploration of two CPUs, my QS5 Baby-RISC and a 16-bit implementation of Chuck Moore’s dual-stack architecture. Both of these CPUs can be implemented in a small, low-cost, FPGA connected to a PC’s parallel port. Of course, the software running on them will be Forth. We can meet monthly during the SVFIG morning session for as long as you are interested, with lots of work and electronic communication in between.

The content of the monthly ‘classes’ will be up to you, but I’m interested in discussing/modifying almost any aspect of the combined hardware-software system.

Okay, now for some of the details

Prentice-Hall has published a Xilinx FPGA lab book and win95/NT software which includes a coupon for an XESS FPGA board. Adding the cost of a power supply, you can be doing experiments for less than $250. The MAJOR drawback to the Xilinx software is that it wants 350MB of your hard disk to install, although it ONLY leaves 150MB there! MAJOR BLOATWARE!  Other limitations are the lack of human support from Xilinx (they get no royalties from Prentice Hall!) and the limited number of installs you can do (it’s a node-locked license with automatic registration through their web page, limited to 3 different drive IDs-don't reformat your drive).

The designs for the two CPUs are in the HDL (hardware design language) Verilog, and the design software will translate this to gates without having to write schematics (logic synthesis). I strongly recommend the book HDL Chip Design as a Rosetta stone, as it shows the Verilog and VHDL (the other major HDL) code for many common components along with the synthesized logic.

The software tools for the chips are in Forth, and will run under either Win32Forth or SwiftForth. The QS5 has a target assembler, dissasembler, metacompiler, and a few tools, plus the Forth source of e4th for the target. I’m not sure what tools Dr. Ting has for the P16, but in the best Forth tradition, we’ll develop what we need as we go.

Getting started

Before the May 22nd meeting: purchase, install, and get familiar with the Xilinx software and XESS board (by working through some of the lab examples) and install one of the Forth systems. Send me an email when you start, and I'll add you to a class email list so that we can do this collaboratively.

Required materials

Xilinx Student Edition 1.5, 1999, Prentice-Hall, ISBN 0-13-020586-9 (Computer Literacy, $87+tax).

XESS XS40-005XL Board, $119 includes shipping, from XESS using the coupon in Xilinx Student Edition.

Win32Forth, free on the FIG page or SwiftForth, about $400 from Forth, Inc.

These all run on a PC under Windows 95 or NT, and want 64MB of RAM (need 32MB) and LOTS of disk space.

Recommended

HDL Chip Design, Douglas J. Smith, 1998, Doone Publications, ISBN 0-9651934-3-8 (Computer Literacy, $65+tax).

Contacting me

John Rible, voice: 831.458.0399, fax: 831.471.0175, email: jrible@sandpipers.com


      John Rible      \ SandPiper Technology             voice: 831-458-0399
                      \ hardware, software and so forth... fax: 831-471-0175
jrible@sandpipers.com \ 317 California Street, Santa Cruz,  CA  95060-4215