Small CPU

  • denkdaetz
    18th Oct 2010 Member 0 Permalink
    Hello, its me again!

    I now know more about Logic gates and ram! so i decided to make a new topic for developing a CPU!

    my question is now:

    How is the structure of an ALU?

    What are Registers?

    and How to make a WHOLE CPU of it!

    i tried myself at the program "Logisim" its a free Java program, where you can build Logic stuff too! and complete Computers! i played a bit around and made some simple stuff. so know i know a bit more about CPUs and stuff.
  • denkdaetz
    18th Oct 2010 Member 0 Permalink
    thanks for the picture of an ALU! But what are registers and how can i make a CPU with everything?
  • Cr15py
    18th Oct 2010 Member 0 Permalink
    Well, from my limited experience programming assembly(quite limited), I have gathered this, registers are set memory addresses in the processor(or atleast starting at the same addres) which specialize in storing certain datatypes(integers characters). The use of registers is that they are set locations allowing easier registers than dynamic memory locations, such as stacks or places in RAM or other caches. The thing that sets registers apart from RAM and other storage is that they are in the processor itself and are much more quickly accessed and read from.
  • Aizria
    18th Oct 2010 Member 0 Permalink
    A general idea of the CPU:

    Instructions, which are stored in RAM, are "grabbed" consecutively by the CPU and stored in it's registers, along with any necessary data. From the register, the bits to be processed are run along a common data pathway to each of the necessry logic blocks (basic logic, math, etc.) needed to process the data. Once the data has been processed, it is relayed along the computer's main data bus to wherever is required (eg. the RAM, I/O peripherals, etc.).
  • denkdaetz
    18th Oct 2010 Member 0 Permalink
    thanks for the answers!

    can anyone tell me (or give me a link) where i can learn how to build a simple CPU?

    it would be nice! ;)
  • Mur
    18th Oct 2010 Member 0 Permalink
    Try This.
    To make it easy use my relay.
    LoadSaveBlock(6076);

    The power supply...you know, use battery.
    Good luck!
  • MiXih
    18th Oct 2010 Member 0 Permalink
    Mur
    ...
    It doesn't help anyway
    btw fail OR gate
  • Mur
    18th Oct 2010 Member 0 Permalink
    why?

    -EDIT-

    So THIS help?
  • denkdaetz
    18th Oct 2010 Member 0 Permalink
    NOW i made the REAL Micro RAM its called MicroRAM v2!

    LoadSaveBlock(36528);