Scrap Mechanic

Scrap Mechanic

Nincs elegendő értékelés
8-Byte RAM
   
Díjazás
Kedvenc
Kedvenc
Törlés
Fájlméret:
Közzétéve:
191.344 KB
2016. aug. 10., 14:24
1 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
8-Byte RAM

Leírás
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 megjegyzés
Inventionist1 2019. jan. 12., 18:22 
i just need it bigger but other than that the best i found
Jan 2016. aug. 29., 8:55 
Nicely done!
Jan 2016. aug. 29., 8:54 
8x8 RAM then?
BitZero 2016. aug. 11., 5:33 
Thanks!
Golen  [készítő] 2016. aug. 11., 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 2016. aug. 11., 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  [készítő] 2016. aug. 11., 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 2016. aug. 11., 3:03 
How dose this work?