Beruflich Dokumente
Kultur Dokumente
Tutoriaal 3 Tutorial 3
Boolse Algebra / Boolean Algebra
Vereenvoudig die volgende logiese uitdrukkings algebraies. Dui met elke stap aan van watter indentiteite u gebruik maak: Simplify the following logic expressions algebraically. With each step, indicate which identities are used. 1. f = x1 x2 x3 + x1 x2 x3 + x1 x2 x3 + x1 x2 x3 2. g = (x + y + z)( + y + z)( + y + z) x x 3. h = xy + xyz + xz + xy z y z 4. i = (x1 + x2 + x3 )(x1 + x2 + x3 )(x1 + x2 + x3 )
11 March 2011
(b) Vind die minimum som-van-produkte vorms van die volgende waarheidstabel deur van Karnaugh diagramme gebruik te maak. Gebruik dan net NEN-hekke om die funksie voor te stel. Die NEN-hekke mag enige hoeveelheid intrees he. Find the minimum sum-of-products forms of the following truth table by using Karnaugh diagrams. Write the function using only NAND-gates. The NAND-gates can have any amount of inputs. x1 0 0 0 0 1 1 1 1 x2 0 0 1 1 0 0 1 1 x3 0 1 0 1 0 1 0 1 f 1 1 0 0 1 1 1 0
(c) Vind die minimum SOP en POS funksies deur van Karnaugh diagramme gebruik te maak. Wenk: Vind waar die funksie 0 is deur gebruik te maak van die nulle in die diagram en werk dan die inverse uit om die POS te kry. Find the minimum SOP and POS function using Karnaugh diagrams. Hint: Find where the function is 0 by using the zeroes in the map and then invert to nd the POS implementation. 1. f (w, x, y, z) = m(2, 4, 5, 7, 8) + d(0, 6, 13, 15)
11 March 2011
(b) Covert the following 12-bit oating point numbers (1-bit sign,5-bit exponent,6-bit mantissa - Based on the IEEE 754 Standard) to their decimal equivalent. Hint: Remember that E = 00000 and E = 11111 has special meanings! 1. (111010011001)2 3
Department of Electrical and Electronic Engineering Stellenbosch University
11 March 2011
11 March 2011
(d) Doen n gedeeltelike ontwerp vir n volsommeerder. Die baan moet twee bisse xi en yi asook n oordrag-in bis ci bymekaar tel om n som bis si en n oordrag-uit bis ci+1 te lewer. Skryf die waarheidstabel vir die drie intreeseine ci , xi en yi en die twee uittreeseine ci+1 en si . Vind die minimum som-van-produkte funksie vir die oordrag-uit bis ci+1 deur gebruik te maak van n Karnaugh diagram. Do a partial design for a full-adder. The circuit should add two bits xi and yi as well as a carry-in bit ci to produce the sum bit si and the carry-out bit ci+1 . Write the truth table for the three input signals ci , xi and yi and the two output signals ci+1 and si . Find the minimum sum-of-products function for the carry-out bit ci+1 by using a Karnaugh map.
Prakties / Practical
Analiseer die werking van die volgende CMOS logika transistorbaan deur die gegewe tabel te kopieer na jou toetsboek en te voltooi. Vir elke kombinasie van die intreeseine Vx1 en Vx2 dui die toestand (AAN of AF) van elke transistor aan, en die spanning by die uitreesein Vf . Watter logiese funksie word deur hierdie transistorbaan geimplementeer? Neem aan die transistors is ideal i.e. geen aan-weerstand nie. Analyse the operation of the following CMOS logic transistor circuit by copying and completing the given table in your test book. For each logical combination of the input signals Vx1 and Vx2 indicate the state (ON or OFF) of each transistor, and the voltage at the output signal Vf . Which logic function does this transistor circuit implement? Assume that the transistors are ideal i.e. no on-resistance.
11 March 2011