chapter 5 problems.docx

Upload: shah

Post on 06-Jul-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 Chapter 5 Problems.docx

    1/23

    Chapter 5 Problems

    Question # 1:-

    Solution:-

    a)b)

  • 8/17/2019 Chapter 5 Problems.docx

    2/23

    c)

    Question # 2:-

    Solution:-

  • 8/17/2019 Chapter 5 Problems.docx

    3/23

    a)

  • 8/17/2019 Chapter 5 Problems.docx

    4/23

  • 8/17/2019 Chapter 5 Problems.docx

    5/23

  • 8/17/2019 Chapter 5 Problems.docx

    6/23

    Question # 3:-

    Solution:-

  • 8/17/2019 Chapter 5 Problems.docx

    7/23

  • 8/17/2019 Chapter 5 Problems.docx

    8/23

  • 8/17/2019 Chapter 5 Problems.docx

    9/23

  • 8/17/2019 Chapter 5 Problems.docx

    10/23

    Question # 4:-

    Solution:-

  • 8/17/2019 Chapter 5 Problems.docx

    11/23

  • 8/17/2019 Chapter 5 Problems.docx

    12/23

  • 8/17/2019 Chapter 5 Problems.docx

    13/23

  • 8/17/2019 Chapter 5 Problems.docx

    14/23

    d)

  • 8/17/2019 Chapter 5 Problems.docx

    15/23

  • 8/17/2019 Chapter 5 Problems.docx

    16/23

    Question # 5:-

    Solution:-

  • 8/17/2019 Chapter 5 Problems.docx

    17/23

  • 8/17/2019 Chapter 5 Problems.docx

    18/23

  • 8/17/2019 Chapter 5 Problems.docx

    19/23

  • 8/17/2019 Chapter 5 Problems.docx

    20/23

  • 8/17/2019 Chapter 5 Problems.docx

    21/23

  • 8/17/2019 Chapter 5 Problems.docx

    22/23

    Question # 6:-

    Solution:-

    entity AND_OR isport (AND_OUT : out std_logic;

    OR_OUT : out std_logic;I0 : in std_logic;I1 : in std_logic;CLK : in std_logic;CE : in std_logic;RST : in std_logic);end AND_OR;architecture BEHAVIORAL_ARCHITECTURE of AND_OR is

  • 8/17/2019 Chapter 5 Problems.docx

    23/23

    signal and_int : std_logic;signal or_int : std_ logic;beginAND_OUT