380 likes | 1.34k Vues
Von Neumann Architecture. Data and instructions are stored in a single read-write memory. The contents of this memory are addressable by location, without regard to the type of data contained there.
E N D
Von Neumann Architecture • Data and instructions are stored in a single read-write memory. • The contents of this memory are addressable by location, without regard to the type of data contained there. • Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next.
Computer: Components • Three modules • CPU • Memory • Input/output
Computer from scratch • Fundamental task: computation • Perform arithmetic and logical operations on data
Computer from scratch • Functions with arguments • Input and output • Construct circuits (mechanical, electrical, whatever) to perform these computations • “Hardwired program”
Computer from scratch • Problem: we’ve got a lot of circuits to build
Computer from scratch • Solution: one computer to perform several functions • Select between functions with “control signals” • A signal to tell which function • A signal for each argument
Computer from scratch • Pocket calculator • Modern computer?
Computer: Components • Three modules • CPU • Memory • Input/output
Von Neumann Architecture • Data and instructions are stored in a single read-write memory. • The contents of this memory are addressable by location, without regard to the type of data contained there. • Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next.
Computer from scratch • The entire program is actually a sequence of steps • A set of control signals per step • A unique code for each possible set of control signals
Von Neumann Architecture • Data and instructions are stored in a single read-write memory. • The contents of this memory are addressable by location, without regard to the type of data contained there. • Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next.
Computer from scratch • That’s better • Instead of rewiring the hardware, just provide a new sequence of codes • A sequence of codes or instructions is called “software”
Computer: Components • Three modules • CPU • Memory • Input/output
Computer: Input/output • Be able to use the thing
Computer: CPU • Instruction interpreter • Accept input, convert to functions • General-purpose arithmetic and logic functions • Compute them
Computer: Memory • Store lists of instructions • Store data • Modify both