Lemmy.World
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
merari42 to Programmer HumorEnglish · 1 年前

Logic gate

message-square
16
link
fedilink
487

Logic gate

merari42 to Programmer HumorEnglish · 1 年前
message-square
16
link
fedilink
alert-triangle
You must log in or # to comment.
  • partial_accumen
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    1 年前

    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
      ·
      1 年前

      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
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 年前

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

        11 1

        01 1

        01 1

        00 0

        • badcommandorfilename
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 年前

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

  • AFK BRB Chocolate
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 年前

    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
    ·
    1 年前

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

  • lad@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 年前

    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? 🤔

  • samus12345
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 年前

    That brought back memories!

  • clucose@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 年前

    Also provides steps for getting over it.

    • ferret@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 年前

      The middle bar is a perfectly adequate step all by itself

  • ceenote
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 年前

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

  • lseif@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 年前

    redundant OR gates

  • EtherWhack
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 年前

    Round peg, square hole

  • MNByChoice@midwest.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 年前

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

  • owatnext
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 年前

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

  • milicent_bystandr@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 年前

    Looks illogical to me

Programmer Humor

programmerhumor

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
  • 1 user / month
  • 491 users / 6 months
  • 1.04K local subscribers
  • 1.78K subscribers
  • 67 Posts
  • 179 Comments
  • Modlog
  • mods:
  • usr_bin_env
  • UI: 0.19.12-3-gc6677485
  • BE: 0.19.12-4-gd8445881a
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org