Present state Next state Q + M N

Similar documents
1 Introduction to Modulo 7 Arithmetic

Seven-Segment Display Driver

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS

EE1000 Project 4 Digital Volt Meter

Designing A Concrete Arch Bridge

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology!

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS

QUESTIONS BEGIN HERE!

# 1 ' 10 ' 100. Decimal point = 4 hundred. = 6 tens (or sixty) = 5 ones (or five) = 2 tenths. = 7 hundredths.

MAT3707. Tutorial letter 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/201/1/2017

0.1. Exercise 1: the distances between four points in a graph

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

Garnir Polynomial and their Properties

Constructive Geometric Constraint Solving

Walk Like a Mathematician Learning Task:

QUESTIONS BEGIN HERE!

Instructions for Section 1

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem)

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs

Numbering Boundary Nodes

DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Leslie Rogalski

Complete Solutions for MATH 3012 Quiz 2, October 25, 2011, WTT

Aquauno Video 6 Plus Page 1

Module 2 Motion Instructions

d e c b a d c b a d e c b a a c a d c c e b

CS September 2018

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

FSA. CmSc 365 Theory of Computation. Finite State Automata and Regular Expressions (Chapter 2, Section 2.3) ALPHABET operations: U, concatenation, *

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs

SAMPLE PAGES. Primary. Primary Maths Basics Series THE SUBTRACTION BOOK. A progression of subtraction skills. written by Jillian Cockings

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2

Section 10.4 Connectivity (up to paths and isomorphism, not including)

CS150 Sp 98 R. Newton & K. Pister 1

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

Physics 3150, Laboratory 9 Clocked Digital Logic and D/A Conversion

Planar Upward Drawings

Chem 104A, Fall 2016, Midterm 1 Key

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

S i m p l i f y i n g A l g e b r a SIMPLIFYING ALGEBRA.

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem)

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1

12. Traffic engineering

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review

Multipoint Alternate Marking method for passive and hybrid performance monitoring

Edge-Triggered D Flip-flop. Formal Analysis. Fundamental-Mode Sequential Circuits. D latch: How do flip-flops work?

CS61B Lecture #33. Administrivia: Autograder will run this evening. Today s Readings: Graph Structures: DSIJ, Chapter 12

CS 241 Analysis of Algorithms

1. Determine whether or not the following binary relations are equivalence relations. Be sure to justify your answers.

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

A Simple Code Generator. Code generation Algorithm. Register and Address Descriptors. Example 3/31/2008. Code Generation

5/7/13. Part 10. Graphs. Theorem Theorem Graphs Describing Precedence. Outline. Theorem 10-1: The Handshaking Theorem

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1.

35 th Design Automation Conference Copyright 1998 ACM

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Limits Indeterminate Forms and L Hospital s Rule

Last time: introduced our first computational model the DFA.

ECE Experiment #4 Seven Segment Display Interfacing and Timing

ECE Experiment #6 Kitchen Timer

Register Allocation. Register Allocation. Principle Phases. Principle Phases. Example: Build. Spills 11/14/2012

Applying Retrograde Analysis to Nine Men's Morris. 1. Introduction

Nefertiti. Echoes of. Regal components evoke visions of the past MULTIPLE STITCHES. designed by Helena Tang-Lim

Solutions to Homework 5

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

Tableau algorithms defined naturally for pictures

N=4 L=4. Our first non-linear data structure! A graph G consists of two sets G = {V, E} A set of V vertices, or nodes f

Grade 7/8 Math Circles March 4/5, Graph Theory I- Solutions

OpenMx Matrices and Operators

COMP108 Algorithmic Foundations

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

for Performance Potsdam, NY Urbana, IL can be connected to the inputs and outputs of the LUT to

Outline. Binary Tree

DFA Minimization. DFA minimization: the idea. Not in Sipser. Background: Questions: Assignments: Previously: Today: Then:

C-201 Sheet Bar Measures 1 inch

Problem solving by search

UNCORRECTED SAMPLE PAGES 4-1. Naming fractions KEY IDEAS. 1 Each shape represents ONE whole. a i ii. b i ii

Integration Continued. Integration by Parts Solving Definite Integrals: Area Under a Curve Improper Integrals

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am

Divided. diamonds. Mimic the look of facets in a bracelet that s deceptively deep RIGHT-ANGLE WEAVE. designed by Peggy Brinkman Matteliano

RAW / PEYOTE STITCH / BRICK STITCH / HERRINGBONE

CS 461, Lecture 17. Today s Outline. Example Run

Steinberg s Conjecture is false

TABLE OF CONTENTS ASSEMBLY INSTRUCTIONS SHEET 1 OF 8 TABLE OF CONTENTS PAGE NUMBER DESCRIPTION B 2 PARTS LIST AND LAYOUT 3-5 PARTS A-D DETAIL DRAWINGS

Using the Printable Sticker Function. Using the Edit Screen. Computer. Tablet. ScanNCutCanvas

Announcements. Not graphs. These are Graphs. Applications of Graphs. Graph Definitions. Graphs & Graph Algorithms. A6 released today: Risk

a b c cat CAT A B C Aa Bb Cc cat cat Lesson 1 (Part 1) Verbal lesson: Capital Letters Make The Same Sound Lesson 1 (Part 1) continued...

Organization. Dominators. Control-flow graphs 8/30/2010. Dominators, control-dependence. Dominator relation of CFGs

Trees as operads. Lecture A formalism of trees

NMEA 2000 GATEWAY ASSEMBLY

Transcription:

Qustion 1. An M-N lip-lop works s ollows: I MN=00, th nxt stt o th lip lop is 0. I MN=01, th nxt stt o th lip-lop is th sm s th prsnt stt I MN=10, th nxt stt o th lip-lop is th omplmnt o th prsnt stt I MN=11, th nxt stt o th lip lop is 1. () omplt th ollowin tl (us on t rs whn possil). Prsnt stt Nxt stt Q Q + M N 1 0 1 1 () Usin th tl otin in () n Krnuh mps, riv n minimiz th input qutions or ountr ompos o M-N lip-lops, whih ounts in th ollowin squn: AB = 000, 001, 011, 111, 101, 100, () Usin th D lip-lop, implmnt th sm ountr ivn in (). Qustion 2. Th stt irm o squntil iruit is ivn s low. () Tult th rlt stt tl. () Ru th stt tl to minimum numr o stts usin row mthin. () Rpt () usin n implition hrt. () Drw th ru stt irm.

Answr 1. () onitions I MN = 00 thn Q + = 0 I MN = 01 thn Q + = Q I MN = 10 thn Q + = Q' I MN = 11 thn Q + = 1 Prsnt stt Q Nxt stt Q + M N MN inputs 0 X 1 X 1 0 X 0 1 1 X 1 oul 00 or 01 11 or 10 00 or 10 11 or 01 () Prsnt stt - nxt stt tl n rlvnt MN input onitions tls or th squn o AB = 000, 001, 011, 111, 101, 100,. For this ountr, thr MN lip-lops r rquir A B A + B + + M A N A M B N B M N 0 X 0 X 1 X 1 1 0 X 1 X X 1 0 X X X X X X X X X 1 1 1 1 1 X X 1 X 1 1 0 X X 0 X 1 1 X 1 0 X X 0 1 1 0 X X X X X X X X X 1 1 1 1 X 1 X 0 X 1 M A M B M AB 01 11 11 11 11 11 10 X X X 0 X X X X 0 1 X X 1 X X 0 X X X X N A N B N AB 01 11 11 11 11 11 10 0 X X X 0 X X X X X X X X 1 X X 1 1 X 1 0 X 1 1 1 0 From th Krnuh mps, n lso y insption: M A = B, N A = ; M B = A', N B = A' ; M = A', N = A'+B

M A M B M N A' N B' N ' lok () Input qutions or th D lip-lops or th ountr n riv usin th prsnt stt- nxt stt tl. A B A + B + + 1 1 0 X X X 1 1 1 1 1 0 1 1 1 1 0 X X X 1 1 1 1 D A D B D AB 01 11 11 11 11 11 10 X X X X X X 0 1 1 1 1 1 1 1 1 0 From th Krnuh mps, n lso y insption: D A = B+A ; D B = A' ; D = A' +B D A D B D A' B' ' lok

Answr 2. () It is mor onvnint to pply prours or stt rution usin stt tl rthr thn stt irm. Th stt tl or th ivn stt irm is tult in th ollowin tl. Prsnt stt Nxt stt () Whn two stts r quivlnt, on o thm n rmov without ltrin th input-output rltionships. Stp 1. By insptin th rows in th tl o (), it is possil to s tht stts n r quivlnt. Thy oth o to stts n n hv outputs o 0 n 1 or x = 0 n x = 1, rsptivly. Thror, stts n r quivlnt n on o ths stts n rmov. Stp 2. Th row with prsnt stt is rmov n stt in th nxt stt olumn is rpl y its quivlnt, stt. Th prour is shown in th nxt tl. Prsnt stt Nxt stt Stp 3. Prsnt stt now hs nxt stts n n outputs 0 n 1 or x = 0 n x = 1, rsptivly. Insption o th rows rvls tht stts n r quivlnt. So, stt n rmov n rpl y. Th inl ru stt tl is shown in th nxt tl. Prsnt stt Nxt stt () hkin h pir o stts or possil quivlny n on systmtilly y mns o n implition tl. In this tl, on th lt si lon th vrtil r list ll th stts xpt th irst, n ross th ottom

horizontlly r list ll th stts xpt th lst. Th rsult is isply o ll possil omintions o two stts with squr pl in th intrstion o row n olumn whr th two stts n tst or quivln. Stp 1. Two stts tht r not quivlnt r mrk with ross in th orrsponin squr. Stp 2. W ntr in th rminin squrs th pirs o stts tht r impli y th pir o stts rprsntin squrs. Som o th squrs hv ntris o impli stts tht must urthr invstit to trmin whthr thy r quivlnt or not. Thror, th nxt stp is to mk sussiv psss throuh th tl to trmin whthr ny itionl squrs shoul mrk with ross. A squr in th tl is ross out i it ontins t lst on impli pir tht is not quivlnt. - - - - - - - - - - - - Stp 3. Thr is no n to inlu sl impli pirs (- n ) in th tl. Th inl implition tl is shown low.

- - - - - - - - - - From th tl, w n onlu tht th quivlnt stts r (, ) n (, ) (ross stions o sh squrs). So n. Th ru stt tl is otin y rplin y n y. Th rsult is th sm s otin in () or this xmpl. Howvr, th implition tl provis muh mor rution thn th row mthin in mny ss. - Prsnt stt Nxt stt () Th ru stt irm is illustrt low.