Lecture 2: Introduction to the Von Neumann Architecture
A computer can be seen as a machine that manipulates coded data and responds to events occurring in the external world. This is called the stored-program or Von Neumann machine architecture. In this lecture, our primary purpose is to develop an understanding of this machine architecture.
Learning Outcomes:
On completion of this lecture, you will be able to:
A simple representation of a computer consists of a processor connected to some memory and some input and output (I/O) devices by a bus or data highway. This design principle separates special functions into special purpose devices.
The CPU (Central Processing Unit) is the unit specialised in executing instructions.
Memory has the property to retrieve information in a particular way. Data and programs are both stored in memory in binary. Two of the most commonly used types of memory are RAM (Random Access Memory) and ROM (Read Only Memory). RAM stores the data and general-purpose programs that the machine executes. RAM is temporary: its content can be changed at any time and it is erased when power to the computer is turned off. ROM is permanent; it can retain its content even when the machine is powered-off and is used to store programs for the initial boot-up of the machine.
Peripheral interfaces mediate between the outside world and the interior world of the computer. They allow the computer to communicate to the user and to I/O devices.
Information is moved across the different units via a bus.
Fig. 2.1 Representation of the Von Neumann machine architecture
The Concept of Stored Program:The core of the Von Neumann architecture states that the memory is used to store both data and programs. In order for a CPU to accomplish meaningful work, it must have two inputs: instructions and data. Instructions tell the CPU what actions need to be performed on the data. Instructions are represented with binary codes just like data. In fact, the CPU makes no distinction about the whether it is storing instructions or data in memory. This concept is called the stored-program concept.
Early computing devices were not known for their flexibility, as the program that each device executed tended to be built into the control unit as a part of the machine. One approach used to gain flexibility in early electronic computers was to design the control units so they could be conveniently rewired. A breakthrough came with the realization that the program, just like data, can be coded and stored in main memory. If the control unit is designed to extract the program from memory, decode the instructions, and execute them, a computer's program can be changed merely by changing the contents of the computer's memory instead of rewiring the control unit. This stored-program concept has become the standard approach used today. To apply it, a machine is designed to recognize certain bit patterns as representing certain instructions.
The Central Processing Unit (CPU) is where all the work is done. It contains the hardware resources required to execute instructions. These resources are used by the CPU’s instruction set.
The CPU reads the sequence of commands that make up a program one by one from memory and executes them.
The CPU functions by following a cycle of fetching an instruction, decoding it, and executing it. This process is known as the fetch-decode-execute cycle. The cycle begins when an instruction is transferred from memory to the CPU along the data bus. Then the unique bit patterns that make up the machine-language are extracted and decoded. A decoder recognises which operation the bit pattern represents and activates the correct circuitry to perform the operation. Once the operation is performed, the cycle begins again with the next instruction.
This is the set of instructions that a particular make of CPU can recognise.
The instruction set is finite since it corresponds to the circuitry that the hardware provides.
A machine language program is a set of instructions which utilise the CPU's resources to perform some specified tasks on data.
Memory is simply a mechanism in which information can be stored. The only operations that can be performed on memory are reading information from it, or writing information to it.
Memory is used to store everything—data and instructions—that has to be accessible to the CPU.
Memory contains:
Peripherals are devices external to the computer system. They are connected to the system through gateways called interfaces.
Some peripherals include Terminals, Disk Drives, Printers, but there are many different ones in industrial applications.
A telephone exchange could be considered a peripheral if it is controlled by the computer.
2.6 Embedded Computers
A computer wholly contained within a machine, e.g. mobile phone, is said to be ‘embedded.’
The market for embedded computers is larger than for ‘ordinary’ computers.
Energy consumption is often very important for embedded computers.
2.7 Microprocessor
A Microprocessor is simply a CPU on a small number (usually 1) of integrated circuit packages. Often called a Microprocessor Unit (MPU). Abbreviated μP.
In conjunction with memory, power supply, and the necessary peripherals it can be said to be a microcomputer.
2.8 Microcomputer
A Single-Chip Microcomputer is a complete computer system on one integrated circuit package - it has a CPU, memory and interfaces all on the chip.
2.9 Conclusion
In this lecture we have introduced a simple representation of the Von Neumann machine architecture and outlined the concept of stored program. Other important notions introduced include:
We finally differentiated embedded computers, microprocessor and microcomputer.
REFERENCES:
Source: http://www.mee.tcd.ie/~assambc/3d1_l02n.doc
Web site to visit: http://www.mee.tcd.ie/
Author of the text: indicated on the source document of the above text
If you are the author of the text above and you not agree to share your knowledge for teaching, research, scholarship (for fair use as indicated in the United States copyrigh low) please send us an e-mail and we will remove your text quickly. Fair use is a limitation and exception to the exclusive right granted by copyright law to the author of a creative work. In United States copyright law, fair use is a doctrine that permits limited use of copyrighted material without acquiring permission from the rights holders. Examples of fair use include commentary, search engines, criticism, news reporting, research, teaching, library archiving and scholarship. It provides for the legal, unlicensed citation or incorporation of copyrighted material in another author's work under a four-factor balancing test. (source: http://en.wikipedia.org/wiki/Fair_use)
The information of medicine and health contained in the site are of a general nature and purpose which is purely informative and for this reason may not replace in any case, the council of a doctor or a qualified entity legally to the profession.
The texts are the property of their respective authors and we thank them for giving us the opportunity to share for free to students, teachers and users of the Web their texts will used only for illustrative educational and scientific purposes only.
All the information in our site are given for nonprofit educational purposes