SlideShare a Scribd company logo
DAY3




        順序控制
       組合邏輯實現
順序控制 : NOT
     接點




                       NO : ???
             1: 燈 動作

1: NC A 動作
順序控制 : AND
順序控制:OR
順序控制:NAND
順序控制:AND , RELAY
Decoder




          assign D0 = !A1 && ! A0;
          assign D1 = !A1 && A0;
          assign D2 = A1 && !A0;
          assign D3 = A1 && A0;
Multiplexer




              If (A)
                   D = I0
              else
                   D = I1

              Assign D = A ? I0: I1
Demultiplexer




                assign D0 = I && !A;
                assign D1 = I && A;
Verilog HDL
assign , always
Case, if
Case default

More Related Content

Viewers also liked

Day4 Open
Day4 OpenDay4 Open
Day4 Open
Ron Liu
 
Bible Quiz on John - 4 Round (people)
Bible Quiz on John - 4 Round (people)Bible Quiz on John - 4 Round (people)
Bible Quiz on John - 4 Round (people)
Clement Selvaraj
 
Day3 Lab
Day3 LabDay3 Lab
Day3 Lab
Ron Liu
 
The future of print media
The future of print mediaThe future of print media
The future of print media
ch bearstar
 
Bible Quiz on John - 5 Round (places)
Bible Quiz on John - 5 Round (places)Bible Quiz on John - 5 Round (places)
Bible Quiz on John - 5 Round (places)
Clement Selvaraj
 
Day3 實驗板介紹
Day3 實驗板介紹Day3 實驗板介紹
Day3 實驗板介紹
Ron Liu
 
Start up nations
Start up nationsStart up nations
Start up nationsRon Liu
 
James Burke A Career In American Business
James Burke A Career In American BusinessJames Burke A Career In American Business
James Burke A Career In American Business
Ron Liu
 
School of Marketing
School of MarketingSchool of Marketing
School of Marketing
ch bearstar
 
Creative integrity
Creative integrityCreative integrity
Creative integrity
ch bearstar
 

Viewers also liked (10)

Day4 Open
Day4 OpenDay4 Open
Day4 Open
 
Bible Quiz on John - 4 Round (people)
Bible Quiz on John - 4 Round (people)Bible Quiz on John - 4 Round (people)
Bible Quiz on John - 4 Round (people)
 
Day3 Lab
Day3 LabDay3 Lab
Day3 Lab
 
The future of print media
The future of print mediaThe future of print media
The future of print media
 
Bible Quiz on John - 5 Round (places)
Bible Quiz on John - 5 Round (places)Bible Quiz on John - 5 Round (places)
Bible Quiz on John - 5 Round (places)
 
Day3 實驗板介紹
Day3 實驗板介紹Day3 實驗板介紹
Day3 實驗板介紹
 
Start up nations
Start up nationsStart up nations
Start up nations
 
James Burke A Career In American Business
James Burke A Career In American BusinessJames Burke A Career In American Business
James Burke A Career In American Business
 
School of Marketing
School of MarketingSchool of Marketing
School of Marketing
 
Creative integrity
Creative integrityCreative integrity
Creative integrity
 

More from Ron Liu

Engineer
EngineerEngineer
Engineer
Ron Liu
 
XXX-Company-my viewpoints-2011-03-07
XXX-Company-my viewpoints-2011-03-07XXX-Company-my viewpoints-2011-03-07
XXX-Company-my viewpoints-2011-03-07
Ron Liu
 
book digest: product design and development
book digest: product design and developmentbook digest: product design and development
book digest: product design and development
Ron Liu
 
The Hero Within
The Hero WithinThe Hero Within
The Hero WithinRon Liu
 
About Thinking
About ThinkingAbout Thinking
About ThinkingRon Liu
 
書摘Teach Your Child How To Think
書摘Teach Your Child How To Think書摘Teach Your Child How To Think
書摘Teach Your Child How To ThinkRon Liu
 
Day4 Lab
Day4 LabDay4 Lab
Day4 Lab
Ron Liu
 
Day3 Quartus II Tutorial
Day3 Quartus II TutorialDay3 Quartus II Tutorial
Day3 Quartus II Tutorial
Ron Liu
 
Day2 Verilog HDL Basic
Day2 Verilog HDL BasicDay2 Verilog HDL Basic
Day2 Verilog HDL Basic
Ron Liu
 
Day2 Intro. Model Sim
Day2 Intro. Model SimDay2 Intro. Model Sim
Day2 Intro. Model Sim
Ron Liu
 
Day2 Logic Circuits
Day2 Logic CircuitsDay2 Logic Circuits
Day2 Logic Circuits
Ron Liu
 
Day2 Open
Day2 OpenDay2 Open
Day2 Open
Ron Liu
 
Day1 Lab1
Day1 Lab1Day1 Lab1
Day1 Lab1
Ron Liu
 
Day1 02.Introduction
Day1 02.IntroductionDay1 02.Introduction
Day1 02.Introduction
Ron Liu
 
Free Lunch Talk Ron Nov 08
Free Lunch Talk Ron Nov 08Free Lunch Talk Ron Nov 08
Free Lunch Talk Ron Nov 08
Ron Liu
 

More from Ron Liu (15)

Engineer
EngineerEngineer
Engineer
 
XXX-Company-my viewpoints-2011-03-07
XXX-Company-my viewpoints-2011-03-07XXX-Company-my viewpoints-2011-03-07
XXX-Company-my viewpoints-2011-03-07
 
book digest: product design and development
book digest: product design and developmentbook digest: product design and development
book digest: product design and development
 
The Hero Within
The Hero WithinThe Hero Within
The Hero Within
 
About Thinking
About ThinkingAbout Thinking
About Thinking
 
書摘Teach Your Child How To Think
書摘Teach Your Child How To Think書摘Teach Your Child How To Think
書摘Teach Your Child How To Think
 
Day4 Lab
Day4 LabDay4 Lab
Day4 Lab
 
Day3 Quartus II Tutorial
Day3 Quartus II TutorialDay3 Quartus II Tutorial
Day3 Quartus II Tutorial
 
Day2 Verilog HDL Basic
Day2 Verilog HDL BasicDay2 Verilog HDL Basic
Day2 Verilog HDL Basic
 
Day2 Intro. Model Sim
Day2 Intro. Model SimDay2 Intro. Model Sim
Day2 Intro. Model Sim
 
Day2 Logic Circuits
Day2 Logic CircuitsDay2 Logic Circuits
Day2 Logic Circuits
 
Day2 Open
Day2 OpenDay2 Open
Day2 Open
 
Day1 Lab1
Day1 Lab1Day1 Lab1
Day1 Lab1
 
Day1 02.Introduction
Day1 02.IntroductionDay1 02.Introduction
Day1 02.Introduction
 
Free Lunch Talk Ron Nov 08
Free Lunch Talk Ron Nov 08Free Lunch Talk Ron Nov 08
Free Lunch Talk Ron Nov 08
 

Day3 順序控制的組合邏輯實現