CPU Design HOWTO PDF
CPU Design HOWTO PDF
CPU Design HOWTO PDF
Table of Contents
CPU Design HOWTO.......................................................................................................................................1
Al Dev (Alavoor Vasudevan) alavoor@yahoo.com...............................................................................1
1. Introduction..........................................................................................................................................1
2. What is IP ?..........................................................................................................................................1
3. CPU Museum and Silicon Zoo............................................................................................................1
4. CPU Design and Architecture.............................................................................................................1
5. Fabrication, Manufacturing CPUs ......................................................................................................1
6. Super Computer Architecture..............................................................................................................2
7. Neural Network Processors..................................................................................................................2
8. Related URLs.......................................................................................................................................2
9. Other Formats of this Document..........................................................................................................2
10. Copyright...........................................................................................................................................2
1. Introduction..........................................................................................................................................2
2. What is IP ?..........................................................................................................................................3
2.1 Free CPU List ..................................................................................................................................3
2.2 Commercial CPU List ......................................................................................................................4
3. CPU Museum and Silicon Zoo............................................................................................................5
3.1 CPU Museum ...................................................................................................................................5
3.2 How Transistors work ......................................................................................................................5
3.3 How a Transistors handles information............................................................................................6
3.4 Displaying binary information .........................................................................................................6
3.5 What is a Semiconductor? .............................................................................................................7
Anatomy of Transistor ..............................................................................................................7
A Working Transistor ...............................................................................................................7
Impact of Transistors ................................................................................................................7
4. CPU Design and Architecture............................................................................................................8
4.1 CPU Design .....................................................................................................................................8
4.2 Online Textbooks on CPU Architecture ..........................................................................................8
4.3 University Lecture notes on CPU Architecture ...............................................................................9
4.4 CPU Architecture .............................................................................................................................9
4.5 Usenet Newsgroups for CPU design................................................................................................9
5. Fabrication, Manufacturing CPUs ...................................................................................................10
5.1 Foundry Business is in Billions of dollars!!....................................................................................10
5.2 Fabrication of CPU..........................................................................................................................10
6. Super Computer Architecture............................................................................................................11
6.1 Main Architectural Classes..............................................................................................................11
6.2 SISD machines ................................................................................................................................11
6.3 SIMD machines...............................................................................................................................12
6.4 MISD machines...............................................................................................................................12
6.5 MIMD machines..............................................................................................................................12
Shared memory systems...........................................................................................................12
Distributed memory systems....................................................................................................13
6.6 Distributed Processing Systems.......................................................................................................13
6.7 ccNUMA machines..........................................................................................................................13
7. Neural Network Processors................................................................................................................14
8. Related URLs.....................................................................................................................................15
9. Other Formats of this Document........................................................................................................15
9.1 Acrobat PDF format.......................................................................................................................16
i
Table of Contents
9.2 Convert Linuxdoc to Docbook format ...........................................................................................16
9.3 Convert to MS WinHelp format ....................................................................................................17
9.4 Reading various formats ................................................................................................................17
10. Copyright.........................................................................................................................................18
ii
CPU is the "brain" of computer and is a very vital component of computer system and is like a "cousin
brother" of operating system (Linux or Unix). This document helps companies, businesses, universities and
research institutes to design, build and manufacture CPUs. Also the information will be useful for university
students of U.S.A and Canada who are studying computer science/engineering. The document has URL links
which helps students understand how a CPU is designed and manufactured. Perhaps in near future there will
be a GNU/GPLed CPU running Linux, Unix, Microsoft Windows, Apple Mac and BeOS operating systems!!
1. Introduction
2. What is IP ?
2.1 Free CPU List
2.2 Commercial CPU List
10. Copyright
1. Introduction
This document provides you comprehensive list of URLs for CPU Design and fabrication. Using this
information students, companies, universities or businesses can make new CPUs which can run Linux/Unix
operating systems.
In olden days, chip vendors were also the IP developers and the EDA tools developers. Nowadays, we have
specialized fab companies (TSMC http://www.tsmc.com), IP companies (ARM http://www.arm.com, MIPS
http://www.mips.com, Gray Research LLC http://cnets.sourceforge.net/grllc.html ), and tools companies (
Mentor http://www.mentor.com, Cadence http://www.cadence.com, etc.), and combinations of these (Intel).
You can buy IP bundled with hardware (Intel), bundled with your tools (EDA companies), or separately (IP
providers).
Enter the FPGA vendors (Xilinx http://www.xilinx.com, Altera http://www.altera.com). They have an
opportunity to seize upon a unique business model.
VA Linux systems http://www.valinux.com builds the entire system and perhaps in future will design and
build CPUs for Linux.
Visit the following CPU design sites:
FPGA CPU Links http://www.fpgacpu.org/links.html
FPGA Main site http://www.fpgacpu.org
6. Super Computer Architecture
2. What is IP ?
What is IP ? IP is short for Intellectual Property. More specifically, it is a block of logic that can be used in
making ASIC's and FPGA's. Examples of "IP Cores" are, UART's, CPU's, Ethernet Controllers, PCI
Interfaces, etc. In the past, quality cores of this nature could cost anywhere from US$5,000 to more than
US$350,000. This is way too high for the average company or individual to even contemplate using
Hence, the FreeIP project.
Initially the FreeIP project will focus on the more complex cores, like CPU's and Ethernet controllers. Less
complex cores might follow.
The FreeIP project is an effort to make quality IP available to anyone.
Visit the following sites for IP cores
Open IP org http://www.openip.org
Free IP org ASIC and FPGA cores for masses http://www.freeip.com
FPGA Main site http://www.fpgacpu.org
J
O
H
N
0100
0100
0100
0100
1010
1111
1000
1110
More complex information can be created such as graphics, audio and video using the binary, or on/off action
of transistors.
Scroll down to the Binary Chart below to see the complete alphabet in binary.
Binary
Character
Binary
0100 0001
0100 1110
0100 0010
0100 1111
0100 0011
0101 0000
0100 0100
0101 0001
0100 0101
0101 0010
0100 0110
0101 0011
0100 0111
0101 0100
0100 1000
0101 0101
0100 1001
0101 0110
0100 1010
0101 0111
0100 1011
0101 1000
0100 1100
0101 1001
0100 1101
0101 1010
Character
Binary Chart
for Alphabets
Anatomy of Transistor
Semiconductors and flow of electricity
Adding certain types of impurities to the silicon in a transistor changes its crystalline structure and enhances
its ability to conduct electricity. Silicon containing boron impurities is called ptype silicon p for positive
or lacking electrons. Silicon containing phosphorus impurities is called ntype silicon n for negative or
having a majority of free electrons
A Working Transistor
A Working transistor The On/Off state of Transistor
Transistors consist of three terminals; the source, the gate and the drain.
In the ntype transistor, both the source and the drain are negativelycharged and sit on a positivelycharged
well of psilicon.
When positive voltage is applied to the gate, electrons in the psilicon are attracted to the area under the gate
forming an electron channel between the source and the drain.
When positive voltage is applied to the drain, the electrons are pulled from the source to the drain. In this
state the transistor is on.
If the voltage at the gate is removed, electrons aren't attracted to the area between the source and drain. The
pathway is broken and the transistor is turned off.
Impact of Transistors
The Impact of Transistors How microprocessors affect our lives.
The binary function of transistors gives micro processors the ability to perform many tasks; from simple
word processing to video editing. Micro processors have evolved to a point where transistors can execute
hundreds of millions of instructions per second on a single chip. Automobiles, medical devices, televisions,
computers and even the Space Shuttle use microprocessors. They all rely on the flow of binary information
made possible by the transistor.
10
11
12
13
14
8. Related URLs
Visit following locators which are related
Color Vim editor http://metalab.unc.edu/LDP/HOWTO/VimHOWTO.html
Source code control system http://metalab.unc.edu/LDP/HOWTO/CVSHOWTO.html
Linux goodies main site http://www.aldev.8m.com and mirrors at http://aldev0.webjump.com,
angelfire, geocities, virtualave, 50megs, theglobe, NBCi, Terrashare, Fortunecity, Freewebsites,
Tripod, Spree, Escalix, Httpcity, Freeservers.
8. Related URLs
15
bash$
bash$
bash$
bash$
bash$
bash$
bash$
bash$
bash$
man sgml2latex
sgml2latex filename.sgml
man dvips
dvips o filename.ps filename.dvi
distill filename.ps
man ghostscript
man ps2pdf
ps2pdf input.ps output.pdf
acroread output.pdf &
Or you can use Ghostscript command ps2pdf. ps2pdf is a workalike for nearly all the functionality of
Adobe's Acrobat Distiller product: it converts PostScript files to Portable Document Format (PDF) files.
ps2pdf is implemented as a very small command script (batch file) that invokes Ghostscript, selecting a
special "output device" called pdfwrite. In order to use ps2pdf, the pdfwrite device must be included in the
makefile when Ghostscript was compiled; see the documentation on building Ghostscript for details.
16
And you may have to manually edit some of the minor errors after running the perl script. For e.g. you may
need to put closing tag < /Para> for each < Listitem>
Then use the tool HtmlToHlp. You can also use sgml2rtf and then use the RTF files for generating winhelp
files.
And resize the window with mouse. To navigate use Arrow keys, Page Up, Page Down keys, also you can
use 'f', 'd', 'u', 'c', 'l', 'r', 'p', 'n' letter keys to move up, down, center, next page, previous page etc. To turn off
expert menu press 'x'.
You can read postscript file using the program 'gv' (ghostview) or 'ghostscript'. The ghostscript program is in
ghostscript*.rpm package and gv program is in gv*.rpm package in Redhat Linux which can be located
through ControlPanel | Applications | Graphics menu buttons. The gv program is much more user friendly
than ghostscript. Also ghostscript and gv are available on other platforms like OS/2, Windows 95 and NT,
you view this document even on those platforms.
Get ghostscript for Windows 95, OS/2, and for all OSes from http://www.cs.wisc.edu/~ghost
To read postscript document give the command
gv howto.ps
ghostscript howto.ps
You can read HTML format document using Netscape Navigator, Microsoft Internet explorer, Redhat Baron
Web browser or any of the 10 other web browsers.
You can read the latex, LyX output using LyX a XWindows front end to latex.
17
10. Copyright
Copyright policy is GNU/GPL as per LDP (Linux Documentation project). LDP is a GNU/GPL project.
Additional restrictions are you must retain the author's name, email address and this copyright notice on all
the copies. If you make any changes or additions to this document then you should intimate all the authors of
this document.
10. Copyright
18