Computer Architecture

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following best describes computer architecture?

  • The organization of components in a computer system and the semantics that guide its function. (correct)
  • The specific brand and model of a computer's CPU.
  • The physical layout of a computer's components on a motherboard.
  • A detailed list of all the software installed on a computer.

Which category of computer architecture includes the graphics processing unit (GPU) and direct memory access?

  • Microarchitecture
  • Embedded Systems
  • System Design (correct)
  • Instruction Set Architecture

The instruction set architecture (ISA) primarily defines what aspect of the CPU?

  • The CPU's compatibility with different operating systems.
  • The embedded programming language, functions, and capabilities of the CPU. (correct)
  • The physical size and dimensions of the CPU.
  • The CPU's cooling requirements and thermal output.

Which of the following is another term used to describe microarchitecture?

<p>Computer Organization (C)</p> Signup and view all the answers

What is the primary role of a microprocessor's Arithmetic Logic Unit (ALU)?

<p>To perform mathematical computations and logical operations. (A)</p> Signup and view all the answers

What is the function of registers within a microprocessor?

<p>To provide temporary data holding places for instructions and data. (D)</p> Signup and view all the answers

The control unit in a microprocessor is responsible for which of the following?

<p>Receiving signals from the CPU and directing the ALU. (D)</p> Signup and view all the answers

What is the role of a data bus in a microprocessor?

<p>To transfer data between the CPU and RAM. (B)</p> Signup and view all the answers

Why do advanced microprocessors use memory caches?

<p>To retain the last data used by the CPU, speeding up computing processes. (A)</p> Signup and view all the answers

Which of the following describes the primary function of a microcontroller (MCU)?

<p>To be used for a specific application and designed to implement certain tasks in embedded systems. (B)</p> Signup and view all the answers

Who is credited with inventing the microcontroller at Texas Instruments, around the same time Intel was developing the first microprocessor?

<p>Gary Boone (A)</p> Signup and view all the answers

In a system with inputs, outputs, and a process, what is true of the outputs?

<p>Some of the outputs are required, and some are waste products. (A)</p> Signup and view all the answers

Which of the following is a common attribute shared by all computers, including microcontrollers?

<p>A CPU that executes programs. (B)</p> Signup and view all the answers

Microcontrollers are often described as 'embedded'. What does this imply about their typical usage?

<p>They are placed inside another device to control its features or actions. (A)</p> Signup and view all the answers

What is a key characteristic of microcontrollers regarding their power consumption?

<p>They are often low-power devices, suitable for battery operation. (D)</p> Signup and view all the answers

What is the key difference between a Microcontroller (MCU) and a basic Logic chip?

<p>An MCU inlcludes RAM, ROM, and a CPU, whereas a Logic Chip only includes the CPU. (B)</p> Signup and view all the answers

What describes the distinction between microprocessors and microcontrollers in terms of functionality?

<p>Microprocessors are more versatile and microcontrollers more single-purpose. (C)</p> Signup and view all the answers

What is a key feature that differentiates microprocessors from microcontrollers in terms of external components?

<p>Microprocessors require more external components like RAM and I/O ports. (C)</p> Signup and view all the answers

What defines an 8-bit microcontroller in terms of data processing?

<p>It processes data with an 8-bit internal bus and ALU. (C)</p> Signup and view all the answers

What is a key distinction between a 16-bit and an 8-bit microcontroller?

<p>16-bit microcontrollers perform with greater precision and performance. (C)</p> Signup and view all the answers

What is a use case for a 32-bit microcontroller?

<p>Automatically controlled medical devices. (A)</p> Signup and view all the answers

What is the difference an instruction in a Complex Instruction Set Computer (CISC)?

<p>Performs numerous low-level operations in a single instruction. (D)</p> Signup and view all the answers

Which statement best characterizes Reduced Instruction Set Computing (RISC)?

<p>Instructions are simple and hard-wired, often taking one clock cycle. (A)</p> Signup and view all the answers

What is the defining characteristic of Harvard memory architecture in a microcontroller?

<p>A dissimilar memory address space for program and data memory. (A)</p> Signup and view all the answers

Why are microcontrollers with Harvard architecture preferred in signal processing applications?

<p>They can access instructions and read/write data at the same time. (A)</p> Signup and view all the answers

What is the memory architecture of the 8051 microcontroller?

<p>Princeton Architecture (D)</p> Signup and view all the answers

In the context of microcontrollers, what does the term 'external memory' refer to?

<p>Memory devices available separately to accommodate increased code size, since the chip lacks all functional blocks. (B)</p> Signup and view all the answers

Which of the following correctly describes characteristics of the Renesas RL78 family?

<p>RL78 architecture is CISC Harvard architecture that gives high performance, and is accessible in 8-bit and 16-bit versions (C)</p> Signup and view all the answers

Which of the following is true regarding AVR microcontrollers compared to 8051 microcontrollers?

<p>8051 is easily programmed (D)</p> Signup and view all the answers

Which feature of PIC microcontrollers is particularly advantageous?

<p>Efficient code structure. (A)</p> Signup and view all the answers

If you needed to choose a single-chip microcontroller for the control system of a low-power, battery-operated IoT sensor device which of the following would be the most important advantages?

<p>Low power consumption and high degree of integration (A)</p> Signup and view all the answers

If a system running a microprocessor suddenly experiences performance degradation due to frequent data retrieval, which component upgrade would most likely improve performance?

<p>Incorporating a memory cache into the microprocessor design. (A)</p> Signup and view all the answers

A system requires a processor that can handle complex mathematical operations and also a wide varity of connection interfaces. To what benefit would be a shift from a dedicated microcontroller to a microprocessor-based system?

<p>The microprocessor facilitates easier interfacing with more types of peripherals and memory. (C)</p> Signup and view all the answers

In a microcontroller-based automotive application, the system needs to execute tasks faster while continuing to use a CISC Harvard architecture. What would be the overall solution and why would it work?

<p>Optimize code efficiency, this results in faster execution. (A)</p> Signup and view all the answers

While selecting a microcontroller for a new project, the engineer needs to consider a design where memory is easily added. It is also important that the memory is relatively cost effective. What memory scheme should the engineer consider for this design?

<p>External Memory, since it can be added in a variety of sizes. (C)</p> Signup and view all the answers

Flashcards

Computer

A programmable machine and can execute a programmed list of instructions and respond to new instructions that it is given.

Computer Architecture

The organization of components making up a computer system and the semantics or meaning of the operations that guide its function.

Computer Architecture

A specification detailing how software and hardware technology standards interact to form a computer system or platform.

System Design

Includes all hardware components. Data processors aside from the CPU, such as the GPU and direct memory access. Also includes memory controllers, data paths and miscellaneous things like multiprocessing and virtualization.

Signup and view all the flashcards

Instruction Set Architecture (ISA)

The embedded programming language of the central processing unit defining the CPU's functions and capabilities based on what programming it can perform or process.

Signup and view all the flashcards

Microarchitecture

Also known as computer organization, type of architecture defines the data paths, data processing and storage elements, as well as how they should be implemented in the ISA.

Signup and view all the flashcards

Microprocessor

Has inputs, outputs and a process. Inputs and outputs of a microprocessor are a series of voltages that can be used to control external devices. The Input Voltages analyze and decides the required output voltages that follows pre-entered instructions.

Signup and view all the flashcards

Microprocessor

The brain of a computer, which does all the work and incorporates all the functions of CPU (Central Processing Unit) on a single IC (Integrated Circuit) or at the most a few ICs.

Signup and view all the flashcards

Clock Speed

The speed at which the microprocessor executes instructions.

Signup and view all the flashcards

Word Size

The number of bits that can be processed by a processor in a single instruction.

Signup and view all the flashcards

Instruction Set

A command given to a digital machine to perform an operation on a piece of data.

Signup and view all the flashcards

Arithmetic and Logic Unit

Performs math computations, such as subtraction, addition, division and Boolean functions. The ALU also executes comparisons and logic testing.

Signup and view all the flashcards

Registers

Temporary data holding places. These memory areas maintain data, such as computer instructions, storage addresses, characters and other data.

Signup and view all the flashcards

Control Unit

Receive signals from the CPU, which instructs the control unit to move data from microprocessor to microprocessor. The control unit also directs the arithmetic and logic unit.

Signup and view all the flashcards

Buses

A system of buses which move data. Buses refer to classifications of wiring that have specific tasks and functions. The data bus transfers data between the central processing unit and random access memory (RAM).

Signup and view all the flashcards

Cache Memory

Memory caches retain the last data used by the CPU and speed up speed the computing process, because the CPU does not have to go to the slower RAM to retrieve data.

Signup and view all the flashcards

Microcontroller

A single Integrated Circuit (IC) that is typically used for a specific application and designed to implement certain tasks.

Signup and view all the flashcards

MCU – Microcontroller

Has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip.

Signup and view all the flashcards

Logic Chip

Is an IC which has only the CPU inside them.

Signup and view all the flashcards

Microcontrollers

An entire self-contained unit which contain a very simple CPU or microprocessor which is used for a single specific application, as pre-programed by the user.

Signup and view all the flashcards

Microprocessors

Are much more complex and versatile in terms of function range, and intended for use in more general computing (as opposed to in specialised one-task devices).

Signup and view all the flashcards

Harvard Memory Architecture

The point when a microcontroller unit has a dissimilar memory address space for the program and data memory.

Signup and view all the flashcards

Princeton Memory Architecture

The point when a microcontroller has a common memory address for the program memory and data memory.

Signup and view all the flashcards

8-bit Microcontroller

A controller which its internal bus is 8-bit, the ALU is performs the arithmetic and logic operations.

Signup and view all the flashcards

Complex Instruction Set Computer (CISC)

Microcoded instructions which take many clock cycles to execute. A computer where single instructions can perform numerous low-level operations.

Signup and view all the flashcards

Reduced Instruction Set Computer (RISC)

hard-wired instructions which often take only one or a few clock cycles to execute. simple commands that can be divided into several instructions which achieve low-level operation within a single CLK cycle.

Signup and view all the flashcards

External Memory Microcontroller

When an embedded system has a microcontroller unit that has not all the functional blocks available on a chip. External memory devices are available in various sizes, so it is easy to add memory to accommodate an increase in code size

Signup and view all the flashcards

Embedded Memory Microcontroller

When an embedded system has a microcontroller unit that has all the functional blocks available on a chip. Internal memory is typically the most cost effective memory type, but it is also the least flexible.

Signup and view all the flashcards

Renesas Microcontroller

Latest automotive microcontroller family that offers high performance feature with exceptionally low power consumption over a wide and versatile extend of items. Rich functional security and embedded safety characteristics required for new and advanced automotive applications.

Signup and view all the flashcards

AVR Microcontroller

Microcontroller is developed by Alf-Egil Bogen and Vegard Wollan from Atmel Corporation. Harvard RISC architecture with separate memories for data and program

Signup and view all the flashcards

PIC Microcontroller

peripheral interface controller, developed by general instrument's microelectronics. It is controlled by the software. Could be programmed to complete many task and control a generation line and many more

Signup and view all the flashcards

Study Notes

Computer

  • A computer is a programmable machine that executes instructions and responds to new instructions.

Computer Architecture

  • Computer architecture involves the organization of components that comprise a computer system.
  • It includes the semantics or meaning of operations that guide the computer’s function.
  • Computer architecture specifies how software and hardware technology standards interact to form a computer system or platform.

Categories of Computer Architecture

System Design

  • System design encompasses all hardware components in the system.
  • This includes data processors aside from the CPU(central processing unit), such as the graphics processing unit and direct memory access.
  • It also covers memory controllers, data paths, multiprocessing, and virtualization.

Instruction Set Architecture (ISA)

  • Instruction Set Architecture (ISA) constitutes the embedded programming language of the CPU.
  • It defines the CPU’s functions and capabilities based on the programming it can perform or process.

Microarchitecture

  • Microarchitecture, also known as computer organization, defines data paths, data processing, storage elements, and how they’re implemented in the ISA.

Microprocessor

  • A microprocessor has inputs, outputs, and a process.
  • Microprocessors inputs and outputs consist of voltages that control external devices.
  • The process analyzes input voltages to determine required output voltages based on previously entered instructions that are followed.
  • Microprocessors act as the brain of a computer, performing all the work.
  • It is a computer processor that integrates CPU functions on a single integrated circuit (IC) or a few ICs.
  • Microprocessors were introduced in the early 1970s.
  • The Intel 4004 was the first general-purpose microprocessor, used in personal computers.

Microprocessor Characteristics

Clock Speed

  • Clock speed is the rate at which a microprocessor executes instructions.
  • Microprocessors have a clock speed of approximately 3 GHz, which is the current technological limit due to heat generation.
  • To combat this, manufacturers use multiple processors in parallel on a chip.

Word Size

  • Word size refers to the number of bits a processor can handle in a single instruction.
  • The first commercial microprocessor, Intel 4004, was a 4-bit processor with 4 input and 4 output pins.
  • The number of output pins always equals the number of input pins.
  • Most microprocessors use 32-bit or 64-bit architecture now.

Instruction Set

  • The Instruction set is a command given to a digital machine to perform an operation on a piece of data.
  • Examples of instructions include data transfer, arithmetic operations, logical operations, control flow, and input/output and machine control.

Microprocessor Components

Arithmetic and Logic Unit

  • The Arithmetic and Logic Unit performs math computations like subtraction, addition, division, and Boolean functions.
  • Boolean functions are a type of logic used for circuit designs.
  • The ALU executes comparisons and logic testing.
  • The processor sends signals to the ALU, which interprets instructions and performs calculations.

Registers

  • Microprocessors have temporary data holding places called registers.
  • Registers maintain data like computer instructions, storage addresses, and characters.
  • Some computer instructions require the use of certain registers as part of a command.

Control Unit

  • Control units (CUs) receive signals from the CPU, instructing them to move data.
  • The control unit directs the arithmetic and logic unit.
  • Control units consist of components like decoders, clocks, and control logic circuits, which together transmit signals to specific locations on the microprocessor.

Buses

  • Microprocessors feature a system of buses to move data.
  • Buses refer to classifications of wiring with specific tasks and functions.
  • The data bus transfers data between the central processing unit and random access memory (RAM).

Cache Memory

  • Advanced microprocessors use memory caches, which retain the last data used by the CPU.
  • Memory cache speeds up the computing process, because the CPU doesn’t need to go to the slower RAM to retrieve data.
  • A microprocessor is a small electronic circuit (typically 1/2 inch or 12mm across).
  • Microprocessors are encapsulated in plastic or ceramic to protect them from moisture or abrasion.

Microcontroller

  • A microcontroller (MCU or Microcontroller Unit) is a single Integrated Circuit (IC) used for specific applications to implement certain tasks.
  • The microcontroller is used In products and devices that need automatic control, such as appliances, power tools, automobile engine control systems, and computers.
  • In 1971, Intel and Texas Instruments introduced microprocessors.
  • During 1970-1971, Gary Boone of Texas Instruments invented the microcontroller.

How they work

  • A system requires inputs, outputs, and a process.
  • Systems often have many inputs and outputs.
  • Some outputs are required, and some are waste products.
  • The first microcontroller was implemented in a four-function calculator.
  • All computers and microcontrollers share a CPU that runs programs.
  • The CPU loads programs. On desktops, the browser program is loaded from the hard disk.
  • The computer uses RAM to store variables.
  • Computers have input and output devices for communication, like keyboard, mouse, monitor and printer. -A hard disk is considered an I/O device.

Characteristics of a Microcontroller

  • Microcontrollers are often embedded inside other devices like consumer products.
  • They control the features or actions of the product, thus, are also known as "embedded controllers".
  • Microcontrollers are dedicated to one task and run one specific program, usually stored in ROM.
  • They are often low-power devices, consuming around 50 milliwatts compared to a desktop's 50 watts.

Differences between a MCU and a Logic Chip

  • An MCU has a CPU, RAM, ROM and other peripherals embedded on a single chip.
  • A Logic Chip lacks RAM, ROM etc, and has only the CPU packaged inside.

Microprocessors vs. Microcontrollers

  • Microcontrollers are self-contained units containing a simple CPU or microprocessor.
  • Microcontrollers are used for a single, pre-programmed application by the user.
  • Microcontrollers are not especially powerful, use little power, and have little storage capacity.
  • Microcontrollers operate only within their programmed tasks which defines their performance.
  • Microprocessors are more complex and versatile in terms of function.
  • Microprocessors are intended for general computing.
  • Microprocessors have faster clock speeds, measured in gigahertz (GHz).
  • Microprocessors are difficult and expensive to manufacture.
  • Microprocessors require external components like RAM, I/O ports, data storage etc, which must be bought and connected separately.
  • Microprocessors have a higher power draw and are less cost-effective.

Types of Microcontrollers

  • Microcontrollers can be classified by bits, memory/devices, instruction set, and memory architecture.
  • Examples of manufacturers of microcontrollers include Intel, Atmel, Dallas, Philips, and Siemens.

Classification According to Number of Bits

  • In 8-bit microcontrollers, the ALU performs arithmetic and logic operations when the internal bus is 8-bit.
  • Microcontrollers have a data bus width, the amount of data the MCU can process.
  • An 8-bit microcontroller can process 8 bits at a time.
  • Common data bus widths include 8-bit, 16-bit, and 32-bit MCUs.
  • Examples of 8-bit microcontrollers are Intel 8031/8051, PIC1x, and Motorola MC68HC11 families.
  • A 16-bit microcontroller performs with greater precision and performance than an 8-bit.
  • An 8 bit microcontroller has a range of 0x00 - 0xFF (0-255) for every cycle.
  • A 16 bit microcontroller has a range of 0x0000 – 0xFFFF (0-65535) for every cycle.
  • A 32-bit microcontroller uses 32-bit instructions for arithmetic and logic operations.
  • The 32-bit microcontrollers are used in automatically controlled devices including implantable medical devices and engine control systems.
  • Examples for a 32-bit microcontroller include the Intel/Atmel 251 family, and PIC3x.

According to Memory/Devices

  • An external memory microcontroller has a microcontroller unit that lacks all functional blocks on a chip.
  • External memory devices of sizes can be added to increase code size.
  • An embedded memory microcontroller has a microcontroller unit with all functional blocks available on a chip.
  • Internal memory is the most cost-effective but least flexible memory type.

According to Instruction Set

  • Complex Instruction Set Computer (CISC) involves coded instructions that take many clock cycles to execute.
  • CISC allows single instructions to perform numerous low-level operations like loading from memory, arithmetic operations, and memory storage.
  • Reduced Instruction Set Computer (RISC) uses wired instructions that take one or a few clock cycles to execute.
  • RISC employs simple commands that can be divided into several instructions.

According to Memory Architecture

  • Harvard Memory Architecture Microcontrollers have a dissimilar memory address space for program and data memory.
  • Princeton Memory Architecture (Von Neuman) Microcontrollers have a common memory address for the program and data memory.

Components of a Microcontroller

  • A microcontroller includes components such as the CPU, memory, timing and control, oscillators, ADC, special functioning blocks, timers/counters, DAC and interrupt control.

Microcontroller 8051

  • The 8051 is an 8-bit family of microcontroller developed by Intel in 1981, and is very popular.
  • Referred to as a system on a chip, it has 128 bytes of RAM, 4Kbytes of ROM, 2 Timers, 1 Serial port, and four ports on a single chip.

Memory Architecture of 8051

  • The memory of 8051 is divided into Program Memory and Data Memory.
  • Program Memory stores the program being executed, while Data Memory briefly stores data and results.
  • The 8051 is easy to integrate and has been used in various devices like energy management, touch screens, automobiles, and medical devices.

Renesas Microcontroller

  • Renesas is the newest automotive microcontroller family offering high performance with low power consumption.
  • This offers safety and embedded safety features for advanced automotive applications, and the core structure supports high reliability and performance needs.
  • RENESAS microcontroller stands for "Renaissance Semiconductor for Advanced Solutions."
  • These microcontrollers offer the best performance for both microprocessors and microcontrollers.
  • Renesas also include energy efficiency, performance, and solid packaging.
  • The architecture uses a CISC Harvard architecture for high performance.
  • The RL78 family is accessible from 8-bit to 16-bit microcontrollers, while the RX family is a 32-bit microcontroller.
  • The RL78 family microcontroller is a low-power microcontroller, whereas the RX family provides high efficiency and performance.

AVR Microcontroller

  • The AVR microcontroller, developed by Alf-Egil Bogen and Vegard Wollan from Atmel Corporation, utilizes a modified Harvard RISC architecture with separate memories for data and program.
  • It shows AVR speeds are high compared to 8051 and PIC.
  • The AVR stands for Alf-Egil Bogen and Vegard Wollan's RISC processor.
  • The 8051s are 8-bit controllers based on the CISC architecture, and AVRs are 8-bit controllers based on the RISC architecture.
  • The 8051s consume more power than AVR microcontrollers.
  • 8051 is easier to program than the AVR.
  • The speed of AVR is greater than the 8051 microcontroller.

PIC Microcontroller

  • The PIC a peripheral interface controller was developed by General Instruments' microelectronics in 1993, and is software controlled.
  • PIC is able to perform a lot of tasks and has made its way into phones, accessories, video and medical devices.
  • The PIC has a RISC design,Its code is efficient, allowing it to run on less program memory, is low cost and has a high clock speed.

Comparison of Microcontrollers

  • The 8051 utilizes 8-bit bus width for the standard core.
  • The AVR, and PIC use 8 bits, 16 bits and 32 bits.
  • UART, USART, SPI, and I2C are the communication protocols used in them.
  • The speeds of the microcontrollers varies with 12 clock cycles , 4 clock cycles and just 1 clock cycle.
  • While 8051 uses Von Neumann Architecture they offer Harvard Architecture which is modified
  • All three uses almost the same popular manufacturers.

Advantages of Microcontrollers

  • They are dependable, reusable, energy efficient, and cost-effective and require less time to operate.
  • They are flexible and very small
  • Their high integration decreases system size & cost.
  • Interfacing is easy, with additional ROM, RAM & I/O ports.
  • Many tasks can be performed, reducing the the human effect.
  • It is simple to use and troubleshoot, and maintaining the system is also simple.
  • Microcontrollers work like a microcomputer without any digital parts.

Disadvantages of Microcontrollers

  • Programming is complex and there is electrostatic sensitivity
  • Microcontrollers cannot interface with high-power devices.
  • Their structure is more complex compared to microprocessors.
  • Microcontrollers are used in microdevices and perform a limited number of executions simultaneously.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser