programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
merari42@lemmy.world to Programmer Humor@lemmy.worldEnglish · 2 years ago

Logic gate

lemmy.world

message-square
16
link
fedilink
484

Logic gate

lemmy.world

merari42@lemmy.world to Programmer Humor@lemmy.worldEnglish · 2 years ago
message-square
16
link
fedilink
alert-triangle
You must log in or # to comment.
  • partial_accumen@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 years ago

    The inversions on both inputs to the NAND gates bothers me. Wouldn’t inverting both inputs as well a the output turn a NAND back into an AND gate?

    • Fermion@feddit.nl
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 years ago

      A NAND gate with two inverted inputs is equivalent to an OR gate. The ouput is only false when both inputs are false.

      • partial_accumen@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        You’re right, it doesn’t seem like it should but that checks out:

        11 1

        01 1

        01 1

        00 0

        • badcommandorfilename@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 years ago

          https://en.m.wikipedia.org/wiki/De_Morgan’s_laws

  • AFK BRB Chocolate@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 years ago

    It should have some kind of latch where there are two things to push and you have to do them both, or just one or the other, or whatever.

  • Jessica@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    12
    ·
    2 years ago

    The OR gates only have 1 input for some reason. Otherwise very cool!

  • lad
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    I thought Logic Gate is the one with the two guardians and one always lies and the other speaks truth. Or is that Logical Gate? 🤔

  • clucose@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    Also provides steps for getting over it.

    • ferret@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      The middle bar is a perfectly adequate step all by itself

  • samus12345@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    That brought back memories!

  • ceenote@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    Cool but why does that AND gate gotta be like that?

  • lseif@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    redundant OR gates

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I could never have a gate like that. Nerds from everywhere would be showing up and taking pictures.

  • EtherWhack@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Round peg, square hole

  • milicent_bystandr@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    2 years ago

    Looks illogical to me

  • owatnext@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    All I remember is my professor, circa 2015 “DIAMOND, DECISION!”

Programmer Humor@lemmy.world

programmerhumor@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 108 users / month
  • 542 users / 6 months
  • 34 local subscribers
  • 1.78K subscribers
  • 70 Posts
  • 175 Comments
  • Modlog
  • mods:
  • usr_bin_env@lemmy.world
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org