UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications:

Σχετικά έγγραφα
ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

2 Composition. Invertible Mappings

Instruction Execution Times

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Homework 3 Solutions

ΗΜΥ 210 ΣΧΕΔΙΑΣΜΟΣ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ. Χειµερινό Εξάµηνο ΔΙΑΛΕΞΗ 3: Αλγοριθµική Ελαχιστοποίηση (Quine-McCluskey, tabular method)

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

EE512: Error Control Coding

Volume of a Cuboid. Volume = length x breadth x height. V = l x b x h. The formula for the volume of a cuboid is

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

Other Test Constructions: Likelihood Ratio & Bayes Tests

ΗΜΥ 210 ΣΧΕΔΙΑΣΜΟΣ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ. Χειµερινό Εξάµηνο 2016 ΔΙΑΛΕΞΗ 13: Διαδικασία Σχεδιασµού Ακολουθιακών Κυκλωµάτων (Κεφάλαιο 6.

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

Math 6 SL Probability Distributions Practice Test Mark Scheme

Section 8.3 Trigonometric Equations

Modbus basic setup notes for IO-Link AL1xxx Master Block

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

[1] P Q. Fig. 3.1

Inverse trigonometric functions & General Solution of Trigonometric Equations

4.6 Autoregressive Moving Average Model ARMA(1,1)

The challenges of non-stable predicates

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Example Sheet 3 Solutions

derivation of the Laplacian from rectangular to spherical coordinates

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Finite Field Problems: Solutions

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

CRASH COURSE IN PRECALCULUS

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/2006

Section 9.2 Polar Equations and Graphs

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

Dynamic types, Lambda calculus machines Section and Practice Problems Apr 21 22, 2016

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Math221: HW# 1 solutions

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Section 7.6 Double and Half Angle Formulas

Strain gauge and rosettes

ECE 308 SIGNALS AND SYSTEMS FALL 2017 Answers to selected problems on prior years examinations

CHAPTER 12: PERIMETER, AREA, CIRCUMFERENCE, AND 12.1 INTRODUCTION TO GEOMETRIC 12.2 PERIMETER: SQUARES, RECTANGLES,

DIGITAL DESIGN WITH AN INTRODUCTION TO THE VERILOG HDL Fifth Edition

Paper Reference. Paper Reference(s) 1776/04 Edexcel GCSE Modern Greek Paper 4 Writing. Thursday 21 May 2009 Afternoon Time: 1 hour 15 minutes

Matrices and Determinants

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Approximation of distance between locations on earth given by latitude and longitude

TMA4115 Matematikk 3

the total number of electrons passing through the lamp.

Statistical Inference I Locally most powerful tests

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Srednicki Chapter 55

Advanced Subsidiary Unit 1: Understanding and Written Response

C.S. 430 Assignment 6, Sample Solutions

On a four-dimensional hyperbolic manifold with finite volume

Πανεπιστήμιο Δυτικής Μακεδονίας. Τμήμα Μηχανικών Πληροφορικής & Τηλεπικοινωνιών. Ψηφιακή Σχεδίαση

Paper Reference. Paper Reference(s) 6665/01 Edexcel GCE Core Mathematics C3 Advanced. Thursday 11 June 2009 Morning Time: 1 hour 30 minutes

ΗΜΥ 210 ΣΧΕΔΙΑΣΜΟΣ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ. Χειµερινό Εξάµηνο 2016 ΔΙΑΛΕΞΗ 18: Διαδικασία Σχεδίασης Ψηφιακών Συστηµάτων - Επανάληψη

Exercises to Statistics of Material Fatigue No. 5

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Section 1: Listening and responding. Presenter: Niki Farfara MGTAV VCE Seminar 7 August 2016

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Congruence Classes of Invertible Matrices of Order 3 over F 2

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

(1) Describe the process by which mercury atoms become excited in a fluorescent tube (3)

Οδηγίες Αγοράς Ηλεκτρονικού Βιβλίου Instructions for Buying an ebook

CYTA Cloud Server Set Up Instructions

ΤΕΧΝΟΛΟΓΙΕΣ ΥΛΟΠΟΙΗΣΗΣ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ

Calculating the propagation delay of coaxial cable

Block Ciphers Modes. Ramki Thurimella

14 Lesson 2: The Omega Verb - Present Tense

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 10η: Basics of Game Theory part 2 Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Homomorphism in Intuitionistic Fuzzy Automata

Review Test 3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

The Simply Typed Lambda Calculus

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής

Every set of first-order formulas is equivalent to an independent set

Solutions to Exercise Sheet 5

Concrete Mathematics Exercises from 30 September 2016

Πρόγραμμα Μεταπτυχιακών Σπουδών «Πληροφορική και Εφαρμογές»

If we restrict the domain of y = sin x to [ π, π ], the restrict function. y = sin x, π 2 x π 2

Problem Set 3: Solutions

VBA ΣΤΟ WORD. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Version ΗΜΙΤΕΛΗΣ!!!!

Models for Probabilistic Programs with an Adversary

MathCity.org Merging man and maths

ST5224: Advanced Statistical Theory II

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 5: Component Adaptation Environment (COPE)

How to register an account with the Hellenic Community of Sheffield.

w o = R 1 p. (1) R = p =. = 1

If we restrict the domain of y = sin x to [ π 2, π 2

Assalamu `alaikum wr. wb.

Higher Derivative Gravity Theories

Transcript:

UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences EECS 150 Fall 2001 Prof. Subramanian Midterm II 1) You are implementing an 4:1 Multiplexer that has the following specifications: Inputs: I 0 -I 3 Output: Z Control Inputs: C 2 -C 0 (C 2 is MSB) The input is selected based on a Johnson counter scheme (000->I 0, 100->I 1, 110->I 2, 111->I 3 ). All other states select I 0. a) Write out the functional form of the truth table for this multiplexor. C 2 C 1 C 0 Z I m --------------------- 0 0 0 I 0 1 0 0 1 I 0 0 0 1 0 I 0 1 0 1 1 I 0 0 1 0 0 I 1 0 1 0 1 I 0 0 1 1 0 I 2 1 Midterm II 1

1 1 1 I 3 1 I 0 = C 2 + C 1 C 3 I 1 = C 2 C 1 C 0 I 2 = C 2 C 1 C 0 I 3 = C 2 C 1 C 0 b) Determine the output Boolean function. You should simplify or minimize. Z = (C 2 + C 1 C 0 )I 0 + (C 2 C 1 C 0 )I 1 + (C 2 C 1 C 0 )I 2 + (C 2 C 1 C 0 )I 3 Z = C 2 I 0 + C 1 C 0 I 0 + c) Implement the multiplexer using the PLA below. Indicate connections using the standard cross scheme used in class. Indicate the inputs, product terms, and outputs on the diagram. I 0 I 1 I 2 I 3 C 2 C 1 C 0 (and gates) x--------------------x-------------[ )---x------- C 2 I 0 x------------------------x---x-----[ )---x------- C 1 C 0 I 0 ----x--------------x-----x----x----[ )---x------- C 2 C 1 C 0 I 1 ---------x---------x----x-----x----[ )---x------- C 2 C 1 C 0 I 2 -------------x-----x----x----x-----[ )---x------- C 2 C 1 C 0 I 3 (or gate) Midterm II 2

u Z d) Implement F(A,B,C) = Σm(4, 7) using the above multiplexer. Indicate the connections in the diagram below. Simplify as appropriate. Select I 1, I 3 0 --- I0 1 --- I1 4:1 MUX 0 --- I2 1 --- I3 C2 C1 C0_ A B C e) Implement G(A,B,C) = Σm(0, 2, 6, 7) using the above multiplexer. Indicate the connections in the diagram below. Simplify as appropriate. Select I 2, I 3 0 --- I0 0 --- I1 4:1 MUX 1 --- I2 1 --- I3 C2 C1 C0_ Midterm II 3

A B C f) Implement the multiplexer using NAND gates and Tri-State Inverters. Draw the circuit below. Use inverters active high Z = C 2 I 0 + C 1 C 0 I 0 + C 2 C 1 C 0 I 1 + C 2 C 1 C 0 I 2 + C 2 C 1 C 0 I 3 I 0 C 2 --> ------------- I 0 C 1 --- ) ----- > -----> --------- C 0 --- I 1 ------ C 2 --- ------------ C 1 --- ) ----- > -----> --------------------- ) ---- Z C 0 --- ----------- ------ I 2 C 2 --- C 1 --- ) ----- > -----> ---------- NAND Gate C 0 --- Midterm II 4

I 3 C 2 --- C 1 --- ) ----- > -----> --------------- C 0 --- NAND Gate Inverter g) Assume the Tri-State Inverters require 4 transistors. How many transistors are required to implement the multiplexer: i) Using Tri-State Inverters / NAND gates: ii) Using NAND / NAND gates: 2) Back in the days of mainframe computing, there were two standard for textual information interchange ASCII and EBCDIC. You are implementing a counter that counts in hexadecimal. The output of the counter is either in ASCII (0-9 = 48-57, A-F = 65-70) or EBCDIC (0-9 = 240-249, A-F = 193-198) depending on the value of a control switch (C = 0 -> ASCII, C= 1 -> EBCDIC). You are provided with the following parts: A 4-bit binary counter (Pins: CLK, RESET, C3-C0 outputs) A 4:16 DEMUX (Pins: G enable, S3-S0 select lines, Z output) A 32x8 bit ROM (Pins: A4-A0 address lines, D7-D0 data lines) As many NAND gates as you need You may use some or all of the parts above. You may choose to program the ROM with whatever values you need. a) Design the ASCII/EBCDIC counter. Use block diagrams for the individual parts and label pinouts. Midterm II 5

Λ control 4-bit bit counter switch ROM ----------- ----------------- C[3:0] A4 ---- D[7:0] \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ A[3:0] ----------- ----------------- output / reset clk C = A4 b) Fill out the following table with the values that you chose to store in the ROM. You should write the data in decimal for convenience (and ease of grading). ---------------- Address Data Address Data Address Data Address Data ---------------- 00000 48 01000 56 10000 240 11000 248 ---------------- 00001 49 01001 57 10001 241 11001 249 ---------------- 00010 50 01010 65 10010 242 11010 193 ---------------- Midterm II 6

00011 51 01011 66 10011 243 11011 194 ---------------- 00100 52 01100 67 10100 244 11100 195 ---------------- 00101 53 01101 68 10101 245 11101 196 ---------------- 00110 54 01110 69 10110 246 11110 197 ---------------- 00111 55 01111 70 10111 247 11111 198 ---------------- 3) Consider the following truth table: Inputs Output A B C Z 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 Midterm II 7

1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 a) Minimize the truth table using a K-Map. Identify the prime implicants and essential prime implicants on the map. A\BC 00 01 11 10 ---------------- 0 0 0 1 0 ---------------- 1 1 0 1 1 ---------------- B = 1, C = 1, A = anything: essential prime implicants A = 1, B = 1, C = anything: prime implicants A = 1, C = 0, B = anything: essential prime implicants b) Write a minimal SoP function (Z1) that describes the above truth table, and an SoP function (Z2) that has product terms covering all the prime (essential and non-essential) implicants. Midterm II 8

Z1(A,B,C) = AB + BC Z2(A,B,C) = AB + BC +AC c) You are not provided with the complemented inputs, so you will need to use inverters as necessary. Draw circuits that implements Z1 and Z2 using AND gates, OR gates, and Inverters. A -------------- B -------------- ========)>----------- Z1 B ---> -------- C -------------- Inverters AND Gates OR Gates A -------------- B -------------- B ---> -------- >----- Z2 C -------------- --------- A -------------- C -------------- d) Complete the timing diagram below, that shows the transition from ABC = 111 to ABC = 101 for both Z1 and Z2. Assume the propagation delay is 5ns, independent of gate type. Midterm II 9

A B C 1 1 Z1 0 1 Z2 0 5 10 15 20 25 30 40 45 4) Consider a finite state machine defined by the following table (X= dont care): Present State Next State Output IN=0 IN=1 IN=0 IN=1 A B D 0 0 B B F 0 0 C B F X 1 D A F 1 X Midterm II 10

E F F 0 0 F A F X 1 a) Minimize the number of states using the implication chart below: ------- B B-B D-F ------------- C \ / \ / / \ / \ ------------------- D \ / \ / A-B / \ / \ F-F E B-F B-F \ / \ / D-F F-F / \ / \ ------ F \ / \ / A-B A-A \ / / \ / \ F-F F-F / \ ------ A B C D E Midterm II 11

List the equivalencies: A = B, C = F, D = F, C = D b) Now, suppose state F is changed such that the output is 0 when IN=1. Repeat your simplification under these new conditions. Present State Next State Output IN=0 IN=1 IN=0 IN=1 A B D 0 0 B B F 0 0 C B F X 1 D A F 1 X E F F 0 0 F A F X 0 ------- Midterm II 12

B B-B D-F ------------- C \ / \ / / \ / \ ------------------- D \ / \ / A-B / \ / \ F-F E B-F B-F \ / \ / D-F F-F / \ / \ ------ F A-B A-B \ / A-A A-F D-F F-F / \ F-F F-F ------- A B C D E List the equivalencies: A = B, C = D, A = E, A = F, B = E, B = F, D = F, F = E c) Is your simplification in part B unique? Are there other possible equivalencies? If so, list them. If not, give reasons for your answer. Part A: A = B, C = F, D = F, C = D Midterm II 13

Part B: A = B, C = D, A = E, A = F, B = E, B = F, D = F, F = E No, since weve simplified as much as possible using the diagram. Midterm II 14