Anda di halaman 1dari 17

NOV/DEC-2007/EI43-ANSWER KEY p

NOV/DEC-2007/EI43-ANSWER KEY

NOV/DEC-2007/EI43-ANSWER KEY

NOV/DEC-2007/EI43-ANSWER KEY

University Question R3306 Key


Part-A 1. E3FA -> (1110 0011 1111 1010)2 2. Demorgans Theorem: De Morgan's theorems state that 1. A . B = (A +B) 2. A + B = (A.B) The first equation reads "NOT A AND NOT B EQUALS A NOR B" and the second reads "NOT A OR NOT B EQUALS A NAND B" 3. Truth table for Full Adder:

A 0 0 0 0 1 1 1 1
4. Use of Multiplexer:

B 0 0 1 1 0 0 1 1

CIN 0 1 0 1 0 1 0 1

S 0 1 1 0 1 0 0 1

COUT 0 0 0 1 0 1 1 1

1. Sequence detector 2. Function generator 3. Parallel to Serial Converter 5. Excitation table for JK flip flop: Q Q+ 4 J K

NOV/DEC-2007/EI43-ANSWER KEY 0 0 1 1 0 1 0 1 0 X 1 X X 1 X 0

6. Logic diagram for T flip flop:

7. Common clock pulse is applied for the entire flip flop in synchronous circuit where as output of the previous flips flop is applied as clock in asynchronous circuit. 8. Advantage: 1. Easier to design 2. Easy to analyze Disadvantage: 1. Races and cycles 2. Hazards 9. Advantage of CMOS; 1. High speed 2. Less Propagation delay 3. Less Power dissipation 10. ROM can not be reprogrammable where as PROM is reprogrammable Part-B 11 a) i) XY+XZ+YZ = XY + XZ ( By consensus theorem) ii) (X+ Y) (X+Z) (Y+Z) = (X+ Y) (X+Z) ( By consensus theorem) iii) XYZ+XYZ = XZ ( Y+Y)

NOV/DEC-2007/EI43-ANSWER KEY = XZ iv) XY+XY+XY =XY + X(Y+Y) = XY +X = X+ Y v) A+ AB = A(1+B) =A vi) X y + X y = X (y + y) =X vii) X+XY = X+Y

11 b) i) f(W,X,Y,Z) = m(0,1,2,4,5,6,8,9,12,13,14) WX WX WX WX YZ 1 1 1 1 YZ 1 1 1 1 YZ YZ 1 1 1

F = Y + WZ + XZ ii) f (A,B,C,D) = m(0,1,2,4,5,10,11,13,15) AB AB AB AB CD 1 1 1 CD 1 1 CD 1 CD 1 1 1

F = AC + BCD + ABC + BCD 12) BCD to Seven Segment Display:

NOV/DEC-2007/EI43-ANSWER KEY

NOV/DEC-2007/EI43-ANSWER KEY

NOV/DEC-2007/EI43-ANSWER KEY 12 b) i) 2 to 4 line decoder:

ii) 4 to 1 line Mux:

NOV/DEC-2007/EI43-ANSWER KEY

13 a) 4 bit binary counter: State table: D 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 C 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 A 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 D+ 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 C+ 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 B+ 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 A+ 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 JD 0 0 0 0 0 0 0 1 X X X X X X X X KD X X X X X X X X 0 0 0 0 0 0 0 1 JC 0 0 0 1 X 1 1 X 0 0 0 1 X 1 1 X KC X X X X 0 X X 1 X X X X 0 X X 1 JB 0 1 X X 0 1 X X 0 1 X X 0 1 X X KB X X 0 1 X X 0 1 X X 0 1 X X 0 1 JA 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 KA 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

10

NOV/DEC-2007/EI43-ANSWER KEY

13) b) Mod-6 Counter:

11

NOV/DEC-2007/EI43-ANSWER KEY

14 a)

State Table: Present State A B C D 00 A,0 A,A,-,1 Next State with output 01 11 B,-,B,0 D,-,D,B,D,1 10 C,-,C,0 C,-

12

NOV/DEC-2007/EI43-ANSWER KEY State Reduction: A B C D A,B,C S0 D S1 State Table: Present State S0 S1 Excitation Table: Q 0 0 0 0 1 1 1 1 X1 0 0 1 1 0 0 1 1 X2 0 1 0 1 0 1 0 1 Q+ 0 0 0 1 0 0 0 1 T 0 0 0 1 1 1 1 0 00 S0,0 S0,Next State with output 01 11 S0,0 S1,S0,S1,1 10 S0,0 S0,-

T = QX1 + QX2+ QX1X2 Z=Q 14 b) i) Eliminating race condition: Two methods: 1. Shared row state assignment 2. One hot state assignment 1. Shared row state assignment: - New temporary unstable state is introduced in between two state changes 2. One hot state assignment: - Only one binary value is hot at a time - New states are added later.

13

NOV/DEC-2007/EI43-ANSWER KEY ii) Steps involved in analysis of Asynchronous sequential circuit: 1. 2. 3. 4. Expression for input and output variables are found Excitation table is obtained from the expression Primitive flow table is constructed from the excitation table State diagram is obtained

iii) Out of syllabus 15 a) FPGA: Field Programmable Gate Arrays are two dimensional array of logic blocks and flip-flops with a electrically programmable interconnections between logic blocks. The interconnections consist of electrically programmable switches which is why FPGA differs from Custom ICs, as Custom IC is programmed using integrated circuit fabrication technology to form metal interconnections between logic blocks. In an FPGA logic blocks are implemented using mutliple level low fanin gates, which gives it a more compact design compared to an implementation with two-level AND-OR logic. FPGA provides its user a way to configure: 1. The intersection between the logic blocks and 2. The function of each logic block. Logic block of an FPGA can be configured in such a way that it can provide functionality as simple as that of transistor or as complex as that of a microprocessor. It can used to implement different combinations of combinational and sequential logic functions. Logic blocks of an FPGA can be implemented by any of the following: 1. 2. 3. 4. 5. Transistor pairs combinational gates like basic NAND gates or XOR gates n-input Lookup tables Multiplaexers Wide fanin And-OR structure.

Figure 1: Simplefied version of FPGA internal architecture. Routing in FPGAs consists of wire segments of varying lengths which can be interconnected via electrically programmable switches. Density of logic block used in an FPGA depends on length and number of wire segments used for routing. Number of segments used for interconnection typically is a tradeoff 14

NOV/DEC-2007/EI43-ANSWER KEY between density of logic blocks used and amount of area used up for routing. The ability to reconfigure functionality to be implemented on a chip gives a unique advantage to designer who designs his system on an FPGA It reduces the time to market and significantly reduces the cost of production. ii) EPROM: A rewritable memory chip that holds its content without power. EPROM chips are written on an external programming device before being placed on the circuit board. The chip requires an expensive ceramic chip package with a small quartz window that is covered with opaque, sticky tape. For reprogramming, the chip is extracted from the circuit board, the tape is removed, and it is placed under an intense ultraviolet (UV) light for approximately 20 minutes EPROMs use a transistor with a floating gate underneath a control gate. To program the bit, a high voltage is applied to the control gate. This causes electrons to tunnel through the insulating oxide layer into the floating gate, which impedes the subsequent operation of the control gate. The 0 or 1 is determined by whether the voltage on the control gate is blocked or not. The floating gate can hold the charge for more than a decade or until the device is erased; however, EPROMs only support a few hundred erase-write cycles.

15

NOV/DEC-2007/EI43-ANSWER KEY

15 b) Comparison: Family Basic gate TTL TTL-H TTL-L TTL-LS TTL-S TTL-AS TTL-ALS ECL 10K ECL100K MOS 74C 74HC 74HCT 74AC 74ACT NAND NAND NAND NAND NAND NAND NAND OR-NOR OR-NOR NAND NOR/NAND NOR/NAND NOR/NAND NOR/NAND NOR/NAND Fanout Pd Noise Prop. delay Clock (mW/gate) immunity (ns/gate) (MHz) 10 10 20 20 10 40 20 25 ?? 20 50 20 20 50 50 10 22 1 2 19 10 1 40-55 40-55 0.2-10 0.01/1 0.0025/0.6 0.0025/0.6 0.005/0.75 0.005/0.75 VG VG VG VG VG VG VG P P G VG VG VG VG VG 10 6 33 9.5 3 1.5 4 2 0.75 300 70 18 18 5.25 4.75 35 50 3 45 125 175 50 >60 600 2 10 60 60 100 100

ii) CMOS NAND gate: The structure can be inverted, as shown to the left. Here we have a two-input NAND gate, where a logic 0 at either input will force the output to logic 1, but it takes both inputs at logic 1 to allow the output to go to logic 0. This structure is less limited than the bipolar equivalent would be, but there are still some practical limits. One of these is the combined resistance of the MOSFETs in series. As a result, CMOS totem poles are not made more than four inputs high. Gates with more than four inputs are built as cascading structures rather than single structures. However, the logic is still valid. Even with this limit, the totem pole structure still causes some problems in certain applications. The pull-up and pull-down resistances at the output are never the same, and can change significantly as the inputs change state, even if the output does not change logic states. The result is uneven and unpredictable rise and fall times for the output signal. This problem was addressed, and was solved with the buffered, or B-series CMOS gates.

16

NOV/DEC-2007/EI43-ANSWER KEY

The technique here is to follow the actual NAND gate with a pair of inverters. Thus, the output will always be driven by a single transistor, either Pchannel or N-channel. Since they are as closely matched as possible, the output resistance of the gate will always be the same, and signal behavior is therefore more predictable. One of the main problems with CMOS gates is their speed. They cannot operate very quickly, because of their inherent input capacitance. B-series devices help to overcome these limitations to some extent, by providing uniform output current, and by switching output states more rapidly, even if the input signals are changing more slowly. Note that we have not gone into all of the details of CMOS gate construction here. For example, to avoid damage caused by static electricity, different manufacturers developed a number of input protection circuits, to prevent input voltages from becoming too high. However, these protection circuits do not affect the logical behavior of the gates, so we will not go into the details here.

17

Anda mungkin juga menyukai