{"id":100,"date":"2023-06-28T05:12:35","date_gmt":"2023-06-28T05:12:35","guid":{"rendered":"http:\/\/localhost\/embeddedwala\/?p=100"},"modified":"2023-07-27T04:16:44","modified_gmt":"2023-07-27T04:16:44","slug":"all-logic-gates","status":"publish","type":"post","link":"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/","title":{"rendered":"All Logic Gates"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"100\" class=\"elementor elementor-100\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-175826e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"175826e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a19d55a\" data-id=\"a19d55a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-inner-section elementor-element elementor-element-36b0bd4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"36b0bd4\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-19cf08c\" data-id=\"19cf08c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ce9b25f elementor-widget elementor-widget-text-editor\" data-id=\"ce9b25f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2><span class=\"ez-toc-section\" id=\"What-are-Logic-Gates\"><\/span><strong>What are Logic Gates:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>Logic gates are fundamental building blocks of digital circuits. They perform logical operations on one or more binary inputs (0s and 1s) and produce a binary output based on their predefined behavior. There are several types of logic gates, each with its own unique functionality. Let&#8217;s explore them:<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_51_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor: pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\" role=\"button\"><label for=\"item-69e1a505ae60c\" ><span class=\"\"><span style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #337ab7;color:#337ab7\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #337ab7;color:#337ab7\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input aria-label=\"Toggle\" aria-label=\"item-69e1a505ae60c\"  type=\"checkbox\" id=\"item-69e1a505ae60c\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#What-are-Logic-Gates\" title=\"What are Logic Gates:\">What are Logic Gates:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#1-AND-Gate\" title=\"1. AND Gate:\">1. AND Gate:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#2-OR-Gate\" title=\"2. OR Gate:\">2. OR Gate:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#3-NOT-Gate-Inverter\" title=\"3. NOT Gate (Inverter):\">3. NOT Gate (Inverter):<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#4-NOR-Gate-NOT-OR\" title=\"4. NOR Gate (NOT OR):\">4. NOR Gate (NOT OR):<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#5-NAND-Gate-NOT-AND\" title=\"5. NAND Gate (NOT AND):\">5. NAND Gate (NOT AND):<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#6-XOR-Gate-Exclusive-OR\" title=\"6. XOR Gate (Exclusive OR):\">6. XOR Gate (Exclusive OR):<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/embeddedwala.com\/beta\/blogs\/digital-electronics\/all-logic-gates\/#7-XNOR-Gate-Exclusive-NOR\" title=\"7. XNOR Gate (Exclusive NOR):\">7. XNOR Gate (Exclusive NOR):<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-AND-Gate\"><\/span><strong>1. AND Gate:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The AND gate takes two or more inputs and produces an output that is HIGH (1) only if all the inputs are HIGH. Otherwise, the output is LOW (0). The symbol for an AND gate is a triangle with a dot at the intersection of the inputs, and the output is represented by a single line.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-117 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/AND-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"2-OR-Gate\"><\/span><strong>2. OR Gate:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The OR gate also takes two or more inputs, but it produces an output that is HIGH (1) if at least one input is HIGH. The output is LOW (0) only when all the inputs are LOW. The symbol for an OR gate is a plus sign (+), and the output is represented by a single line.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-122 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/OR-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"3-NOT-Gate-Inverter\"><\/span><strong>3. NOT Gate (Inverter):<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The NOT gate has a single input and produces the opposite output. If the input is HIGH (1), the output is LOW (0), and vice versa. The symbol for a NOT gate is a triangle with a small circle at the input, and the output is represented by a single line.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-121 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/NOT-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"4-NOR-Gate-NOT-OR\"><\/span><strong>4. NOR Gate (NOT OR):<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The NOR gate takes two or more inputs and produces an output that is HIGH (1) only if all the inputs are LOW. If any of the inputs are HIGH, the output is LOW (0). The symbol for a NOR gate is a plus sign (+) with a small circle at the output.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/NOR-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"5-NAND-Gate-NOT-AND\"><\/span><strong>5. NAND Gate (NOT AND):<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The NAND gate is a combination of the AND gate followed by a NOT gate. It takes two or more inputs and produces an output that is the inverse of the AND gate&#8217;s output. The output is LOW (0) only if all the inputs are HIGH; otherwise, it is HIGH (1). The symbol for a NAND gate is an AND gate followed by a small circle at the output.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-119 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/NAND-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"6-XOR-Gate-Exclusive-OR\"><\/span><strong>6. XOR Gate (Exclusive OR):<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The XOR gate takes two inputs and produces an output that is HIGH (1) if the inputs are different. If the inputs are the same, the output is LOW (0). The symbol for an XOR gate is a plus sign with a circle around it.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-118 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/XOR-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p><h2><span class=\"ez-toc-section\" id=\"7-XNOR-Gate-Exclusive-NOR\"><\/span><strong>7. XNOR Gate (Exclusive NOR):<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><p>The XNOR gate is a combination of the XOR gate followed by a NOT gate. It takes two inputs and produces an output that is the inverse of the XOR gate&#8217;s output. The output is HIGH (1) if the inputs are the same; otherwise, it is LOW (0). The symbol for an XNOR gate is an XOR gate followed by a small circle at the output.<\/p><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-123 size-full\" src=\"https:\/\/embeddedwala.com\/beta\/wp-content\/uploads\/2023\/06\/XNOR-Gate.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>What are Logic Gates: Logic gates are fundamental building blocks of digital circuits. They perform&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[125],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-digital-electronics","tag-logic-gates"],"acf":[],"views":456,"featured_image_urls":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":"","tp-image-grid":"","covernews-slider-full":"","covernews-slider-center":"","covernews-featured":"","covernews-medium":"","covernews-medium-square":"","_nx_notification_thumb":""},"author_info":{"display_name":"embeddedwala","author_link":"https:\/\/embeddedwala.com\/beta\/author\/embeddedwala\/"},"category_info":"<a href=\"https:\/\/embeddedwala.com\/beta\/category\/blogs\/digital-electronics\/\" rel=\"category tag\">Digital Electronics<\/a>","tag_info":"Digital Electronics","comment_count":"0","_links":{"self":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":10,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":6683,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/posts\/100\/revisions\/6683"}],"wp:attachment":[{"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embeddedwala.com\/beta\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}