Wednesday, May 3, 2017

Turing-machine-like structures in a V Neumann architecture

Today we saw a video about how a V. Neumann CPU architecture works, and I found it really simple, once I've seen the video twice, with all the images that are provide in there you will catch the idea really fast.
Now I`m gonna talk about structures of a turing machine, that you will be able to find on a CPU-RAM. 


We found many turing machine structures in this kind of architecture (a V. Neumann CPU architecture), for example: the connection between CPU- Ram, this connection is really simple.

The ram contains all the information that process the CPU. The CPU sends an address to the ram, and via the enable cable, it tells the ram to process the address and the ram gives a date to the CPU, and this process repeats itself really fast and really frequently. We can see that the CPU makes an input and the ram an output, this output is going to be an input for the CPU.

Picture from the vid. "How a CPU Works" from "In One Lesson"



Another example is inside the CPU, precisely the control unit and ALU. Typically, the ALU has direct input and output access to the processor controller, main memory (RAM), and input/output devices. Inputs and outputs flow along an electronic path that is called a bus. The input consists of an machine instruction word that contains an operation code, one or more operands, and sometimes a format code.
The operation code tells the ALU what operation to perform and the operands are used in the operation. (For example, two operands might be added together or compared logically.) The format may be combined with the op code and tells, for example, whether this is a fixed-point or a floating-point instruction.
The output consists of a result that is placed in a storage register and settings that indicate whether the operation was performed successfully. (If not a status will be sorted in the machine status word)



pic. from the website pitt.edu




pic. from the website pitt.edu

I've made a Mindmap to explain the Turing machines and the V Neumann architecture.



Here is the link to the video that explains how a CPU works  Click here.



No comments:

Post a Comment