Scrap Mechanic

Scrap Mechanic

Otillräckligt med betyg
8-Byte RAM
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
191.344 KB
10 aug, 2016 @ 14:24
1 ändringsnotis ( visa )

Abonnera för att ladda ner
8-Byte RAM

Beskrivning
An 8-Byte RAM that stores one Byte per address.

Input (Blue) - 8-bit number (light=LSB)
Read/write (Red) - Enables writing input to current address.
Address (Green) - 3-bit address, which Byte of memory that is selected.
Output (White) - 8-bit number (light=LSB)
8 kommentarer
Inventionist1 12 jan, 2019 @ 18:22 
i just need it bigger but other than that the best i found
Jan 29 aug, 2016 @ 8:55 
Nicely done!
Jan 29 aug, 2016 @ 8:54 
8x8 RAM then?
BitZero 11 aug, 2016 @ 5:33 
Thanks!
Golen  [skapare] 11 aug, 2016 @ 4:55 
First thing you need to make is a D-latch. Google "d-latch logic gates" to see plenty of examples. A D-latch will allow you to toggle between read/write, and input a value. Next step is to build 8 of these next to each other, or 16 if you want 16-bit. Try it!
BitZero 11 aug, 2016 @ 4:25 
I understan how mamory workes, I acually ment hot you made the storage cells how the logic gates are conected. (I want to build a calculator with storrage but don't neade 8 bite). I have already created an 8 bit calculater module. would be verry nice if you coud explain how the storage works. :D

Thanks.
Golen  [skapare] 11 aug, 2016 @ 3:08 
1) Go to input (blue) and type in a number.
2) Run over to output (white) and see what number is currently stored. Most likely something else.
3) Toggle the write state (switch on red pillar). This will move your blue input to the white one.
4) Turn off the write state.
5) Look at the current address (green). The three switches says where the memory is stored. Switch one of them to another address, and output will change to what's in that address.
6) Put in some new number if you want by steps 1-4.
7) Switch back to the first address (most likely 0,0,0 on green), and check output for the first number you saved. The RAM can save 8 of these numbers!
BitZero 11 aug, 2016 @ 3:03 
How dose this work?