![]() Floor planningįor a processor to operate properly, you will need a few functional modules: Here I am talking about building your own 64-bot CPU out of those discrete logic chips. The PDP-11 processor is actually made mostly out of 7400-series TTL logic. If you are talking about actual chips installed on a circuit board, read on. TL DR: Processors are made of logic gates and they have to be! Most importantly have a RESET implemented inside the circuit and also make it available on an external pin! May be develop your own implementation specifics and develop your own compiler! Try to fit your own CPU instructions to be compiled from that language. Look into C programming language specification. Or build an instruction pipeline and some instruction parallelism Implement scratchpad, cache and other internal book-keeping memory areas.īuild bus peripherals such as I2C, SPI and memory interfaces and any other useful peripheral one can think!īuild program counter, fetch circuits before you feed the instructions to the decoder. So implement array / vector processing units. Also implement floating-point arithmetic hardware! (Special functions, Logs, Trigonometric functions are implemented as Taylor's series or other custom series math on some hardware)Īctually we live in the age of data-science and AI. Actually build an advanced ALU!īuild a nice math hardware. With the example of calculator, it could be the screen, keypad, battery monitoring and speaker/buzzer etc.īuild the ALU (Arithmetic Logic Unit). The signals of this block are going enable/disable and setup subsequent oprations.īuild all the necessary registers, special function registers SFRs, I/O buffers, pins, enable/disable signals.īuild the timers, counters, synch circuitsīuild special peripheral driving hardware circuits. At a very high level you can think of the instruction decoder as a decoder/demultiplexer. And also supporting sequential logic for timing, sequencing and synchronization. It will be a combinational logic circuit. Your instructions and architecture, implicitly define the bus-width (Instruction, Data - 8,16,32,64 or even 128 bits!)īuild the instruction decoder. Scientific computing needs more sophisticated instruction set and architecture. If it's for a calculator application, focus on math operations. Your instruction decoder is going to recognize these unique instructions by the number you assign. Assign each instruction a unique binary number. ![]() List each instruction and required number of operands. Just ideation!) Here are some basic steps one can consider. (Assuming this may not have an immediate application and just for thought! Apologies if it is too lengthy. Yes! One can build such a real slow processor with discreet logic put together. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |