Coa
Coa
There are four inputs and four outputs. The input variable are
defined as G3, G2, G1, G0 and the output variables are defined
as B3, B2, B1, B0. From the truth table, combinational circuit is
designed.The logical expressions are defined as :
G0 ⊕ G1 ⊕ G2 ⊕ G3 = B0
G1 ⊕ G2 ⊕ G3 = B1
G2 ⊕ G3 = B2
G3 = B3
Theory
Decoder
Let us suppose that a logic network has 2 inputs A and B. They will give
rise to 4 states A, A', B, B' . The truth table for this decoder is shown
below:
For any input combination only one of the outputs is low and all
others are high. The low value at the output represents the
state of the input.
Decoder expansion
3:8 decoder
It uses all AND gates, and therefore, the outputs are active-
high. For active- low outputs, NAND gates are used. It has 3
input lines and 8 output lines. It is also called as binary to octal
decoder it takes a 3-bit binary input code and activates one of
the 8(octal) outputs corresponding to that code. The truth table
is as follows:
S0 S1 S2 E D0 D1 D2 D3 D4 D5 D6 D7
x x x 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 1
0 0 1 1 0 0 0 0 0 0 1 0
0 1 0 1 0 0 0 0 0 1 0 0
0 1 1 1 0 0 0 0 1 0 0 0
1 0 0 1 0 0 0 1 0 0 0 0
1 0 1 1 0 0 1 0 0 0 0 0
1 1 0 1 0 1 0 0 0 0 0 0
1 1 1 1 1 0 0 0 0 0 0 0
4x1 Multiplexer
4x1 Multiplexer has four data inputs D0, D1, D2 & D3, two
selection lines S0 & S1 and one output Y. The block diagram of
4x1 Multiplexer is shown in the following figure.One of these 4
inputs will be connected to the output based on the
combination of inputs present at these two selection lines.
Truth table of 4x1 Multiplexer is shown below.
4.
4. Verify the excitation tables of various FLIP-FLOPS.
Introduction
A flip flop is an electronic circuit with two stable states that can be used
to store binary data. The stored data can be changed by applying varying
inputs. Flip-flops and latches are fundamental building blocks of digital
electronics systems used in computers, communications, and many
other types of systems.
1) RS flip flop
The basic NAND gate RS flip flop circuit is used to store the data and thus
provides feedback from both of its outputs again back to its inputs. The
RS flip flop actually has three inputs, SET, RESET and clock pulse.
Figure-3:Circuit diagram of D flip flop
4) T flip flop
T flip-flop is known as toggle flip-flop. The T flip-flop is
modification of the J-K flip-flop. Both the JK inputs of the JK flip –
flop are held at logic 1 and the clock signal continuous to
change as shown in table below.
Figure-7:Circuit diagram of T flip flop
1 Logic Simulator - 1
2. OR GATE IC 7432 1
3. IC TRAINER KIT - 1
4. PATCH CORDS - 15
Theory:
A register is capable of shifting its binary information in one or both directions is known
as shift register. The logical configuration of shift register consist of a D-Flip flop cascaded
with output of one flip flop connected to input of next flip flop. All flip flops receive
common clock pulses which causes the shift in the output of the flip flop.The simplest
possible shift register is one that uses only flip flop. The output of a given flip flop is
connected to the input of next flip flop of the register. Each clock pulse shifts the content of
register one bit position
to right.
LOGIC DIAGRAM:
8-bit Input/Output System with four 8-bit internal register
Procedure:
Theory:
ALU or Arithmetic Logical Unit is a digital circuit to do arithmetic operations like addition,
subtraction, division, multiplication and logical operations like and, or, xor, nand, nor etc. A
simple block diagram of a 4 bit ALU for operations and, or, xor and Add is shown in
the
Logic diagram.
LOGIC DIAGRAM:
Block diagram of a 4 bit ALU
Design Issues :
The circuit functionality of a 1 bit ALU is shown here, depending upon the control signal S1
and S0 the circuit operates as follows:
Micro-operations :
The operation executed on the data store in registers are called micro-
operations. They are detailed low-level instructions used in some designs
to implement complex machine instructions.
Register Transfer :
The information transformed from one register to another register is
represented in symbolic form by replacement operator is called Register
Transfer.
Replacement Operator :
In the statement, R2 <- R1, <- acts as a replacement operator. This
statement defines the transfer of content of register R1 into register R2.
Symbol Description Example
R1(8-bit)
() Denotes a part of register
R1(0-7)
P : R2 <-
: Denotes conditional operations R1
if P=1
Theory:
Mesh Network: A set of nodes arranged in the form of a p dimensional lattice is called a mesh
network. In a mesh network only neighboring nodes can communicate with each other.
Therefore, interior nodes can communicate with 2p other nodes.
ALGORITHM:
Algorithm
Procedure MATRIXMULT
begin
for k = 1 to n-1 step 1do
begin
for all Pi,j where i and j ranges from 1 to n do
if i is greater than k then
rotate a in the east direction
end if
if j is greater than k then
rotate b in the south direction
end if
end
for all Pi,j where i and j lies between 1 and n do
compute the product of a and b and store it in c
for k= 1 to n-1 step 1 do
for all Pi,j where i and j ranges from 1 to n do rotate a in the east rotate b in the south c=c+aXb
end
HYPERCUBE ALGORITHM
Theory:
A
i. SISD = Single Instruction Single Data
ii. SIMD = Single Instruction Multiple Data ( Array Processors or Data Parallel
machines)
iii. MISD does not exist.
MIMD = Multiple Instruction Multiple Data Control
Procedure:
Study various case study related to multi processors.
Result & Conclusion: Study of case study of Multi processors.
Procedure:
Study various case study related to multi processors.
Result & Conclusion: Study of case study of Multi processors.