Professional Documents
Culture Documents
MICROPROCESSOR
design using VLSI technology
Memory
Micro
Input
Processor
Output
Components of microprocessor
Ctr
Ctrl unit l
bus
Register
ALU
Internal
bus
Data bus
Control Unit
The control unit, as described above, reads the instructions, and generates the
necessary digital signals to operate the other components.
Registers
Anything that can be used to store bits of information, in a way that all the bits of the
register can be written to or read out simultaneously.
The registers are the fastest accessible memory locations, and because they are so
fast, there are typically very few of them. In most processors, there are fewer than 32
registers.
The size of the registers defines the size of the computer.
Types of Processors
ØThe vast majority of microprocessors are embedded microcontrollers. The second
most common type of processors are common desktop processors, such as Intel's
Pentium or AMD's Athlon.
Ø
ØMicroprocessors come in "standard sizes" of 8 bits, 16 bits, 32 bits, and 64 bits.
Some microprocessors come in other "non-standard" sizes such as 4 bits, 12 bits,
18 bits &24bits
Ø
ØThe number of bits represent how much physical memory can be directly addressed
by the CPU & amount of bits that can be read by one read/write operation.
Ø
Øfor ex- 8 bit processors can read/write 1 byte at a time and can directly address 256
bytes
Ø
Ø
Ø
Ø
Ø
Ø
Ø
μp applications are classified primarily in two categories :
Reprogrammable Embedded
systems systems
Sensor monitoring
Graphics
qIt allow people to develop computer components (hardware and software) without
having to worry about the internal design of the other layers in the system.
qAt the highest level are the user-interface programs that people use on their
computers.
qAt the lowest level are the transistor layouts of the individual computer
components.
Moore's Law
•A common law that governs the world of microprocessors is Moore's Law.
•It states that the number of transistors on a single chip at the same price will double
every 18 to 24 months.
•Current microprocessor chips contain millions of transistors and the number is
growing rapidly.
Clock Rates
ØMicroprocessors are typically discussed in terms of their clock speed.
ØIt is measured in hertz (or MHz or GHz). A hertz is a "cycle per second".
Øclock rate is speed at which microprocessor executes instructions
ØFaster the clock more instructions the CPU can execute per second
Ø
üUnder pure VON NEUMAN architecture the CPU can be either reading an
instruction or reading/writing data from/to the memory. Both cannot occur at the
same time since the instructions and data use the same bus system.
üIn a computer using the Harvard architecture, the CPU can both read an
instruction and perform a data memory access at the same time, even without a
cache.
üA Harvard architecture computer can thus be faster for a given circuit complexity
Contrast with Modified Harvard architecture
§The most common modification includes separate instruction and data caches
backed by a common address space.
§While the CPU executes from cache, it acts as a pure Harvard machine, When
accessing backing memory, it acts like a von Neumann machine
•
FACTORS TO BE CONSIDERD WHILE SELECTING
THE MICROPROCESSOR
•
• Price
• Power consumption
• Performance
• Availability
• Software support
• Code density
RISC PROCESSOR
§It is an acronym for “Reduced Instruction Set Computer”, emphasizes simplicity &
efficiency
§Objective is to maximize speed by reducing clock cycle per instruction
§Considering any assembly level language program it uses MOV instruction more
frequently than MUL instruction than there is gain in speed
§Ex- SPARC, IBM, motorola’s power PCs & ARM based processors
§
Salient features of a RISC processor are as follows-
üThese are designed using hard-wired ctrl. For ex- one bit dedicated for one
instruction
üAll RISC instructions have fixed formats, no microcode is required
üIt executes most of the instructions in a single clock cycle
üIt includes only register to register load & store
üIt has several general purpose registers &/ large cache memories, which supports
fast access of data
üS/W can take advantage of more concurrency
Advantages of RISC
Disadvantages of RISC
vLess expensive due to the use of microcode; no need to hardwire a control unit
vFewer instructions could be used to implement a given task, allowing for more
efficient use of memory
vSimplified compiler, because the micro program instruction sets could be written to
match the constructs of high-level languages
vMore instructions can fit into the cache, since the instructions are not a fixed size
Disadvantages of CISC
qStructural domain- the decision about particular logic family , clocking strategy
or ckt style to use is initially unbound
application
program
statement
instruction
chip
cell
board
module
transistor
gate
ALU
processor
Y-CHART
Design capture tool
qHDL Design
qSchematic design
qLayout design
qFloor Planning
qChip Composition
HDL Design
Wide variety of languages include:
Hardware description language (HDL)
VHDL, ELLA, Verilog
Popular HDL catering for hardware notion, such as bit vector,
signals, and time within the native language
Runtime operating support, include compilers, debuggers and
simulators
Modified high level language- C, Pascal & Lisp
Elements of modern computer language, e.g. structure,
parametization, conditionals, looping and hierarchy
Schematic Design
Traditional method to capture a digital system
Easy to understand but HDL are more easily modified
Layout Design
Layout can be captured via code or interactive graphics editors
Layout editor:
PLACEMENT
§It is a task of placing modules together to minimize area or cycle time
§Two main algorithms are there-
Min-cut algorithm- it takes blocks at top level of chip to be placed and find
equal area grouping with minimum signal interconnection.it is very fast &gives
good placement
Thermal annealing- another technique in which the movement of modules
is likened to thermal annealing also used. As the layout “cools” the routing & timing
improves. To avoid minima the melt is heated & then re-cooled base on annealing
schedule
ROUTING
§It takes a module placement and list of connections and connects modules with
wires
§Types of routers include channel router, switch box router & maze router
§Technology is mature
Chip Composition A B C
A B C
E F
Design Verification Tools
Simulation:
It is used to predict and verify the performance of the ckt
It is used to model real time systems
Logic simulator can be easily expressed or characterized in terms of
functional blocks
Timing simulator allow down to a transistor level for the most digital ckt
Since there are no. of transistor on the ckt so complexity is increased though
the ckt simulator will simulate in short period of time
Block Diagram
Bank of 5 DFFs
r
Buff Transfer
er Arithmetic Unit
Logical Unit
36
Schematic of alu
37
Arithmetic Unit
38
Logical Unit
39
Layout
40
References :-
§wikipedia.org
§
§8085 - Ramesh Gaonkar
§
§CMOS VLSI Design - Neil H.E. Weste
§
§wikibooks.org
§
§Microprocessor by A.K. maini
§
§Lecture notes by Manish Kumar IIS’c Banglore.
§
e n d u r a n c e !
f o r y o u r
Than k y o u