[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655471-105":59,"doc-detail-655471-en":131,"doc-similar-655471":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","logic-gates-and-typical-functional-blocks-lecture-notes","Logic Gates and Typical Functional Blocks - Lectures Notes","","Lecture notes explain how digital circuits are built from logic gates, covering ideal high/low signal behavior and core gate functions (NOT, AND, OR, NAND, NOR, XOR, XNOR) using symbols, Boolean expressions, and truth tables. It then extends to typical functional blocks constructed from gates: adders (including full adders and n-bit adders), multiplexers, decoders, a multi-operation unit with an ALU, and memory elements such as latches, flip-flops, and registers.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/logic-gates-and-typical-functional-blocks-lecture-notes/655471/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/logic-gates-and-typical-functional-blocks-lecture-notes/655471.png","ImageObject",300,407,{"name":92,"@type":93},"Bintang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",15,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why are logic gates the basic elements of digital circuits?","Question",{"text":113,"@type":114},"Because digital systems can represent information using two signal levels (high and low) and logic gates perform the fundamental logic functions required to build circuits.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do multiplexers decide which input reaches the output?",{"text":118,"@type":114},"A multiplexer selects one input among multiple inputs based on control signals (e.g., Sn-1 ~ S0) and forwards the chosen input to the output.",{"name":120,"@type":111,"acceptedAnswer":121},"What is the role difference between latches, flip-flops, and registers?",{"text":122,"@type":114},"A latch stores one bit and can be built in many ways, a flip-flop triggers data storage on clock edges (commonly the D flip-flop), and a register is a collection of latches/flip-flops storing vectors of bits.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},655471,1793079304,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":105,"preview_page_count":19,"preview_urls":145},962085564381,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","| Logic Gates and Typical Functional Blocks\u003Cbr>Lecturer: Dr. Annie Guo\u003Cbr>S2, 2008 COMP9032 1 |  |  |  |  | Logic Gates\u003Cbr>• Virtually all problems can be solved by digital circuits and systems\u003Cbr>• The basic elements of digital circuits are logic gates\u003Cbr>• Logic gates\u003Cbr>– ideally have signals of two levels: high and low\u003Cbr>– perform logic functions , such as NOT, AND, OR, NAND, NOR\u003Cbr>• Logic gates can be represented by symbols and their functions can be described using truth tables or logic expressions.\u003Cbr>S2, 2008 COMP9032 2 |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n| NOT, AND & OR Gates |  |  |  |  | NAND & NOR Gates |  |  |\n| NOT\u003Cbr>AND\u003Cbr>OR | symbol X   Z | expression\u003Cbr>\u003Cbr>Z = X\u003Cbr>Z = X•Y\u003Cbr>Z = X+Y | function\u003Cbr>X Z 0 1 1 0\u003Cbr>X Y X•Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 0 0\u003Cbr>0 1\u003Cbr>X Y X+Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 0 1\u003Cbr>1 1 | X Z low\u003Cbr>high high\u003Cbr>low\u003Cbr>X Y X•Y low low\u003Cbr>low high\u003Cbr>high low\u003Cbr>high high low\u003Cbr>low\u003Cbr>low\u003Cbr>high\u003Cbr>X Y X+Y low low\u003Cbr>low high\u003Cbr>high low\u003Cbr>high high low\u003Cbr>high\u003Cbr>high\u003Cbr>high | symbol NAND X  Z\u003Cbr>Y\u003Cbr>NOR XY Z | expression\u003Cbr>Z = X•Y\u003Cbr>Z = X+Y | function\u003Cbr>X Y X•Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 1 1\u003Cbr>1 0\u003Cbr>X Y X+Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 1 0\u003Cbr>0 0 |\n|  | X ~~ ~~Y \u003Cbr>X Y \u003Cbr>~~ ~~ Z\u003Cbr>\u003Cbr> Z\u003Cbr>|  |  |  |  |  |  |\n| S2, 2008 COMP9032 3 |  |  |  |  | S2, 2008 COMP9032 4 |  |  |\n\n\n| XOR & XNOR Gates |  |  |  | Functional Blocks\u003Cbr>• With basic logic gates we can build up different functional blocks such as\u003Cbr>– Adders\u003Cbr>– Multiplexers\u003Cbr>– Decoders\u003Cbr>– Latches\u003Cbr>– Registers\u003Cbr>– Counters\u003Cbr>S2, 2008 COMP9032 6 |\n| --- | --- | --- | --- | --- |\n| XOR\u003Cbr>XNOR | symbol\u003Cbr>X Z\u003Cbr>Y\u003Cbr>\u003Cbr>\u003Cbr>X ~~ ~~  ZY ~~ ~~\u003Cbr>| expression\u003Cbr>Z = X⊕Y\u003Cbr>Z = X⊕Y | function\u003Cbr>X Y X⊕Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 0 1\u003Cbr>1 0\u003Cbr>X Y X⊕Y 0 0\u003Cbr>0 1\u003Cbr>1 0\u003Cbr>1 1 1 0\u003Cbr>0 1 |  |\n| S2, 2008 COMP9032 5 |  |  |  |  |\n| Adders (1/3)\u003Cbr>• One bit adder\u003Cbr>– Truth table\u003Cbr>A B S C\u003Cbr>– Logic function\u003Cbr>Sum: S = A ⊕ B\u003Cbr>Carry: C = A•B\u003Cbr>– Digital circuit\u003Cbr>– Symbol\u003Cbr>\u003Cbr>A   S\u003Cbr>B   C\u003Cbr>SC\u003Cbr>S2, 2008 COMP9032 7\u003Cbr>\u003Cbr>0011\u003Cbr>0101\u003Cbr>0110\u003Cbr>0001\u003Cbr>1-bit adder |  |  |  | Adders (2/3)\u003Cbr>• One bit adder with carry\u003Cbr>– Called Full Adder\u003Cbr>– Symbol\u003Cbr>– Function\u003Cbr>ABCin\u003Cbr>\u003Cbr>SCout\u003Cbr>• Adding three 1-bit numbers\u003Cbr>S2, 2008 COMP9032 8\u003Cbr>\u003Cbr>A B Cin S Cout\u003Cbr>0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1\u003Cbr>1 1 1 1 1 |\n\n\n| Adders (3/3)\u003Cbr>• n-bit adder\u003Cbr>– Symbol |  |  | Multiplexers\u003Cbr>• Function:\u003Cbr>– A multiplexer selects one input among multiple inputs and passes it to output.\u003Cbr>• The selection is controlled by control signal Sn-1 ~S0\u003Cbr>• The symbol: |  |  |\n| --- | --- | --- | --- | --- | --- |\n| AB | \u003Cbr>n-bit adder\u003Cbr>| SC |  |  |  |\n| – Function\u003Cbr>• Adding two n-bit numbers\u003Cbr>– The result is n-bit sum and 1-bit carry\u003Cbr>S2, 2008 COMP9032 9 |  |  | \u003Cbr>\u003Cbr>… | OR | \u003Cbr>\u003Cbr>|\n|  |  |  | S2, 2008 COMP9032 |  | 10 |\n| Example\u003Cbr>• 4:1 multiplexer\u003Cbr>\u003Cbr>• Function:\u003Cbr>When S1S0 = 00, Y=D0\u003Cbr>When S1S0 = 01, Y=D1\u003Cbr>When S1S0 = 10, Y=D2\u003Cbr>When S1S0 = 11, Y=D3\u003Cbr>S2, 2008 COMP9032 11 |  |  | Decoders\u003Cbr>• Function:\u003Cbr>– A decoder converses an n-bit input code to an mbit output code\u003Cbr>• n ≤ m ≤ 2n\u003Cbr>• each valid input code word produces a unique output code\u003Cbr>– Typical n-to-2n decoder\u003Cbr>• One line of outputs represents a specific input combination\u003Cbr>– The symbol:\u003Cbr>\u003Cbr>S2, 2008 COMP9032 12 |  |  |\n\n\n| Example\u003Cbr>• 3-to-8 register file address decoder |  |  |  |  | Multi-operation Unit\u003Cbr>• Perform following1-bit logic operations:\u003Cbr>– AND, OR, XOR, NOT |\n| --- | --- | --- | --- | --- | --- |\n| \u003Cbr>A0\u003Cbr>A1\u003Cbr>A2\u003Cbr>3-to-8 decoder\u003Cbr>B0 B1\u003Cbr>B7\u003Cbr>|  |  |  |  |  |\n|  |  |  |  |  | S2, 14\u003Cbr>\u003Cbr>\u003Cbr>Constructed with functional components |\n| • Function:\u003Cbr>S2, 2008 | \u003Cbr>Address Output\u003Cbr>A2 A1 A0 B0 B1 B2 B3 B4 B5 B6 B7\u003Cbr>0 0 0 1 0 0 0 0 0 0 0\u003Cbr>0 0 1 0 1 0 0 0 0 0 0\u003Cbr>0 1 0 0 0 1 0 0 0 0 0\u003Cbr>0 1 1 0 0 0 1 0 0 0 0\u003Cbr>1 0 0 0 0 0 0 1 0 0 0\u003Cbr>1 0 ","cbCaipidnr9D1F5z","https://ap.wps.com/l/cbCaipidnr9D1F5z","pdf",71707,"English","# Logic Gates\n## NOT, AND & OR Gates\n## NAND & NOR Gates\n## XOR & XNOR Gates\n# Functional Blocks\n## Adders\n## Multiplexers\n## Decoders\n## Multi-operation Unit (ALU)\n# Sequential Elements\n## Latches and Flip Flops\n## Registers","[{\"question\":\"Why are logic gates the basic elements of digital circuits?\",\"answer\":\"Because digital systems can represent information using two signal levels (high and low) and logic gates perform the fundamental logic functions required to build circuits.\"},{\"question\":\"How do multiplexers decide which input reaches the output?\",\"answer\":\"A multiplexer selects one input among multiple inputs based on control signals (e.g., Sn-1 ~ S0) and forwards the chosen input to the output.\"},{\"question\":\"What is the role difference between latches, flip-flops, and registers?\",\"answer\":\"A latch stores one bit and can be built in many ways, a flip-flop triggers data storage on clock edges (commonly the D flip-flop), and a register is a collection of latches/flip-flops storing vectors of bits.\"}]","Logic Gates and Typical Functional Blocks - Lectures Notes | PDF",1792961922,[146,150,154,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a4c0e34bce7800fe04d6c81f79cbf1db.webp",983,694,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0cc3017b673fe8c0ecd1aea4d59f0f29.webp",982,693,{"page_no":81,"url":155,"width":156,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a04e3fce2e0ea9cec2db4052a448643f.webp",981,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c736a52916ff376efe1cb9bd04a077be.webp",980,692,{"list":162,"token":66},[163,169,175,181,188,194,200,206,212,218],{"doc_id":164,"doc_title":165,"file_type":138,"home_preview_img_url":166,"slug":167,"view_count":14,"category_name":30,"create_tm":168},720171,"74LS Shop ListAvailable Parts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024386082/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=WAfhM99DiETR4c66YPHig3yH0AI%3D","74ls-shop-list-available-parts",1795035009,{"doc_id":170,"doc_title":171,"file_type":138,"home_preview_img_url":172,"slug":173,"view_count":39,"category_name":30,"create_tm":174},657684,"Basic Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975660853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=WqIrUTngmyIKZzh5ZvxDBDelm%2FA%3D","basic-logic-gates",1792986269,{"doc_id":176,"doc_title":177,"file_type":138,"home_preview_img_url":178,"slug":179,"view_count":52,"category_name":30,"create_tm":180},655475,"Introduction to Logic Gates - Basic Gates - Negative Gates - Exclusive Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082902/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=e%2F0FgTjYN4TbXg4aC28tcvlO0nk%3D","introduction-to-logic-gates-basic-gates-negative-gates-exclusive-gates",1792961945,{"doc_id":182,"doc_title":183,"file_type":138,"home_preview_img_url":184,"slug":185,"view_count":186,"category_name":30,"create_tm":187},657681,"Lecture 3 - Logic Gates (II)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975144440/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=5wq%2FZW9EHSrEYTSgyNAjOzzRlbg%3D","lecture-3-logic-gates-ii",12,1792986267,{"doc_id":189,"doc_title":190,"file_type":138,"home_preview_img_url":191,"slug":192,"view_count":39,"category_name":30,"create_tm":193},655478,"Basic Logic Gates in Digital Electronics - What are Basic Logic Gates, Basic and Derived Logic Gates, Derived Logic Gates, and Differences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082926/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=8E8T5iZkBh7uS37N8zXjNh6pmxg%3D","basic-logic-gates-in-digital-electronics-what-are-basic-logic-gates-basic-and-derived-logic-gates-derived-logic-gates-and-differences",1792961954,{"doc_id":195,"doc_title":196,"file_type":138,"home_preview_img_url":197,"slug":198,"view_count":39,"category_name":30,"create_tm":199},655465,"Digital Logic Gates 1.0 - Features and Component Parameters - Functional Descriptions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974773809/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=eQFpcsW1XIwHLEAGOZTeybzcyXM%3D","digital-logic-gates-10-features-and-component-parameters-functional-descriptions",1792961912,{"doc_id":201,"doc_title":202,"file_type":138,"home_preview_img_url":203,"slug":204,"view_count":44,"category_name":30,"create_tm":205},655473,"Gates and Logic - From Transistors to Logic Gates and Logic Circuits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975082828/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=UgMtiY53%2BR9ADBoQtA6Hu2a1qok%3D","gates-and-logic-from-transistors-to-logic-gates-and-logic-circuits",1792961927,{"doc_id":207,"doc_title":208,"file_type":138,"home_preview_img_url":209,"slug":210,"view_count":39,"category_name":30,"create_tm":211},655470,"TBQ_Feher_DigitalLogic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974773823/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=nbry4TPZaerxLjlagr4fY2qPThE%3D","tbq_feher_digitallogic",1792961921,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":34,"category_name":30,"create_tm":217},682430,"Basics of Digital Systems - Boolean Algebra & Logic Gates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998912456/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=7Euj2WyMrwNGXuAB16cCmkS6kLA%3D","basics-of-digital-systems-boolean-algebra-logic-gates",1793970602,{"doc_id":219,"doc_title":220,"file_type":138,"home_preview_img_url":221,"slug":222,"view_count":19,"category_name":30,"create_tm":223},720181,"Flip-Flops - Week 3 - Flip-flop memory and timing noise","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024386862/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=aBHXHjUmQ7elQnAuii71vykgEaE%3D","flip-flops-week-3-flip-flop-memory-and-timing-noise",1795035118]