Professional Documents
Culture Documents
DL
DL
minimising functions having a large number of variables, e.g. The six-variable functions. Computer
programs have been developed employing this algorithm. The method reduces a function
in standard sum of products form to a set of prime implicants(It is an implicant of a function which
does not imply any other implicant of the function.) from which as many variables are eliminated
as possible. These prime implicants are then examined to see if some are redundant.
The tabular method makes repeated use of the law A + = 1. Note that Binary notation is
used for the function, although decimal notation is also used for the functions. As usual a
variable in true form is denoted by 1, in inverted form by 0, and the abscence of a variable by
a dash ( - ).
Consider the function:
Listing the two minterms shows they can be
combined
Now consider the following:
Note that these variables cannot be
combined
This is because the FIRST RULE of the Tabular method for two terms to combine, and thus
eliminate one variable, is that they must differ in only one digit position.
Bear in mind that when two terms are combined, one of the combined terms has one digit
more at logic 1 than the other combined term. This indicates that the number of 1's in a term
is significant and is referred to as its index.
0000...................Index 0
0010, 1000.............Index 1
1010, 0011, 1001.......Index 2
1110, 1011.............Index 3
1111...................Index 4
The necessary condition for combining two terms is that the indices of the two terms must
differ by one logic variable which must also be the same.
Example 1:
To make things easier, change the function into binary notation with index value and decimal
value.
Tabulate the index groups in a colunm and insert the decimal value alongside.
From the first list, we combine terms that differ by 1 digit only from one index group to the
next. These terms from the first list are then seperated into groups in the second list. Note
that the ticks are just there to show that one term has been combined with another term.
From the second list we can see that the expression is now reduced to: Z = + + C + A
From the second list note that the term having an index of 0 can be combined with the terms
of index 1. Bear in mind that the dash indicates a missing variable and must line up in order
to get a third list. The final simplified expression is: Z =
Bear in mind that any unticked terms in any list must be included in the final expression
(none occured here except from the last list). Note that the only prime implicant here is Z = .
Block diagram
Code converters
BCD to seven segment decoders
Nixie tube decoders
Relay actuator
2 to 4 Line Decoder : The block diagram of 2 to 4 line decoder is shown in the fig. A and B are
the two inputs where D through D are the four outputs. Truth table explains the operations
of a decoder. It shows that each output is 1 for only a specific combination of inputs.
Block diagram Truth Table
Logic Circuit
Encoder : Encoder is a
combinational circuit which is designed to perform the inverse operation of the
decoder. An encoder has n number of input lines and m number of output lines. An
encoder produces an m bit binary code corresponding to the digital input number.
The encoder accepts an n input digital word and converts it into an m bit another
digital word.
Block diagram
Priority encoders
Decimal to BCD encoder
Octal to binary encoder
Hexadecimal to binary encoder
No change Hence R' and S' both will be equal to 1. Since S' and R' are the input of the basic S-
R latch using NAND gates, there will be no change in the state of outputs.
2 S = 0, Since S = 0, output of NAND-3 i.e. R' = 1 and E = 1 the output of NAND-4 i.e. S' = 0.
R = 1,
E=1 Hence Qn+1 = 0 and Qn+1 bar = 1. This is reset condition.
4 S = 1, As S = 1, R = 1 and E = 1, the output of NAND gates 3 and 4 both are 0 i.e. S' = R' =
R = 1,
0.
E=1
Hence the Race condition will occur in the basic NAND latch.
State Assignment : The number of gates needed to implement a sequential logic network
depends strongly on how we assign encoded Boolean values to symbolic states. Unfortunately,
the only way to obtain the best possible assignment is to try every choice for the encoding, an
extremely large number for real state machines. For example, a four-state finite state machine,
such as the traffic light controller of the last chapter, has 4! (4 factorial) = 4 * 3 * 2 * 1 = 24
different encodings.
Threshold logic: The threshold gate also contains at least one input and only one output.
Additionally, it contains the respective weights to each input and a threshold value. The values of
these weights and threshold could be of any finite real number.
Let the inputs of threshold gate are X1, X2, X3,…, Xn. The corresponding weights of these inputs are
W1, W2, W3,…, Wn. The symbol of Threshold gate is shown in the following figure.
Mathematically, we can write this relationship between inputs and output of Threshold gate as
below.
Y=1,ifW1X1+W2X2+W3X3+...WnXn≥TY=1,ifW1X1+W2X2+W3X3+...WnXn≥T
𝑌 = 0, otherwise. (w=weight)
Therefore, we can implement various logic gates and Boolean functions just by changing the values of
weights and / or Threshold value, T.
Relay circuits: Solid State Relays are normally-open semiconductor equivalents of the
electromechanical relay that can be used to control electrical loads without the use of moving parts.