RAM

RAM logic To see a diagram click here