2024 25 SPR Intro Tomicroprocessors - Ver Jan20
2024 25 SPR Intro Tomicroprocessors - Ver Jan20
Introduction to Microprocessors
Circuits which can disconnect their output drivers from the output
terminal are called tri-stateable circuits.
The connection to supply and ground is VDD
En
through the top pMOS and bottom nMOS
transistors. En
Both of these are OFF when En = 0 In In Out In Out
(and therefore En = 1).
Both are ON when En = 1 and En = 0, En
applying power to the circuit in the
Gnd
dashed box.
When En = 1, the middle two transistors in the dashed box form an
inverter, which inverts the output of the first inverter, thus providing a
buffer function.
One of the digital circuits on the bus acts as the “bus master”.
It decides which of the circuits on the bus will be listeners for the
data on the bus and which will be the talker.
While there can be multiple listeners on the bus, only one circuit
can be a talker. The bus master manages this by setting the
Enable line of the designated talker to TRUE and that of all others
to FALSE.
The bus itself contains many wires for carrying the data and a few
additional wires driven by the bus master for bus administration
functions such as designating roles as listeners or talkers.
Internal Out
The output stage of digital circuits
circuit of normally includes a switching device for
the device pulling the output up to the supply voltage,
as well as a device to pull it down to
ground.
Output stage
However, open collector/open drain
Internal Out circuits include only the pull down device.
circuit of
the device The collector/drain of the pull down device
is brought out as the output terminal.
Common VDD
Pull up
Bus wire
Out1
Out2
Out3
Out0
There is a common pull up resistor for all output devices which are
effectively in parallel.
Units turn OFF their output device to write a ‘1’ to the output and
turn it ON to write a ‘0’ to the output.
(Department of Electrical Engineering, IIT Bombay)
MS-101 Makerspace Introduction to Microprocessors Jan 31, 2025 7 / 31
Connecting multiple digital circuits Open Collector Outputs
Out2
Out3
Out0
The Processor
Digital Circuits
Input Output A lot of control inputs will be required to
With Enable
choose and configure a specific circuit
and to route the data from input through
Instruction Decoder this circuit to the output.
Storing Instructions
The actual task performed by this flexible circuit may require a series
of operations to be carried out.
Fetching Instructions
Mux
The instruction
pointer needs to Instr. Digital Circuits
Incr Input Output
be loaded with Pointer With Enable
some value when
Address
the whole
operation starts. Program Instruction Decoder
Memory
Managing Data
Execution
Unit memory. Successive data items
Ext. can then be fetched from/written to
Outputs
Instr this memory.
Decoder
For fetching and storing data, We shall need the address where
the data item is to be fetched from/written to.
The actual address of the data item is often stored in a register.
(This register is called a data pointer).
The instruction should identify the register which stores the
address.
deMux
Incr Instruction Execution
Pointer Unit
Therefore, we need a
Ext.
Address Outputs sequential circuit like a
Program Instr Central finite state machine to
Processing
Memory
Unit interpret and carry out an
Fetch - Decode - Execute instruction.
Still to Come . . .