MPMC Unit-1
MPMC Unit-1
Microprocessor:-
Microprocessor: Programmable integrated device that has computing ability and
decision-making capacity. It is the CPU of computer. A multipurpose,
programmable, clock driver, register based electronic device that reads binary
instruction from memory, accepts binary data, processes the data according to the
instruction and provides the results as output.
First Generation Microprocessors: This was the period from 1971 to 1973 of
microprocessor’s history. In 1971, INTEL created the first microprocessor 4004 that
would run at a clock speed of 740 kHz. During this period, the other microprocessors
in the market including Rockwell international PPS-4, INTEL-8008, and National
semiconductors IMP-16 were in use. But, all these were not TTL compatible
processors.
The difference between the first generation microprocessor and second generation
microprocessors was mainly the use of new semiconductor technologies to
manufacture the chips. The result of this technology resulted in a fivefold increase in
instruction, speed, execution and higher chip densities.
Computer Languages:-
A programming language is a notation designed to connect instructions to a
machine or a computer. Programming languages are mainly used to control the
performance of a machine or to express algorithms
Generally there are three types of computer languages
1.assembly level language
2.machine level language
3.high level language
ii)Lap tops:-A portable, compact computer that can run on an electrical wall outlet or a
battery unit. All components (keyboard, mouse, etc.) are in one compact unit. Usually
more expensive than a comparable desktop. Sometimes called a Notebook
This system is excepted to read the temperature in room ,display the temperature at LCD
panel turn on a fan if the temperature is above upper limit point and turn on a heater if
the temperature below lower limit point.This system has input and output ports for the
connection of input and output devices like transducer, fan ,heater and LCD etc.
System Hardware:-
1.Microprocessor
2.Memory
3.Input devices
4.Output devices
Microprocessor:-The processor read the binary instructions from memory and execute
those instructions continuously , it will read temperature , display it at the LCD display
panel ,and turn on/off fan and the heater based on the temperature
Memory:- The system includes two types of memory they are
i.ROM:-Used to store the program called the monitor program, that is responsible for
providing the necessary instructions to the processor to monitor the system
ii.R/W:- The read write memory is needed for temporary storage of data.
Input:-
In this system input device is temperature sensor a device that translates one
form energy into another form is called transducer ,here temperature sensor is a
transducer translate temperature into an electrical signal
A/D Converter:- The electrical signal is converted into binary using A/D converter,
the output of the a/d converter is easily understand by the processor and generates
control signals to output devices with respect to the temperature
Output:-
There are three output devices
1.Fan or cooler
2.Heater
3.LCD
Fan:-
This is system output device that is turned on by the processor when the temperature
reaches a set higher limit
Heater:-
This is turned on by the processor when the temperature reaches a lower limit
LCD :-
Lcd displays the temperature measured by the temperature sensor
Microprocessor Architecture:-
Arithmetic and Logic Unit: In this area of the microprocessor, computing
functions are performed on data. The CPU performs arithmetic operations such as
addition and subtraction, and logic operations such as AND, OR, and exclusive OR.
Results are stored either in register or in memory or sent to output devices.
Register Unit: This area of the microprocessor consists of various registers. The
register are used primarily to store data temporarily during the executing of a
program. Some of the registers are accessible to the user through instructions.
Control Unit: The control unit provides the necessary timing and control signals to
all the operations in the microcomputer. It controls the flow of data between the
microprocessor and peripherals
Input: The input section transfers data and instructions in binary from the outside
world to the microprocessor. It includes devices such as keyboards, teletypes, and
analog-to-digital converters.
Output: The output section transfers data from the microprocessor to output devices
such as light emitting diodes (LEDs), cathode-ray-tubes (CRTs), printers, magnetic
tape, or another computer. Typically, single-board computers include LEDs and
seven-segment LEDs as output devices.
Memory: Memory stores binary information such as instructions and data, and
provides that information to the microprocessor whenever necessary. To execute
programs, the microprocessor reads instructions and data from memory and performs
the computing operations in its ALU section.
The memory block has two sections : Read - Only Memory (ROM)
Random Access Memory (RAM)
System Bus: The system bus is a communication path between the microprocessor
and the peripherals; it is nothing but a group of wires that carries bits. The
microcomputer bus is in many ways similar to a one-track, express subway, the
microcomputer bus carries bits between the microprocessor and only one peripheral at
a time. The same bus is time - shared to communicate with various peripherals, with
the timing provided by the control section of the microprocessor.
The most important things to understand about RAM are that RAM memory is
very fast, it can be written to as well as read, it is volatile (so all data stored in
RAM memory is lost when it loses power) and, finally, it is very expensive
compared to all types of secondary memory in terms of cost per gigabyte. It is
because of the relative high cost of RAM compared to secondary memory types
that most computer systems use both primary and secondary memory.
Types of RAM
DRAM: DRAM stands for Dynamic RAM, and it is the most common type of
RAM used in computers. The oldest type is known as single data rate (SDR)
DRAM, but newer computers use faster dual data rate (DDR) DRAM.
SRAM: SRAM stands for Static RAM, and it is a particular type of RAM
which is faster than DRAM, but more expensive and bulker, having six
transistors in each cell. For those reasons SRAM is generally only used as a data
cache within a CPU itself or as RAM in very high-end server systems. A small
SRAM cache of the most imminently-needed data can result in significant speed
improvements in a system
ROM stands for read-only memory, and the name stems from the fact that while
data can be read from this type of computer memory, data cannot normally be
written to it. It is a very fast type of computer memory which is usually installed
close to the CPU on the motherboard.
ROM is a type of non-volatile memory, which means that the data stored in ROM
persists in the memory even when it receives no power – for example when the
computer is turned off. In that sense it is similar to secondary memory, which is
used for long term storage.
System Hardware:-
1.Microprocessor
2.Memory
3.Input devices
4.Output devices
Microprocessor:-The processor read the binary instructions from memory and execute
those instructions continuously , it will read temperature , display it at the LCD display
panel ,and turn on/off fan and the heater based on the temperature
Memory:- The system includes two types of memory they are
i.ROM:-Used to store the program called the monitor program, that is responsible for
providing the necessary instructions to the processor to monitor the system
ii.R/W:- The read write memory is needed for temporary storage of data.
Input:-
In this system input device is temperature sensor a device that translates one
form energy into another form is called transducer ,here temperature sensor is a
transducer translate temperature into an electrical signal
A/D Converter:- The electrical signal is converted into binary using A/D converter,
the output of the a/d converter is easily understand by the processor and generates
control signals to output devices with respect to the temperature
Output:-
There are three output devices
1.Fan or cooler
2.Heater
3.LCD
Fan:-
This is system output device that is turned on by the processor when the temperature
reaches a set higher limit
Heater:-
This is turned on by the processor when the temperature reaches a lower limit
LCD :-
Lcd displays the temperature measured by the temperature sensor