You are on page 1of 28

Combinational Circuit – MSI Circuit

ENCODER
• Encoder is the inversion of decoder.
• Several sets of input line, select one, it produce
similar code for selected line
• Consist of 2n (or less) input line and n output line
• Created from OR gate
• Example:

MOHD. YAMANI IDRIS/ NOORZAILY 1


MOHAMED NOOR
Combinational Circuit – MSI Circuit
Truth table

MOHD. YAMANI IDRIS/ NOORZAILY 2


MOHAMED NOOR
Combinational Circuit – MSI Circuit
ENCODER
• With the aid of K-map (don’t care situation), we can get
D0 = F1 +F3
D1 = F2 +F3

MOHD. YAMANI IDRIS/ NOORZAILY 3


MOHAMED NOOR
Combinational Circuit – MSI Circuit
ENCODER (Octal to Binary)
• At one time, only one input line has a value of 1
• Most of the time needs priority encoder

MOHD. YAMANI IDRIS/ NOORZAILY 4


MOHAMED NOOR
Combinational Circuit – MSI Circuit
ENCODER (Octal to Binary)

• Can you get 2n to n encoder without using Karnaugh map

MOHD. YAMANI IDRIS/ NOORZAILY 5


MOHAMED NOOR
Combinational Circuit – MSI Circuit
DEMULTIPLEXER
• Given input line & sets of selection line, demultiplexer
will send data directly from input to selected output line
• Example: 1 to 4 Demultiplexer

MOHD. YAMANI IDRIS/ NOORZAILY 6


MOHAMED NOOR
Combinational Circuit – MSI Circuit
DEMULTIPLEXER
• Demultiplexer is similar to decoder with enable as
follows:

MOHD. YAMANI IDRIS/ NOORZAILY 7


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER
• multiplexer is a device which consist of
– Several input line
– Several select line
– One output line
• It transmit one from 2n input line to one output
line using n select line. It is also known as data
selector

MOHD. YAMANI IDRIS/ NOORZAILY 8


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER
• Truth table for 4-1 multiplexer

MOHD. YAMANI IDRIS/ NOORZAILY 9


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER
• Output for multiplexer is Sum of the (product of
data lines and selection lines)
• Example: Output for 4-1 multiplexer is

• 2n-to-1 line multiplexer or 2n:1 MUX is made


from n:2n decoder with 2n input line added, for
each AND gate.

MOHD. YAMANI IDRIS/ NOORZAILY 10


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER

Input
Lines
Added

MOHD. YAMANI IDRIS/ NOORZAILY 11


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER
• Usage:

MOHD. YAMANI IDRIS/ NOORZAILY 12


MOHAMED NOOR
Combinational Circuit – MSI Circuit
LARGE MULTIPLEXER
• Large multiplexer can be built from smaller
multiplexer
• 8:1 multiplexer can be built from smaller
multiplexer like this

MOHD. YAMANI IDRIS/ NOORZAILY 13


MOHAMED NOOR
Combinational Circuit – MSI Circuit
LARGE MULTIPLEXER
• Other example the building of 8:1 multiplexer
from smaller multiplexer

MOHD. YAMANI IDRIS/ NOORZAILY 14


MOHAMED NOOR
Combinational Circuit – MSI Circuit
LARGE MULTIPLEXER
• 16:1 multiplexer can be
built using five 4:1
multiplexer

MOHD. YAMANI IDRIS/ NOORZAILY 15


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER (Function Execution)
• Boolean Function can be executed using multiplexer
• 2n:1 multiplexer can execute Boolean function with n input
variable as the following
– Expression in SOM
Example:

– Combine n variable to n selection line


– Put 1 at data line if it is a minterm for that function, else 0

MOHD. YAMANI IDRIS/ NOORZAILY 16


MOHAMED NOOR
Combinational Circuit – MSI Circuit
MULTIPLEXER (Function Execution)
• This method succeed because

• Put 1 at I1,I2, I3, and 0 at the remaining

MOHD. YAMANI IDRIS/ NOORZAILY 17


MOHAMED NOOR
Combinational Circuit (Programmable Logic Device)
Read-Only-Memory (ROM)
• Semiconductor memory is a device where data can be
stored and fetched
• Logically, this memory device can be said as memory
cells table (data)

MOHD. YAMANI IDRIS/ NOORZAILY 18


MOHAMED NOOR
Combinational Circuit (Programmable Logic Device)
Read-Only-Memory (ROM)
• ROM is a memory device where data can only be read but
cannot be written
• Writing is done by special programming device
(programmable ROM)
• Any Boolean function can be executed by using ROM. The
steps: Get TT, take its input as address and output as data
• Advantage: Boolean function is executed directly
• Disadvantage: Didn't use the “don’t care” and variable input
numbers is limited (e.g. 10 input – 1K, 16 input – 64K, 20
input – 1M)

MOHD. YAMANI IDRIS/ NOORZAILY 19


MOHAMED NOOR
Combinational Circuit (Programmable Logic Device)
Read-Only-Memory (ROM)
• Ready-made ROM Device Type
– ROM: Read Only Memory
Data is written to memory by “mask programming” when
manufacturing process. High cost to start and very cost effective
if produced in large quantity
– PROM: Programmable ROM
Semi-custom chip. Fuse can be burnt with “special hardware
programming unit”. High cost for small quantity and it cannot
be erased after programmed.

MOHD. YAMANI IDRIS/ NOORZAILY 20


MOHAMED NOOR
Combinational Circuit (Programmable Logic Device)
Read-Only-Memory (ROM)
• Ready-made ROM Device Type
– EPROM: Erasable PROM
Similar with PROM only that data can be erased by exposing it
to ultra violet light
– EEPROM: Electrically EPROM
PROM where data to be erased can be selected by “hardware
programmer unit” other than ultra violet light. Very useful for
isolated device where it can be reprogrammed from far

MOHD. YAMANI IDRIS/ NOORZAILY 21


MOHAMED NOOR
Combinational Circuit (Programmable Logic Device)
Programmable Read-Only-Memory (PROM)
• Device with hardwired AND array (i.e. decoder) and
programmable OR array
• AND array (decoder) execute 2n minterm product
combination for n input (known as n:2n decoder)
• n line input and m line output
• Input bit variable combination – address
• Input bit combination for output line – word (each word
contain m bit)

MOHD. YAMANI IDRIS/ NOORZAILY 22


MOHAMED NOOR
Programmable Read-Only-Memory (PROM)

MOHD. YAMANI IDRIS/ NOORZAILY 23


MOHAMED NOOR
Programmable Read-Only-Memory (PROM)

MOHD. YAMANI IDRIS/ NOORZAILY 24


MOHAMED NOOR
Programmable Read-Only-Memory (PROM)

MOHD. YAMANI IDRIS/ NOORZAILY 25


MOHAMED NOOR
Combinational Circuit (Programmable Logic
Device)
Execute logical function with PROM
• Example (8X3 ROM) –

• First, convert each function to SOP

MOHD. YAMANI IDRIS/ NOORZAILY 26


MOHAMED NOOR
Execute logical function with PROM

MOHD. YAMANI IDRIS/ NOORZAILY 27


MOHAMED NOOR
Execute logical function with PROM

MOHD. YAMANI IDRIS/ NOORZAILY 28


MOHAMED NOOR

You might also like