Warning: mkdir() [
function.mkdir]: Permission denied in
/home/webs/affiliatelib2/CacheManager.php on line
12
Warning: mkdir() [
function.mkdir]: No such file or directory in
/home/webs/affiliatelib2/CacheManager.php on line
12
Warning: fopen(/home/templatecore2cache//*cluesnet.com/5a/5a0fef13e7768f77e9405ce235a66760cbd3cd70.tc2cache) [
function.fopen]: failed to open stream: No such file or directory in
/home/webs/affiliatelib2/CacheManager.php on line
130
Warning: fwrite(): supplied argument is not a valid stream resource in
/home/webs/affiliatelib2/CacheManager.php on line
131
Warning: fclose(): supplied argument is not a valid stream resource in
/home/webs/affiliatelib2/CacheManager.php on line
132
Harvard architecture is a
computer architecture with physically separate computer storage and signal pathways for instructions and data. The term originated from the
Harvard Mark I relay-based computer, which stored instructions on punched tape (24 bits wide) and data in electro-mechanical counters (23 digits wide). These early machines had limited data storage, entirely contained within the central processing unit, and provided no access to the instruction storage as data, making loading and modifying programs an entirely
Off-line.
Memory details
In a Harvard architecture, there is no need to make the two memories share characteristics. In particular, the
word (computer science) width, timing, implementation technology, and
memory address structure can differ. Instruction memory is often wider than data memory. In some systems, instructions can be stored in
read-only memory while data memory generally requires random access memory. In some systems, there is much more instruction memory than data memory so instruction addresses are much wider than data addresses.
Contrast with other computer architectures
In a computer with the contrasting von Neumann architecture (and no
cache), the
Central processing unit can be either reading an instruction or reading/writing data from/to the memory. Both cannot occur at the same time since the instructions and data use the same bus system. In a computer using the Harvard architecture, the CPU can read both an instruction and perform a data memory access at the same time, even without a cache. A Harvard architecture computer can thus be faster for a given circuit complexity because instruction fetches and data access do not contend for a single memory pathway.
The
Modified Harvard architecture is very like the Harvard architecture but provides a pathway between the instruction memory and the CPU that allows words from the instruction memory to be treated as read-only data. This allows constant data, particularly text strings, to be accessed without first having to be copied into data memory, thus preserving more data memory for read/write variables. Special machine language instructions are provided to read data from the instruction memory. Standards-based high-level languages, such as the C_(programming_language) language, do not support the Modified Harvard Architecture, so that in-line
Assembly_language or non-standard extensions are needed to take advantage of it. Most modern computers that are documented as Harvard Architecture are, in fact, Modified Harvard Architecture.
Speed
In recent years the speed of the CPU has grown many times in comparison to the access speed of the main memory. Care needs to be taken to reduce the number of times main memory is accessed in order to maintain performance. If, for instance, every instruction run in the CPU requires an access to memory, the computer gains nothing for increased CPU speed — a problem referred to as being
memory bound.
It is possible to make extremely fast memory but this is only practical for small amounts of memory for both cost and signal routing reasons . The solution is to provide a small amount of very fast memory known as a
CPU cache which holds recently accessed data. As long as the memory that the CPU needs is in the cache, the performance hit is much smaller than it is when the cache has to turn around and get the data from the main memory. Cache tuning is an important aspect of computer design.
Modern high performance CPU chip designs incorporate aspects of both Harvard and von Neumann architecture. On chip cache memory is divided into an instruction cache and a data cache. Harvard architecture is used as the CPU accesses the cache. In the case of a cache miss, however, the data is retrieved from the main memory, which is not divided into separate instruction and data sections. Thus a von Neumann architecture is used for off chip memory access.
Uses
Harvard architectures are also frequently used in:
- Specialized digital signal processors, DSPs, commonly used in audio or video processing products. For example, Blackfin processors by Analog Devices use a Harvard architecture.
- Most general purpose small microcontrollers used in many electronics applications, such as the PIC microcontroller by Microchip Technology, and Atmel AVR by Atmel These processors are characterized by having small amounts of program and data memory, and take advantage of the Harvard architecture and Reduced instruction set computer (RISC) to ensure that most instructions can be executed within only one machine cycle, which is not necessarily one clock cycle. The separate storage means the program and data memories can have different bit depths. Example: PICs have an 8-bit data word but (depending on specific range of PICs) a 12-, 14-, or 16-bit program word. This allows a single instruction to contain a full-size data constant. Other RISC architectures, for example the ARM architecture, typically must use at least two instructions to load a full-size constant.
See also
- Von Neumann architecture
- Modified Harvard architecture
Harvard architecture - Wikipedia, the free encyclopedia
Harvard architecture is a computer architecture with physically separate storage and signal pathways for instructions and data. The term originated from the Harvard Mark I relay ...
Harvard architecture from FOLDOC
Harvard architecture < architecture > A computer architecture in which program instructions are stored in different memory from data. Each type of memory is accessed via a separate ...
Architecture
Contact. Graduate School of Design 48 Quincy Street Gund Hall Cambridge, MA 02138
Modified Harvard architecture - Wikipedia, the free encyclopedia
The Modified Harvard Architecture is a variation of the Harvard computer architecture that allows the contents of the instruction memory to be accessed as if it were data.
Aga Khan Program for Islamic Architecture at Harvard University
Aga Khan Program for Islamic Architecture Harvard University Sackler Museum 485 Broadway Cambridge, MA 02138 USA Phone: 617-495-2355
Welcome to Harvard University
The Harvard University ... Harvard’s Graduate School of Design is dedicated to the education and development of future leaders in the professions of architecture, landscape ...
Reference Tools in Islamic Art & Architecture - Harvard College ...
Guide Menu. Basic Reference Tools; General Bibliographies and Periodical Indexes; General Reference; Names and Dates; General Reference Tools for Architecture; General Works and ...
Harvard University Graduate School of Design
Architecture; Landscape Architecture; Urban Planning & Design; Advanced ... GSD studio trip to Galapagos Islands, Fall 2008. ... Harvard University © 2008 President and Fellows of Harvard ...
Harvard University: Academic programs
Architecture, landscape architecture, urban planning: Harvard Divinity School Theology, world religions, ministerial studies: Harvard Graduate School of Education
Allston: Brand vs. Architecture
Summary of Allston: Brand vs. Architecture, by Arthur I. Segel, Andre F. Perold, Chris Gordon. Find this and other business articles and publications at Harvard Business School ...