32Bits RAM in Digital Logic Sim

Поделиться
HTML-код
  • Опубликовано: 27 дек 2022
  • RAM inspired by Ben Eater:
    "Building an 8-bit breadboard computer!"
    / @beneater
    Simulated in:
    Digital Logic Sim by Sebastian Lague
    sebastian.itch.io/digital-log...
    Lucid Dreaming by | e s c p | escp-music.bandcamp.com
    Music promoted by www.free-stock-music.com
    Attribution 4.0 International (CC BY 4.0)
    creativecommons.org/licenses/...
    Lazy Aftermoon by | e s c p | escp-music.bandcamp.com
    Music promoted by www.free-stock-music.com
    Attribution 4.0 International (CC BY 4.0)
    creativecommons.org/licenses/...
  • НаукаНаука

Комментарии • 217

  • @vieilatome2257
    @vieilatome2257 Год назад +524

    Okay, now make it entirely out of nands.

    • @nad2040
      @nad2040 Год назад +62

      Thats just nandgame

    • @w花b
      @w花b Год назад +1

      nope.

    • @chainerfries4417
      @chainerfries4417 Год назад +5

      Entirely out of NOTs and ANDs

    • @nad2040
      @nad2040 Год назад +31

      @@chainerfries4417 NAND and NOR are actually universal logic gates and you can make anything from them, and NANDs are "economical and easier to fabricate". I learned that when playing nandgame.

    • @r.d.6290
      @r.d.6290 Год назад +3

      ​@@nad2040 correct, the cell layout for nand is the smallest

  • @lilflob
    @lilflob Год назад +369

    I can't wait to see this logic sim pushed to it's limits. And also for a virtual LED display component.

    • @PoweredUP_
      @PoweredUP_ Год назад +18

      At least there is already a 7-segment display

    • @ItsCOMMANDer_
      @ItsCOMMANDer_ Год назад +1

      Yeh, thats cool. Do you mind sharing the project files?

    • @lunarcod7187
      @lunarcod7187 Год назад

      ​@@ItsCOMMANDer_ why are you asking this random commenter?

    • @Chiken1
      @Chiken1 Год назад +1

      @@ItsCOMMANDer_ sebastian lague made the project and his videos "exploring how computers work" contain links to download it.

    • @NoimannAlive
      @NoimannAlive Год назад

      you are already watching it by looking on your phone/display (but "outside the box")

  • @KangJangkrik
    @KangJangkrik Год назад +339

    It's funny to think that he is simulating RAM inside actual RAM

    • @loleq2137
      @loleq2137 Год назад +47

      You're gonna lose it when you find out about virtualization

    • @HazyWrites
      @HazyWrites Год назад +22

      imma make virtual ram in logic sim that's better than my actual ram 😎

    • @n_kliesow
      @n_kliesow Год назад +2

      Maybe the ram took the red pill ^^

    • @Un4GivNX
      @Un4GivNX Год назад +1

      Like we created computer within our simulation.

    • @lorentiobrodesco9741
      @lorentiobrodesco9741 Год назад +1

      No, RAM doesn't simulate. It only keep memorized stuff.. like a paint.. the CPU is the artist.

  • @rodakdev
    @rodakdev Год назад +107

    Sebastian Lague should implement a display that can be driven by a graphics card made in this sim.

    • @mecha2829
      @mecha2829 2 месяца назад

      well, thats only possible under the graphics card you have, you cannot simulate a graphics card more than your graphics card

    • @Floor_fill_the_gaps
      @Floor_fill_the_gaps Месяц назад

      ​@@mecha2829 Add more frickin capacitors!

    • @vertigoalopolus
      @vertigoalopolus Месяц назад

      @@mecha2829 Thats not exactly true. Anything turing complete can do any computational task imaginable.

  • @Andrew90046zero
    @Andrew90046zero Год назад +182

    Cool to see other people using this sim.
    I will admit, I kinda jumped into the video assuming "32 bit ram" meant 4 GB of data, which makes no sence XD But rather, you meant that it was 32 total bits of data. 8 addressable 4 bit chunks.

    • @afriendofafriend5766
      @afriendofafriend5766 Год назад +15

      Could you imagine make 4 GB of ram digitally on a computer?

    • @vieilatome2257
      @vieilatome2257 Год назад +8

      haha you misunderstood
      it's computers with 32-bits *cpu* which can contain at max 4 go of ram
      but ram of 32 bits will always be 32 bits

    • @Andrew90046zero
      @Andrew90046zero Год назад +1

      ​@@afriendofafriend5766 Yes and no XD
      For some reason I was imagining it without considering how impossible it would be. But I was still assuming that it was actually being done here. Until like half way in and then I actually starting thinking about it.

    • @Andrew90046zero
      @Andrew90046zero Год назад +3

      @@vieilatome2257 Yea I took it to mean "RAM with 32 bit address space". But in reality it's "RAM with 3 bit address space"

    • @PeterAuto1
      @PeterAuto1 Год назад +1

      me too 🤣

  • @gazehound
    @gazehound Год назад +20

    doing stuff like this is basically computer architecture class homework

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад +9

      That sounds like an incredible class to have. I wish there was one in my university.

    • @gazehound
      @gazehound Год назад +5

      @@josetrinidadlopezmoreno743 Hell, you got this far without it, it probably wouldn't even teach you anything new. Sorry to hear there isn't one, though. You should totally try implementing some kind of 8-bit processor. In my class we did it with Xilinx but Sebastian's simulator could definitely do it too.

  • @f1d248
    @f1d248 Год назад +38

    i did something similar but didn't really go in-depth on how to make it. Props to you for showing how to build this. Nice work

  • @the_walruswizard8396
    @the_walruswizard8396 Год назад +23

    Please make more content like this, this is just so cool

  • @omgxrg
    @omgxrg Год назад +1

    I just finished a 16-byte 8-bit data storage and can't wait to double and double again.
    It's interesting to see the use of 8-or now that there is a tri-state switch.

  • @HurriKane_YT
    @HurriKane_YT Год назад

    I enjoyed this video you gotta post more vids

  • @tehpson
    @tehpson Год назад +5

    I was abel to keep up a good part but then I was so lost. this is way beond my skills. good job :)

  • @duality4y
    @duality4y Год назад

    i just subbed for this little nugget of a video would love to see you make more just interested to see how you do things :)

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад

      Thanks, I would like to make more complete projects, but it is getting hard trying to find the time to do them.

  • @aldric3882
    @aldric3882 Год назад

    Well done 👏 well done 👏

  • @generaltom6850
    @generaltom6850 Год назад +7

    You can make a clock with nor gates too, that’s how I made and it works very good.

    • @thanatosor
      @thanatosor 2 месяца назад

      How woudl you adjust the clock cycle speed ?

  • @DarkMaster0
    @DarkMaster0 Год назад

    this is soo cool

  • @pepez1325
    @pepez1325 Год назад

    I recomend to create a testing multitool that generates lots of different function outputs, to test different components, and use this to register data

  • @m15dog37
    @m15dog37 Год назад

    Perfect thx

  • @killzyy7
    @killzyy7 Год назад +7

    ohh this looks nice, i made a 64 bit ram using the sim too and i must say it pleases me a lot

  • @poGGers175
    @poGGers175 Год назад

    very cool

  • @greenwhisper3422
    @greenwhisper3422 Год назад +2

    Using a 4-bit adress decoder, I made a 128-bits ram! My process was very similar to you.

    • @thanatosor
      @thanatosor 2 месяца назад

      Your video ? 😂

  • @nonegoat9468
    @nonegoat9468 Год назад

    lovely

    • @nonegoat9468
      @nonegoat9468 Год назад

      0:03 - NAND
      0:16 - OR
      0:29 - XOR
      0:45 - CLOCK
      1:09 - NOR
      1:22 - SR-LATCH
      1:40 - D-LATCH
      2:08 - R-EDGE
      2:33 - D-FLIP-FLOP
      2:53 - 1B-REGISTER
      3:34 - 4B-REGISTER
      4:06 - 3-AND
      4:21 - 8-OR
      4:45 - RAM...
      4:49 - OUTPUT RAM
      4:53 - REGISTER RAM
      5:01 - ADDRESS LOGIC RAM
      5:25 - CLCOK RAM
      5:31 - ENBABLE SIGNAL RAM
      5:36 - WRITE SIGNAL RAM
      5:41 - ADDRESS RAM
      6:22 - ADDRESS WE RAM
      6:39 - ADDRESS EN RAM
      6:51- 4-BITS-DATA RAM
      7:00 - 4-BITS-OUTPUT RAM
      7:10 - TEST RAM

  • @diegoteceletro
    @diegoteceletro Год назад

    nice

  • @ghost3364
    @ghost3364 Год назад +5

    i love the sim can you show some helpful tips in using it

    • @supersonictumbleweed
      @supersonictumbleweed Год назад +4

      See videos by Sebastian Lague, the guy he created the sim I believe

  • @Gibbits5.7
    @Gibbits5.7 Год назад

    great job i love making overly huge things in digital logic sim

  • @_Light_Dragon
    @_Light_Dragon Год назад +4

    if i remember correctly i did create a 256 Byte RAM but i couldn't continue bc the real ram on my computer was full already and also the sim was lagging alot

    • @thanatosor
      @thanatosor 2 месяца назад

      Try it again on Turing Complete / Steam

  • @trevorvanbremen4718
    @trevorvanbremen4718 Год назад +4

    Excellent! Can you now make me a 1024 petabyte RAM chip - Preferably with sub yocto-second access time.
    Obviously, this will consume quite a bit of silcon real-estate so I'm willing to accept any size that will fit into a 10*10*10mm cube and consumes less than a femtoWatt.of power
    And THAT, ladies and gentlemen, is a '2023 equivalent' of what scientists have been asked to do to ENIAC since the day it was unveiled...
    Guess what - they've managed all that and much, MUCH more!

  • @fayvixe9062
    @fayvixe9062 Год назад

    DO MORE CONTENT PLZ your cool

  • @gwenturo9550
    @gwenturo9550 Год назад +4

    I had a design for the old version of a pretty small 8-Byte register that can easily be used to make 16-Bytes, 32-Bytes, and so on.
    Kind of abandoned it with the new update to improve it and implement it with the new buses. And probably will make a serialized version

  • @elgrillodelanoche
    @elgrillodelanoche 8 месяцев назад

    Bendito presente Jose esto se ve genial en que area de la programacion se aplica?

  • @minerharry
    @minerharry Год назад +2

    That R-edge circuit was neat! Was that from ben’s videos?

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад +3

      I just tried some stuff, trying to delay the input, because 'Digital Logic Sim' doesn't have any gate delay, that usually in real life happens. But I didn't really know what I was doing. I could've made it a lot simpler.

  • @duality4y
    @duality4y Год назад

    what a weird way to make edge triggered logic i love it

  • @freddiebees
    @freddiebees Год назад +1

    I did 16x8bits (128bits) by having two 8x8 bits with two 4x8 bits with two 2x8 bits with two 8 bits
    So I had 4 address pins to specify the 16 addresses then you could write 8 bits to each address.

  • @officialacescottie
    @officialacescottie Год назад +5

    Was nice to stumble across this. watch though to get the hang of it then finised the last bits myself, then went to add in a 7seg-decoder so i can see the binary values in the 7 segment display as base 10 digits :)
    i came up with a clever solution to the write problem though which im dubbing as a "sync-delay"
    A -> R-EDGE - > a:SR-LATCH:b->(output && AND)
    B -> AND -> b:SR-LATCH
    this can let you use the builtin clock (which might be a new thing)
    A is the Write input and B is the clock inpiut
    Tiggering A locks the output to the on position, Triggering B resets the output back to low
    This is used to keep the write signal high untill the clock pulses. when the clock pulses the wright signal is set low and waits for the input to be set low then high again.
    code:
    If A:
    ---while not B:
    --output = True
    ----wait()
    --output = False

  • @ArsenalTheProtogen
    @ArsenalTheProtogen Год назад

    im working on a crazy system that can store an 8 bit data signal with a 4 bit address, however, the address system im working on is gonna be expandable, and when complete, probably gonna be 8 bit. (and it runs without using a clock, just to simplify)

  • @aeebeecee3737
    @aeebeecee3737 Год назад

    okay i subed

  • @rami-succar7356
    @rami-succar7356 Год назад +2

    can anyone explain to me what exactly the clock is doing here please? thank you
    Edit: also the roles of enable and write. i get the rest so far.

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад +4

      The clock is to synchronize with others parts if this where to be use in a processor. Usually the input and output would be connected to a bus with others parts also connected there, so is important to be able to decide when to show the output in the bus or when to receive input from the bus. But I am also learning so maybe the explanation is wrong XD.

  • @Mognatti
    @Mognatti Год назад

    cool. I have no idea of what is going on, but it's pretty dope to watch anyways lol

  • @user-uu2sd7xc9g
    @user-uu2sd7xc9g Год назад

    Надеюсь ты быстро сделаешь ещё видео
    Удачи

  • @s-sugoi835
    @s-sugoi835 Год назад

    lookd like something sebastian lague created

  • @kingmonkeybug
    @kingmonkeybug Год назад +1

    plz use 1.0.2 ver

  • @raven-vr5yz
    @raven-vr5yz Год назад

    bro you've done it the hardest way possible

  • @philiparnaudov9001
    @philiparnaudov9001 Год назад

    this is similar to a game from a distant past - Robot Odyssey

  • @gunnargunaxe
    @gunnargunaxe Год назад

    How about Altera Quartus or Xilinx ISE?

  • @webdeveasily6295
    @webdeveasily6295 Год назад

    Please make this simulator for 32 bit computer

  • @berndeckenfels
    @berndeckenfels Год назад

    Oh, that 32bit

  • @robomobius
    @robomobius Год назад

    AMAZING. Now show us what it would be like with just ands and nots

  • @allannorman944
    @allannorman944 Год назад

    Transferred.

  • @kaito0022
    @kaito0022 Год назад +3

    If you can't download more ram then you have to make more ram

  • @kyrioz2z834
    @kyrioz2z834 Год назад

    what are the input for the 1B register?
    I see the DATA,CLOCK,and WRITE but what is the fourth one

    • @NoName10920
      @NoName10920 Год назад +1

      The fourth input is the output enable

  • @NStripleseven
    @NStripleseven Год назад

    yoooo it’s seblague’s circuits sim

  • @user-bw1zx7tk4t
    @user-bw1zx7tk4t 11 месяцев назад

    guys please tell me what the "R-EDGE" is it

  • @garyrobinson3535
    @garyrobinson3535 Год назад +1

    lets say that the computer in the sim is finished. How would you program it?

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад +1

      I haven't thought about it xd. But I think that because the game restarts all the values you'll have to introduce the program everytime and also need to design a logic circuit to read the instructions.

  • @ippiki-inu
    @ippiki-inu Год назад

    hey, bro. wha video from ben eater inspire you? i want to see how it be from chips

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад

      In the playlist of "Building an 8-bit breadboard computer", there is one video name "8-bit computer RAM intro", after that I think he made like 4 more videos about that.

  • @7Zipa
    @7Zipa Год назад

    do it with the newest version

  • @user-dh8oi2mk4f
    @user-dh8oi2mk4f Год назад +1

    Is there a reason for using 2 signals to enable write?

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад +1

      Are you talking about the clock? Here it doesn't really matter, but when you make the entire processor it's important to synchronize everything.

  • @maximkreker790
    @maximkreker790 Год назад

    Why are there so difficult logic if usual SR-LATCH is like an 1B memory? Or how does it works

  • @dedgzus6808
    @dedgzus6808 5 месяцев назад

    Have there been any new versions of this simulator in the past year? all I can find is an alpha version

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  5 месяцев назад

      No, is more like a side project for the creator, if you want a more complete visual simulator use "Digital", there is also "Turing Complete" is in steam and you have to pay but is very interactive.

  • @legendgames128
    @legendgames128 8 месяцев назад

    You found a way to make a clock using logic gates only! Of course it may damage all electrical components involved (I have no idea if that is true, please let me know) but it's a clock!

  • @DusanCvijicCvijic
    @DusanCvijicCvijic Год назад

    Im making this on a 32 bit comp

  • @koalakid3609
    @koalakid3609 Год назад

    now i won't to see a 8-bit computer somehow in this

  • @quocphong6588
    @quocphong6588 2 месяца назад

    Can you teach me how to make a 128 bit RAM?

  • @Ahmed27Ahmed
    @Ahmed27Ahmed Год назад

    , yo como ago para canbiar de formado un video de filmora que no me deja ? y buen video

  • @ranausama8487
    @ranausama8487 6 месяцев назад

    Which software do you use

  • @creativeideaseee
    @creativeideaseee 6 месяцев назад

    Which software

  • @thanatosor
    @thanatosor 2 месяца назад

    Basically, you read a 4-bit chunk of data at a time, among 7 addressable others.

  • @uninstalledsoftwares6266
    @uninstalledsoftwares6266 15 дней назад

    pls provide link to logicim file

  • @faisalosama2831
    @faisalosama2831 Месяц назад

    Please make on 4 bit ram instead of 32 bit

  • @drip_man5817
    @drip_man5817 7 месяцев назад

    crazy to think this guy has 881 subs from 1 video

  • @perodactyl490
    @perodactyl490 Год назад

    I've done this before.
    I thought he meant RAM with a 32-bit address or several 32-bit values.

  • @caibi_
    @caibi_ 4 месяца назад

    I’ve made a 64 bits ram(2^4 * 4) and the progress of wiring is painful

    • @dipabarman1562
      @dipabarman1562 3 месяца назад

      I made 32 bit register I was using 4 8 bit registers

  • @Smittel
    @Smittel Год назад +8

    but can it run doom?

    • @HoldMeAgainstMyWill
      @HoldMeAgainstMyWill 13 дней назад

      I’m sure if I knew how to setup firmware, in a different sim I’d be able to do it

  • @Ivan_sev
    @Ivan_sev Год назад

    Я недавно вспомнил про это приложение но не мог вспомнить название, а тут в ленте видио ваше как раз
    I recently remembered about this application but could not remember the name, and here in the feed vidio your just

  • @maxwellcatlol
    @maxwellcatlol Год назад

    now 2 rams, 64 bits, more and more bits

  • @preloadingwastaking
    @preloadingwastaking Год назад +1

    why are you using the old ver?

  • @aahaanchawla5393
    @aahaanchawla5393 Год назад +4

    I don't understand how everything from clock onwards was having circular references, what will the machine feed into the chips for the first cycle? Default false values?

  • @Alex_17352
    @Alex_17352 6 месяцев назад

    It is an app or site?

  • @mrkitkat0069
    @mrkitkat0069 Год назад

    one step closer to running doom on this thing

  • @bagaspermana88
    @bagaspermana88 8 месяцев назад

    May I ask you what software was this?

  • @worlore1651
    @worlore1651 Год назад

    automated connect the dots

  • @alphus89
    @alphus89 Год назад

    Can it mines Bitcoin?

  • @EATZYOWAFFLEZ
    @EATZYOWAFFLEZ Год назад

    Why did you decide to use a nand when making the or?

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад

      I didn't really put much thought in it. But the nand gate is a really important gate, you could do basically everything with it.

    • @EATZYOWAFFLEZ
      @EATZYOWAFFLEZ Год назад

      @@josetrinidadlopezmoreno743 alright, great video btw!

  • @lilleopard_ty3662
    @lilleopard_ty3662 Год назад

    4By Ram

  • @kyuheonrho7814
    @kyuheonrho7814 Год назад

    4:36 8-OR is actually has 7 or

  • @night_reels
    @night_reels Год назад

    Which software is this

  • @rjameslower
    @rjameslower Год назад +1

    Me habría gustado que te estuvieras un poco más a explicar, he visto los vídeo de Sebastián lague, sería ideal algo así de pausado

  • @theofficiaIsteve
    @theofficiaIsteve Год назад +2

    you should make a 1 GB ram lol

  • @almoglavi8737
    @almoglavi8737 9 месяцев назад

    How can i download this program

  • @H2GG
    @H2GG Год назад +1

    please stop speeding up the video its impossible to see i swiched it to .25 and its still to fast, but the video is really good,

  • @YeahEsCereal
    @YeahEsCereal 2 месяца назад

    But can it run doom?

  • @Heavy_Lvy
    @Heavy_Lvy 9 месяцев назад

    y u so smart?

  • @mikelchannel4080
    @mikelchannel4080 11 месяцев назад +1

    Ok that’s cool but, can it run Doom??

  • @r0und603
    @r0und603 Год назад +2

    The fact that its already so complex for a 32bit ram, what the fuck dies a 8gb ram look like

  • @Lurkingbird
    @Lurkingbird Год назад

    this guy just built a computer inside a computer bruh

  • @pixelguy2231
    @pixelguy2231 Год назад

    Now do this until it reaches 4 gbs :)

  • @elesystemic6742
    @elesystemic6742 Год назад

    My computer's gonna stop working

  • @tommyjones3784
    @tommyjones3784 Год назад

    Alr cool, now make a whole computer

  • @quocphong6588
    @quocphong6588 2 месяца назад

    I MADE IT!!!!!!! but quadruple the size making it quadruple the building period too...

  • @BukoLibuk
    @BukoLibuk 11 месяцев назад

    1 byte 32-bit

  • @choco-install-neovim
    @choco-install-neovim Год назад

    THERE IS A FLICKER WITH THE 3-ANDS CONNECTING TO THE ANDS!!

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад

      That means that you connected more than one cable to the same place.

    • @choco-install-neovim
      @choco-install-neovim Год назад

      There is only one connection per pin in the third 3-and from the bottom.

    • @josetrinidadlopezmoreno743
      @josetrinidadlopezmoreno743  Год назад

      @@choco-install-neovim check the output of the 3-AND, the game has the feature of flickering the cable to show you that there is more than one cable trying to put a value in that place.

    • @choco-install-neovim
      @choco-install-neovim Год назад

      @@josetrinidadlopezmoreno743 thank you, all resolved

  • @elesystemic6742
    @elesystemic6742 Год назад

    I can't do more