A computer hardware platform abstraction

intro

Nowdays every electronic computer is based on  Boole Algebra and Sequential Logic,So my post will be based on those too.After introducing BooleAlegebra and Sequential Logic,I will specify a simple architecture of modern electronic computer. I emphsise electric because I may do some reseach about quantum computer too inrt  the future.

Boole Alegebra

In the very low level,All the  electronic computer can do is manipulating high/low voltage.But there is a smart person thought out a solution of  expressing many computations based on binary number.And all those computation formula can be expressed by three operator: AND,OR,NOT. 

Once we know that,We can build a 'chip'(or gate)  to do specificed logical operation.

Then the Arithmetic Logic Unit(ALU) will be born,Which is well designed calculator.Mathematically saying,it is a function implemented in real world.

Sequential Logic

If we build a system,we will face a synchronization problem and state saving issues.

That is to say,the inputs of ALU may not be arrived in time,and there is a chips called Flip-Flops needs to do operation in time sequece.so there is a oscillator offer a clock message to the whole computer system.

Once we can achive time sequence operation,we can use this function to build a memory module : registers and Random Access Memory.

Machine Language

After all things build up, we need a language to command processor(ALU plus control/branching operations) and registers manipulate meomory.Then we can make a rule ,which is much more readable and writable .The detail in this topic ,i will pass and make anthoer post to write it.

next part i am going to write about von neumann architecture.

原文地址:https://www.cnblogs.com/771k/p/6790393.html