🔍
General Purpose Processor
0 like 0 dislike

3 Answers

General Purpose Processor

  • General purpose processor is use for variety of applications.
  • It is manufactured in large scale. 
  • Performance is not high.
  • Size of general purpose processor is large.
  • So its efficiency is less.
  • Design cost and time of general purpose processor is low.
  • It perform variety of computation and consists of arithmetic and logic units (ALUs).
  • General purpose processor is use in laptop or desktop.
  • General purpose processor have the largest flexibility.

0 like 0 dislike

The design of a general purpose processor or microprocessor builds a Programmable device that is suitable for a variety of applications to maximize the number of devices sold.

image

The features of such processes are

1. Program memory

2. Data path

The design of such a processor does not know what program will run on the processor, so the program cannot be built into the Digital circuit.

The data path must be general enough to handle a variety of computations, so such a data path typically has a large register file and one or more general purpose arithmetic (ALU).

The figure shows the simple architecture of a general purpose processor implementing the array summing functionality.

The functionality is sorted in the program memory. The controller features the current instruction as indicated by the program counter PC into the instruction register IR. It then configures the data path for this instruction and executes the instruction. It then determines the next instruction address, set the PC to this address and fetches again.

Advantages:-

Time to market and NRE cost are low because the designer must only write a program but not do any digital design.

Flexibility is high because changing functionality requires changing only the program.

Unit cost may be low in small quantities compared with designing our own processors.

Performance may be fast for computation-intensive applications.

Design Matric drawbacks:-

Unit cost may be relatively high for large quantities.

Performance may be slow for certain applications.

Size and power may be large due to unnecessary processor hardware.

0 like 0 dislike

A general purpose processor, sometimes called a central Processing Unit CPU or a microprocessor. It consists of a data path and control unit, tightly linked with a memory.

The general purpose processor basic architecture consists of

1. Data path

2. Control unit

3. Memory

1. Data path:-

The data path consists of the circuitry for transforming data and for storing temporary data.

The data path contains ALU capable of transforming data through operations such as addition, subtraction, logical AND, logical OR, inverting and shifting.

ALU also generates status signals, often stored in a status register, indicating particular data conditions. Such conditions include indicating weather data is zero or whether an addition of two data items generates a carry.

Data path also contains registers capable of storing temporary data. Temporary data may include:-

1. Data brought in from memory but not yet sent through the ALU.

2. Data coming from the ALU that will be needed for later ALU operations or will be sent back to memory and data that must be moved from one memory location to another.

3. The internal data bus carries data within the data path while the external data bus carries data to and from the data memory.

The processes are distinguished by their size, usually size is measured as the bandwidth of the data path components. An N-bit processor may have:

  • N-bit wide registers
  • N-bit wide ALU
  • N-bit wide internal bus (over which data moves among data path components)
  • N-bit wide external bus (over which data is brought in and out of the data path)

The processor maybe 4 bit, 8 bit, 16 bit, 32 bit and 64 bit.

2. Control unit:-
The control unit consists of circuitry for retrieving program instructions and moving data to,from, and through the data path according to those instructions.
The control unit has a program counter PC, that holds the address in memory of the next program instructions to fetch, and an instruction register IR to hold the fetched instruction.
The control unit also has a controller, consisting of a state register plus next stage and control logic.
It controls the flow of data in the data path such flow may includes:
  • Inputting two particular registers into the ALU
  • Storing ALU results into a particular register
  • Moving data between memory and a register

The PC's bit-width represents the processor address size. The address size is independent of the data word size, the address size is often larger.
The address size determines the number of indirectly accessible memory locations, referred to as the address space or memory space.
For each instruction, the controlled typically sequences through several stages such as:
  1. Fetching the instruction from memory
  2. Decoding the instructions
  3. Fetching operands
  4. Executing the instruction in the data path
  5. Storing result

Each stage may consist of one or more clock cycles.

3. Memory:-
The registers serves a processor short term storage requirements.
Memory serves the processor medium term and long term information storage requirements.
Memory can be divided into program memory and data memory.
Program information consists of the sequence of instructions that cause the processor to carry out the desired system functionality.
Data information represents the value being input, output and transformed by the program.


0 like 0 dislike

Related questions

What is a single purpose processor?
Answer : Single Purpose Processor Single purpose processor is design to execute only one program. It perform particular computation task. So it have faster ... of single purpose processor. The datapath contains only required components. ...

View solution
0 like 0 dislike
1 answer

Describe the functions of General purpose registers of 8086 microprocessor.
Answer : (i) General Purpose Registers of 8086 1. AX (Accumulator) - Used to store the result for arithmetic / logical operations All I/O data transfer using IN & OUT instructions use A ... Index - acts as the destination for string movement instructions Used to hold offset address of Extra segment....

View solution
0 like 0 dislike
1 answer

The colour band on the extreme left in general purpose fixed resistors represents: A) Tolerance B) First significant digit C) Wattage Rating D) Voltage Rating
Answer : The colour band on the extreme left in general purpose fixed resistors represents: First significant digit ...

View solution
0 like 0 dislike
1 answer

Explain the various steps involved in designing a custom single-purpose processor.
Answer : A single purpose processor is a digital circuit designed to execute exactly one program. It is also known as co-processor, accelerator or peripheral. It contains only ... for small quantities. Performance may not match general-purpose processors for same applications. ...

View solution
0 like 0 dislike
1 answer

Application Specific Instruction Set Processor (ASIP)
Answer : An application specific instruction set processor (ASIP) can serve as a compromise between the general purpose processor and single-purpose processors. An ASIP is a Programmable processor ... fetch sequential data memory locations in parallel with other operations to further speed execution....

View solution
0 like 0 dislike
2 answers

50.5k questions

47.1k answers

240 comments

7.0k users