



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Digital Logic Spring 2003
Show your work. Do NOT use a calculator!
Binary Octal Decimal Hexadecimal 1011.0011 13.14 11.1875 B. 11101.11111101 35.77 29.99 1D.FD 11011.010011 33.23 27 1964 1B.4C
Decimal Signed Magnitude Twoโs Complement Oneโs Complement 11 101011 110101 110100 2 100010 111110 111101 1 100001 111111 111110
SR flip-flop JK flip-flop
Digital Logic Spring 2003
y
X NextState Logic
Flip Flops
Ouput Logic
Z
Y
A B C F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1
(a) An Inverter: X or could do^ X^ Xโ
5V Xโ
(b) An And Gate:
Xโ BA X
(c) An Or Gate:
X = (AโBโ)โ
A
B
X = A + B
(d) Because a Nand gate can be used to implement all three basic Boolean functions, how would we describe it? Functionally Complete
- Spring Digital Logic Spring 2003
Present Present Next State Output AB S X=0 X=1 Z 00 S0 S1 S2 0 01 S1 S1 S2 1 10 S2 S2 S3 1 11 S3 S3 S0 0 00 01 11 10
0
1
AB X
Db
Db = XABโ + XโAโ + XโB
1 1
00 01 11 10
0
1
Da AB X
0 0 1 1
1 1
Da = XโA + XAโ + {
0 1
ABโ XBโ
1 0
0 0 0 1
(^)