28
Von Neumann Architecture and Basic Gates CP213 - Computer Organization with Assembly Language

Module 1 - Von Neuman Architecture and Basic Gates

Embed Size (px)

DESCRIPTION

Von Neumann Architecture

Citation preview

Von Neumann Architecture and Basic GatesCP213- Computer Organization with Assemb! "anguage#N$% &'P&C%&( O#%CO)&* +#&O,Evaluate the Von Neumann ArchitectureIdentify the importance of basic logics and its application-ohn .on NeumannWasaHungarianAmerican mathematicianwhomademajor contributionstoavastrangeoffelds includingsettheoryfunctionalanalysis !uantummechanicsergodictheory continuousgeometryeconomicsand gametheorycomputerscience numericalanalysishydrodynamicsand staticsandstaticsaswellasmany mathematical theories"Von Neumann ArchitectureIs a design model for stored # program digital computer that uses a processing unit"$oday%s stored&program computers have the following characteristics'$hree hardware systems' A central processing unit ()*+,A main memory systemAn I-. system$he capacity to carry out se!uential instruction processing"A single data path between the )*+ and main memory"$his single path is /nown as the von Neumann bottleneck"Centra Processing #nit +CP#,An electronic circuit that can e0ecute computer programs" Contro #nit +C#,)ontrols the inside processor which turn the rest of the *)1rain within the brain)ircuitry that controls the 2ow of information through the processor and coordinates the activities of the other units within" A 3inite 4tate 5achine4tatesInputs-$ransitions-.utputs)ontrol *rocessing )yclesInstruction 4tates (fetch instruction decode e0ecute,6ata 4tates (fetch store,Instructions Addressesand A7+ result 2ags are its inputs)ontrol 4ignals are its outputsArithmetic "ogic Circuits +A"#,*art of the )*+ where arithmetic and logic operations are performed"It contains registers and - or accumulator for calculators and intermediate results" Accumulator4pecial storage register associated with the arithmetic unit for storing the results of the steps in a calculation or data transfer"Implements data load / store, basic arithmetic operations, logic operation and bit manipulations.$nput / Output +$/O,1asic I-. allows data and control 2ags to be passed3rom e0ternal devices to registers3rom registers to e0ternal devices6irect 5emory Access (65A,*asses bloc/s of data from memory directly to e0ternal devices and from e0ternal devices directly to memory)emor!*art of computer that holds data and instructions for processing" $he memory associated with )*+ is called primary storage primary memory main storageinternal storage and main memor!0 88%he Von Neumann )ode $his is a general depiction of a von Neumann system' $hese computers employ a fetch&decode&e0ecute cycle to run programs as follows " " " 89%he Von Neumann )ode %he contro unit 1etches the ne2t instruction 1rom memor! using the program counter to determine where the instruction is ocated08:%he Von Neumann )ode %he instruction is decoded into a anguage that the A"# can understand08;%he Von Neumann )ode An! data operands re3uired to e2ecute the instruction are 1etched 1rom memor! and paced into registers within the CP#04ow VNA buit5Implemented via logic gates combined into digital building bloc/s on the 1oolean 7ogic"Basic (igita Buiding Boc6s7ogic ing via 4ystem )loc/"ogic GatesElectronic device that operates on a set of (binary, inputs to produce a binary output"AN( GA%&O7 GA%&NO% GA%& / $NV&7%&7NAN( GA%&NO7 GA%&8"$P 8"OPstorage elements employed in cloc/ed se!uential circuits"A 2ip &2ops is a binary cell capable of storing one bit of information" It has two outputs one for the normal value and one for the complement value of the bit stored in it" *7 8ip-8ops $he design of such a 2ip 2op includes two inputs called the 4E$ ?4@ and =E4E$ ?=@" $here are also two outputs A and A%" Bus5emory bus is addresses data and control 2ags for memory accesses" memory busI-o 1us5emory)ontrol +nit A7+I-. 6evices)emor! Bus *tructure)ontrol 3lagsAddress 1us6ata 1us3etch - 4tore - Address 6ecode 7ogic5emory 7ocations%e2t Boo6)omputer 4ystem .rgani>ation with Assembly7anguage1y $eodoro 3" =evanoBr*urname9 8N )$0 (ate:Course/*ection:$est 8 # Auestions will be dictated $WI)E .N7CWrite your answers on your 1ond *aperWrite E7I