IV-unit-of-EC-604
IV-unit-of-EC-604
keyboard.
CISC Architecture:
CISC Stands for "Complex Instruction Set Computing." This is a type of microprocessor
design. The CISC architecture contains a large set of computer instructions that range from
very simple to very complex and specialized. Though the design was intended to compute
complex instructions in the most efficient way, it was later found that many small, short
instructions could compute complex instructions more efficiently. This led to a design called
Reduced Instruction Set Computing (RISC), which is now the other major kind of
microprocessor architecture. Intel Pentium processors are mainly CISC-based, with some
RISC facilities built into them, whereas the PowerPC processors are completely RISC-based.
The CISC approach attempts to minimize the number of instructions per program, sacrificing
the number of cycles per instruction. Computers based on the CISC architecture are designed
to decrease the memory cost. Because, the large programs need more storage, thus increasing
the memory cost and large memory becomes more expensive. To solve these problems, the
number of instructions per program can be reduced by embedding the number of operations
in a single instruction, thereby making the instructions more complex.
CISC Architecture
• MUL loads two values from the memory into separate registers in CISC.
• CISC uses minimum possible instructions by implementing hardware and executes
operations.
• Instruction Set Architecture is a medium to permit communication between the
programmer and the hardware. Data execution part, copying of data, deleting or
editing is the user commands used in the microprocessor and with this microprocessor
the Instruction set architecture is operated.
• The main keywords used in the above Instruction Set Architecture are as below
LNCT GROUP OF COLLEGES
CHARACTERISTIC OF CISC:-
1. Complex instruction, hence complex instruction decoding.
2. Instruction are larger than one word size.
3. Instruction may take more than single clock cycle to get executed.
4. Less number of general purpose register as operation get performed in memory itself.
5. Complex Addressing Modes.
6. More Data types.
RISC Architecture:
RISC Stands for "Reduced Instruction Set Computing" and is pronounced "risk." RISC is a
type of processor architecture that uses fewer and simpler instructions than a complex
instruction set computing (CISC) processor. RISC processors perform complex instructions
by combining several simpler ones.
Several CPUs in the 1990s and early 2000s used RISC architecture. One of the most popular
was the IBM PowerPC processor, which Apple used in its PowerMac line of computers for
nearly a decade. In 2006, Apple switched to CISC-based Intel CPUs. Nearly all personal
computers now use CISC processors made by Intel or AMD.RISC (Reduced Instruction Set
Computer) is used in portable devices due to its power efficiency. For Example, Apple iPod
and Nintendo DS. RISC is a type of microprocessor architecture that uses highly-optimized
set of instructions. RISC does the opposite, reducing the cycles per instruction at the cost of
the number of instructions per program Pipelining is one of the unique feature of RISC. It is
performed by overlapping the execution of several instructions in a pipeline fashion. It has a
high performance advantage over CISC. RISC processors take simple instructions and are
executed within a clock cycle
RISC Architecture
LNCT GROUP OF COLLEGES
Characteristic of RISC –
1. Simpler instruction, hence simple instruction decoding.
2. Instruction come under size of one word.
3. Instruction take single clock cycle to get executed.
4. More number of general purpose register.
5. Simple Addressing Modes.
6. Less Data types.
7. Pipeling can be achieved.
• The performance of the machine slows down due to the amount of clock time taken
by different instructions will be dissimilar
• Only 20% of the existing instructions is used in a typical programming event, even
though there are various specialized instructions in reality which are not even used
frequently.
• The conditional codes are set by the CISC instructions as a side effect of each
instruction which takes time for this setting – and, as the subsequent instruction
changes the condition code bits – so, the compiler has to examine the condition code
bits before this happens.
CISC vs RISC
• The following points differentiate a CISC from a RISC −
CISC RISC
Larger set of instructions. Easy to program Smaller set of Instructions. Difficult to program.
Many addressing modes causing complex Few addressing modes, fix instruction format.
instruction formats.
Higher clock cycles per second. Low clock cycle per second.
Control unit implements large instruction set Each instruction is to be executed by hardware.
using micro-program unit.
The ARM architecture processor is an advanced reduced instruction set computing [RISC]
machine and it’s a 32bit reduced instruction set computer (RISC) microcontroller. This ARM
is a family of microcontroller developed by makers like ST Microelectronics, Motorola. The
ARM architecture comes with totally different versions like ARMv1, ARMv2,etc.
Architecture of ARM
The ARM Architecture consists of:
• Arithmetic Logic Unit
• Booth multiplier
• Barrel shifter
• Control unit
• Register file
LNCT GROUP OF COLLEGES
The ALU has two 32-bits inputs. The primary comes from the register file, whereas the other
comes from the shifter. Status registers flags modified by the ALU outputs. The V-bit output
goes to the V flag as well as the Count goes to the C flag. Whereas the foremost significant
bit really represents theS flag, the ALU output operationis done by NO Redto get the Z flag.
The ALU has a 4-bit function bus that permits up to 16 opcodes to be implemented.
The multiplier factor has 3 ,32-bit inputs and the inputs return from the register file. The
multiplier output is barely 32-Least Significant Bits of the merchandise. The entity
representation of the multiplier factor is shown in the above block diagram. The
multiplication starts whenever the beginning 04 input goes active. Fin of the output goes high
when finishing.
Booth Algorithm
Booth algorithm is a noteworthy multiplication algorithmic rule for 2’s complement numbers.
This treats positive and negative numbers uniformly. Moreover, the runs of 0’s or 1’s within
the multiplier factor are skipped over without any addition or subtraction being performed,
thereby creating possible quicker multiplication. The figure shows the simulation results
for the multiplier test bench. It’s clear that the multiplication finishes only in16 clock cycle.
LNCT GROUP OF COLLEGES
Barrel Shifter
The barrel shifter features a 32-bit input to be shifted. This input is coming back from the
register file or it might be immediate data. The shifter has different control inputs coming
back from the instruction register. The Shift field within the instruction controls the operation
of the barrel shifter. This field indicates the
kind of shift to be performed (logical left or right, arithmetic right or rotate right). The
quantity by which the register ought to be shifted is contained in an immediate field within
the instruction or it might be the lower 6 bits of a register within the register file.