Everything2
Near Matches
Ignore Exact
Full Text
Everything2

How an S-R latch can destroy the universe

created by Cid Highwind

(idea) by Cid Highwind (3.3 y) (print)   ?   (I like it!) 3 C!s Thu May 04 2000 at 18:13:42

An S-R latch (or S-R flip-flop) is a bistable multivibrator circuit made by cross-connecting two NAND gates.


     ______
S ---|     |
     |     |O-+------>Q
   +-|_____|  |
   |          |
   +------------+
              | |
   +----------+ |
   | ______     |
   +-|     |    |
     |     |O---+----Q'
R ---|_____|



If S=0 and R=1, the latch resets, and Q=0. If S=1 and R=0, the latch sets, and Q=1. If S=0 and R=0, the latch holds the present value of Q. In there cases Q' (Qnot) is the opposite of Q. However, if S and R are both 1, Q and Q' output the same value, meaning that Q = Q'. This is called the forbidden case.

If some poor EE student puts an S-R latch into the forbidden state, then Q=Q', and all the basic assumptions of logic fail. All the laws of mathematics and physics break down, 0 equals Infinity, atomic nucleii repel their electrons, matter ceases to exist, and the universe disappears in a puff of logic.

(idea) by Xoder (1.8 y) (print)   ?   (I like it!) Mon Apr 08 2002 at 4:14:53

As much as every "poor EE student" wishes we could destroy the universe with S-R Latches (especialy at 4 in the morning with Circuits homework), simple reality kicks in here. The heart of your S-R latch is made out of two MOSFET's (or other transistors, like BJTs or JFETs). That's EE geek speak for "really tiny transistor". Now, the circuit operates by sending one of the two outputs HIGH, and when one of the outputs is HIGH, it sends the other to LOW. In reality, one of these MOSFET's is "slower" than the other. It will be slower at reaching HIGH, and when the other one beats it to HIGH, it will be the one set low.

This I learned after trying to set both inputs to HIGH to try to generate a simple random bit generator. It failed, because the "faster" transistor will *always* be faster.

printable version
chaos

World's most flexible programming language bistable multivibrator halting dog problem This sentence is in Spanish while you're not looking
The Big Bang as the origin of matter How to destroy the world using a spaceship and an elephant NAND How to write an episode of Dukes of Hazzard
My trip to a Live Sex Show SR Latch MOSFET How many angels can dance on the head of a pin?
forbidden SR Flip-Flop Cartoran Empire I want to destroy the universe
flip-flop random number generator Y combinator The two essential phrases to learn in other languages
Logical necessity EE Brainfuck It's very hard to destroy the Universe
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Little presents from the Node Fairy:
SKS
the book of clean white pages, a poem of self absorption
Imperial Beach Radio Receiving Facility
North American Poetry
Standard sitcom episode structure
The ultraviolet catastrophe
A beam from an angry star
Jason Voorhees
Satan
Platonism
Chosôn Dynasty
Pompey
dwarf planet
New Writeups
Timeshredder
The Texas UFO Crash of 1897(event)
Heitah
The Dark Knight(review)
ignis_glaciesque
Uppsala(place)
ignis_glaciesque
diffusion of responsibility(idea)
TheOrientalAfrican
The Soft Meadow of my Childhood(event)
BookReader
The Dragon Slayers(fiction)
kohlcass
religiously fashionable(review)
Pavlovna
waulking song(thing)
tentative
Stick Man(poetry)
Ereneta
The Fight with the Snapping Turtle: Or, the American St. George(poetry)
sitaraika
Fog and fire(personal)
MonoliTheory
She sobs in response(fiction)
kohlcass
Arzu(person)
Clarke
Duster(fiction)
mountain boy
Oscar Diaz v. Delvin Rodriguez(person)
E2 is a by-product of the existence of The Everything Development Company