128-Bits RAM In Digital Logic Sim
HTML-код
- Опубликовано: 3 мар 2023
- How to make 128-Bits ram in Digital Logic Sim
Programm:
sebastian.itch.io/digital-log...
Programm Creator:
/ @sebastianlague
Exploring How Computer Works Playlist:
• Exploring How Computer... - Наука
i think i have the world record, as to ive made 512 bit ram and 1024 bit ram (64 bytes and 128 bytes)
the 512 bit one outputs 8 bits
the 1024 bit one outputs 16 instead
they both have a 6 bit address
they can only either write, or read (write ofc just saves any input, and read outputs that forever with a r-edge, until pressed again on another address)
to make them, i used 1 bit rams with 4 bit addresses (so basically super 1 bit registers)
then i connected them into a 128-bit ram with an 8 bit output but still 4 bit address
then i made a multiplexer, that only activates one of the 4 128-bit rams and outputs an 8 bit output, this time with a 6 bit address (4 bits for the addresses of the original rams, and 2 for the multiplexer, turning this into a 512-bit ram)
and then i just did the same as i did with 128-bit ram and connected 2 512-bit rams into 1, making a 1024-bit ram with 16 bit output, 6 bit address
Actually, I've made a 256 Byte (2048 bit) RAM, 8-bit output and 8-bit address. I pretty much just chained a bunch of smaller RAMs together. My wiring's a mess (only straight wires, I just wanted it done lol), but it works and only lags the sim a little. I'll see if I can get a video of it up on my channel and post the link when I do.
Update, I updated the sim to get buses and it deleted all my stuff, which I sort of expected but forgot about. Also, someone else made a video of 256 Bytes of RAM recently so I don't have a world record either lol. They seem to also have done it a lot smarter than me. Here's the video ruclips.net/video/FbO2b3HjsZQ/видео.html
i have done a 256 byte (2K bits) RAM and i wanted to go for a 1 KB and maybe more but my pc real RAM was already full and the simulation was lagging too much
note : i had 16 GB of RAM on my computer
i also made a full 8 bit processor with an instruction set but the saving was lost ..
@@willlllllliam I made the same size storage, I could stack it but that would risk crashing the program, also a wiring mess.
To think that just on a pendrive there are millions of these systems, how incredible
❤Very good video you are very skilled bro
bro just recreated what i have inside my pc
👍👍👍
That's some sexy traces, and clean
I made a 256 byte one (8 data, 8 adress) suposed to be a PROM, but then I found out u can't save a programmed chip Cuz saving resets all outputs back to 0, so saving it just clears the PROM...
💝
Bro I'm just able to use normal stuff like 'AND' and 'NOT' gates and other stuff like tri state buffer,bus etc and all how did you get the rest stuff like sr latch and stuff
You have to build them yourself. Watch SebastianLague’s videos and copy him till the end. Then you will be able to copy this video.
@@derickd6150 Thanks for the reply bro! I just realised it and built my logic gates using AND and NOT. It was fun practice.
How do I make the bus turn
press shift
omg thank you
How do I make the bus?
@@chainerfries4417 go into the library and star the bus, then click it as many times as u want to use ti
@@RonicTheEgg k thx
How do I make the 1B register
I thought that all who see this video have already seen the one of Sebastian Lague ruclips.net/video/I0-izyq6q5s/видео.html
very cool project, but i'm curious what you can actually use this for now that you have it. Is there any way to make a chip that can send instructions to this memory?
you can do tons in digital logic sim, you can even make a fully working 8 bit cpu!
@@meltingshoe8161 i mean sure, you can have a cpu, but what can you actually do with it once you have it? every instruction needs to be entered by hand, theres no way to save instructions, and theres not much in the way of output peripherals
i have a computer that runs on Rom with 8 bit desired bit count and 64 byte ram
@@meltingshoe8161An intel 8008 has been created
Can i Ask you a request. so basiccally i have the most advanced ALU in DLS and it has more than 10 functions including division, multiplication, add, subtract, negate out, inc,dec,and, or, xor, xnor and others. my actual problem is building the registers and rom drivers. because im too lazy to build it. i can send you the ALU chip for you to look at
Having 10 functions is not bad at all, but the space will by no means be sufficient to build a CPU out of it.
How many bits should the registers have and what is the desired bit size?
I'm still waiting for Sebastian DLS to update so that one can zoom out. So that I can work on larger projects and also build a CPU.
the ALU is 8 bit and i think the register should have 8 bytes (meaning 64 bits) and 3 bit address. in the time your working on the registers ill build a rom program for idk bresenhams line drawing algo. im also waiting for sebastian lague to do that because its pain to squees in everything. btw the following are the ALU's function adresses because i made a 4 bit function address.
0001 - ADD
0010 - SUBTRACT
0011 - MULTIPLY
0100 - DIVIDE
0101 - XOR
0110 - AND
0111 - OR
1000 - XNOR
1001 - NAND
1010 - NOR
1011 - SHIFT A UP
1100 - SHIFT A DOWN
1101 - Increment
1110 - decrement
1111 - Load reg 3 (the alu output register)
@@unschlagbar2302 also if you dont know, to get my DLS world Into your DLS. the file directory is C:\Users\ (your username on the computer) \AppData\LocalLow\SebastianLague\Digital Logic Sim\V1\Projects/ here should be your worlds
drive.google.com/drive/folders/1wMAKgizNphsAi1FWsrJAAfHPnDuRcJX8?usp=sharing
Btw i just make 132 bit ram
how i bend the bus??
hold shift
this is 8bit only dude
no bro its 128 bits
❤Very good video you are very skilled bro