32Bits RAM in Digital Logic Sim

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

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

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

    Okay, now make it entirely out of nands.

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

      Thats just nandgame

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

      nope.

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

      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 Год назад +374

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

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

      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")

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

    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 🤣

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

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

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

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

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

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

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

    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 Год назад +21

      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.

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

    doing stuff like this is basically computer architecture class homework

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

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

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

      @@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 Год назад +22

    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.

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

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

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

      How woudl you adjust the clock cycle speed ?

  • @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 :)

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

    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!

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

    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 5 месяцев назад

      Try it again on Turing Complete / Steam

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

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

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

      Your video ? 😂

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

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

  • @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

  • @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

  • @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

  • @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.

  • @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

  • @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.

  • @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

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

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

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

    I enjoyed this video you gotta post more vids

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

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

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

    but can it run doom?

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

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

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

    bro you've done it the hardest way possible

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

    lookd like something sebastian lague created

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

    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!

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

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

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

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

  • @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.

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

    Well done 👏 well done 👏

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

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

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

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

  • @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,

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

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

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

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

  • @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?

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

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

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

    Which software do you use

  • @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.

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

    DO MORE CONTENT PLZ your cool

  • @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.

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

    now 2 rams, 64 bits, more and more bits

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

    Oh, that 32bit

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

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

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

      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.

  • @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.

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

    Which software

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

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

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

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

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

    one step closer to running doom on this thing

  • @серыйчебурек-б8к

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

  • @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)

  • @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

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

    this is soo cool

  • @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

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

    So to make a computer, I need 1,000,000 AND and NOT gates?

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

      Yes but instead these logic gates are made out of transistors

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

    crazy to think this guy has 881 subs from 1 video

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

    this guy just built a computer inside a computer bruh

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

    why are you using the old ver?

  • @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.

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

    May I ask you what software was this?

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

    Perfect thx

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

    very cool

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

    yoooo it’s seblague’s circuits sim

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

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

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

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

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

    Please make this simulator for 32 bit computer

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

    nice

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

    Alr cool, now make a whole computer

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

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

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

    Please make on 4 bit ram instead of 32 bit

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

    How to get create button?

  • @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

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

    How about Altera Quartus or Xilinx ISE?

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

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

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

    My computer's gonna stop working

  • @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

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

    1 byte 32-bit

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

    Which software is this

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

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

    • @Deam._.
      @Deam._. Месяц назад

      Imagine a mesh fence that has about a kilometer in length and height. Each intersection holding one bit. That's it

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

      @@Deam._. :>

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

    It is an app or site?

    • @Dane-z7b
      @Dane-z7b 2 дня назад

      What one is it

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

    crazy

  • @ПетирБейлиш-х5ш
    @ПетирБейлиш-х5ш Год назад

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

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

    you should make a 1 GB ram lol

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

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

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

    But can it run doom?

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

    Now do this until it reaches 4 gbs :)

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

    Im making this on a 32 bit comp

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

    Transferred.

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

    Fun fact: 32 bits = 4 bytes

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

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

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

    okay i subed

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

    THE CLOCK ISIN'T WORKING!

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

    plz use 1.0.2 ver

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

    How can i download this program

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

    And thats just 32 Bits guys... I got 32.000.000.000 BYTES of RAM

  • @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!

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

    Can it mines Bitcoin?

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

    Mf be building it up one by one just to show his superiority