Pulses, Clocks, Latches & Flip-flops - LRR #7

67,986
0
Published 2023-07-15
In this episode, we introduce our first memory circuits - latches and flip-flops. We also explore redstone pulse generators and clocks.

Patreon: www.patreon.com/mattbatwings
Discord: discord.gg/V5KFaF63mV
My socials: linktr.ee/mattbatwings
My texture pack: modrinth.com/resourcepack/mattpack
World Download: (JAVA 1.18.2) www.planetminecraft.com/project/pulses-clocks-latc…

-------------------------

Want to get more involved in the logical redstone community?
Learn Logical Redstone!    • Logical Redstone Reloaded  
Open Redstone Engineers (ORE): openredstone.org/

0:00 Introduction
0:40 Pulse Generators
3:03 Repeater Extension Property
3:49 Clocks
6:18 A Circuit with Memory?
7:13 Set-Reset Latch (SR Latch)
9:28 Data Latch (D Latch)
11:05 Flip-flops
11:58 Toggle Flip-flop (T Flip-flop)
12:51 Why no T Latch?
13:19 Subscribe!

Music (in order):
LitKidBeats - Good Vibes    • [FREE] Happy Type Beat - "GOOD VIBES"...  
PRNV - Happy High    • Happy High || happy lofi music || PRN...  
Harris Heller - Golden Age    • Golden Age  
LuKremBo - biscuit    • (no copyright music) lofi type beat “...  
Infraction - Photograph    • Vlog lo-fi Anime Fashion by Infractio...  
Sascha Ende - Finger ins Ohr    • Sascha Ende Finger ins Ohr  
Harris Heller - Guilty Spark    • Guilty Spark  
Harris Heller - Manhattan Project    • Manhattan Project  
LuKremBo - biscuit    • (no copyright music) lofi type beat “...  
Infraction - Serotonin    • Vlog Lo-Fi Chill by Infraction [No Co...  
Milky Wayvers - Love in Japan    • Love in Japan  
Mellowind - Look Up    • Mellowind - Look Up [NOW ON SPOTIFY]  

All Comments (21)
  • @E4tHam
    Great explanations of the repeaters! This cleared things up for me! I disagree with 11:40. By convention of modern digital design/VLSI, flip-flops are edge-triggered and latches are level triggered. Look up master-slave flip-flops. You can create one with 4 Redstone Repeaters instead of just 2 There are lots of different technologies and strategies in VLSI, and it used to be the case that latches and flip-flops were implemented the same way. But now that transistors are so fast, minimizing hold time is usually preferred. Edge-triggered flip-flops usually have negative hold time, which makes them easier to design with. Though it is possible that Redstone designs are better with latch-based flip-flops and not master-slave flip-flops I have a masters in Digital Design and VLSI and would be happy to talk more
  • @RonicTheEgg
    Never knew pulses would be so important and complicated
  • @abeyroy007
    You explains the techniques better than my Computer Organisation lecturer 😂 Keep up the work 🟥🪨 Engineer
  • @iaroslav3249
    Fun fact: The D-Latch with an enable signal is called a "Transparent Latch" It has two inputs and is designed to captures data.
  • @Swimmer-rw7qb
    Don't forget the JK Flip Flop! It's like the gated SR latch, but it can also toggle the output when both inputs are high.
  • @goop9086
    You are the best explainer to exist, you are better then every single teacher I have ever had.
  • @Jmcgee1125
    My clocks have always been the most horrific things imaginable (especially if I want a toggle), it's awesome to see a very simple version here!
  • @OwenWalker
    Thank you for providing this playlist - It is greatly appreciated!! I've been watching the Computer Science playlist from CrashCourse and being able to use your LRR playlist as a method to put the theory they provide into practice has been really useful. One of the things I found useful whilst going through both playlists was to also build out the expanded diagrams from CrashCourse of the XOR gate and the D-Latch (Or Gated Latch as they call it) Once I'd got a practical example it then gave me a better understanding of the two mechanisms once abstracted which I found important to help cement my understanding.
  • @NerdByAnyOtherName
    Probably the two most commons types of clocks for everyday use in Minecraft (which I'm guessing you didn't mention because they are rarely or never used in logical redstone) are the "auto-dropper" clock and the "Ethonian Hopper" clock The "auto-dropper" takes a comparator output from a dropper, boosts it with a repeater, then runs it back into the comparator's side, with the output doing something to power the dropper. This creates a clock that only turns on when there are items in the dropper and repeatedly pulses until all of the items in the dropper have been dropped out. Very useful for item transportation, or if you switch out the dropper for a dispenser it can be used to auto-fire potions/arrows/etc The "Ethonian" clock (named after prolific redstone content creator EthosLab) is one whose design allows you to create a large variety of pulse lengths, including exceptionally long ones. It is built with 2 hoppers facing into each other with a comparator output from each leading into 2 sticky pistons that move a Redstone Block back and forth between positions that power (and thus lock) one of the two hoppers (the setup is very specific, but you can find it very easily with Google).
  • @srather
    The differentiation between latches and flipflops is made, because you usually add more safety to the flipflop to prevent funky behaviour. For example you'd make your d-flipflop take the input on a rising edge but change the output on the falling edge. That gives time for the circuit to stabilize and prevents weird behavior.
  • @Enviction
    i have been researching computers and playing logic world and digital logic sim and this is really fun to watch and to learn 1 or 2 things
  • @Marijnemans
    Wish you could build builds like u used to do. Maybe the first Redstone camera would be cool (you could do it with pushing blocks in the terain and use the push limit to stop more blocks from coming in then u remove the blocks out of the terain and use repeaters to see if there is a block or not if not it means that there is a block in the terain if there is there is air in the terain then make the info go to a screen and load how the terain looks like with cubes (that don’t have a side)) it would be super cool to see this. Pls like this I really want to see Mathew do this.
  • @johndeyner
    1:52 Observers activate when the block in front of them or the state of the block change not when it receives a block update
  • @ChadDeveloper
    Copper bulbs are the new methods to make t-latches lol
  • @anon_y_mousse
    I feel like we need an actual 3D circuit design tool. Just imagine if we had a cube-shaped processor.
  • @element1192
    My favorite RS latch is made with just two droppers and a comparator.
  • YES FINALLY This is my fav series because I'm still learning redstone Love yo vids matt