Computer Architecture Overview
what are the diffwrent computer artitecture harward van
numan and all and what are risc cisc and arm cortax
Computer architecture refers to the design and organization of a computer system,
including its components, data flow, and instruction handling. The major types of computer
architectures include:
1. Harvard Architecture
Uses separate memory for instructions and data.
Allows simultaneous fetching of instructions and data, increasing speed.
Used in microcontrollers, DSPs (Digital Signal Processors), and embedded systems.
Example: AVR microcontrollers (Arduino), PIC microcontrollers.
2. Von Neumann Architecture
Uses a single memory for both instructions and data.
Instructions and data share the same bus, causing the Von Neumann bottleneck
(delays in fetching data and instructions).
Used in general-purpose computers like desktops and laptops.
Example: x86 (Intel, AMD), ARM Cortex-A.
3. Modified Harvard Architecture
A mix of Harvard and Von Neumann architectures.
Uses separate instruction and data caches but a shared main memory.
Found in modern CPUs and microcontrollers.
1/15
Example: ARM Cortex-M series, Intel Core processors.
RISC vs. CISC
These refer to instruction set architectures (ISA), which define how a CPU executes machine
instructions.
1. RISC (Reduced Instruction Set Computing)
Uses simple and fixed-length instructions.
Requires more instructions for complex operations but allows faster execution per
instruction.
Focuses on load/store architecture (separate instructions for memory access and
arithmetic).
Used in mobile processors, microcontrollers, and embedded systems.
Example: ARM (Cortex), RISC-V, PowerPC.
2. CISC (Complex Instruction Set Computing)
Uses complex instructions that can perform multiple tasks in a single cycle.
Fewer instructions are required, but they take more cycles to execute.
Can directly operate on memory without separate load/store instructions.
Used in desktop and server processors.
Example: Intel x86, AMD Ryzen.
ARM Cortex Series
ARM processors are based on the RISC architecture and are widely used in mobile,
embedded, and IoT devices. The main Cortex families include:
1. Cortex-A: High-performance for smartphones, tablets, and laptops (e.g., Cortex-A78,
Cortex-X1).
2/15
2. Cortex-R: Real-time applications like automotive and robotics (e.g., Cortex-R5).
3. Cortex-M: Low-power microcontrollers for IoT and embedded systems (e.g., Cortex-M4,
Cortex-M7).
Would you like details on any specific architecture or processor?
and how many types of computer artitecture is there?
There are several types of computer architectures, classified based on how they handle
memory, data, and processing. Here are the most common types:
1. Von Neumann Architecture
Single memory for both data and instructions.
Instructions and data are fetched sequentially, leading to the Von Neumann bottleneck.
Used in general-purpose computers (laptops, desktops, servers).
Example: x86 (Intel, AMD) and some ARM processors.
2. Harvard Architecture
Separate memory for instructions and data.
Allows simultaneous fetching of instructions and data, making it faster than Von
Neumann.
Used in microcontrollers and embedded systems.
Example: AVR (Arduino), PIC microcontrollers, and DSP processors.
3. Modified Harvard Architecture
A hybrid of Von Neumann and Harvard.
3/15
Uses separate instruction and data caches but shares the same main memory.
Found in modern CPUs and high-performance embedded systems.
Example: ARM Cortex processors, Intel Core CPUs.
4. SISD (Single Instruction Single Data) – Flynn’s
Taxonomy
A single processor executes one instruction at a time on one piece of data.
Traditional sequential execution.
Example: Early computers (Intel 8086, 8051).
5. SIMD (Single Instruction Multiple Data) – Flynn’s
Taxonomy
One instruction is applied to multiple data elements at the same time.
Used in parallel processing and vector calculations (e.g., graphics processing).
Example: GPUs, SIMD units in modern CPUs (Intel SSE, AVX).
6. MISD (Multiple Instruction Single Data) – Flynn’s
Taxonomy
Multiple processors execute different instructions on the same data.
Rarely used in practical systems.
Example: Fault-tolerant systems like NASA space applications.
4/15
7. MIMD (Multiple Instruction Multiple Data) – Flynn’s
Taxonomy
Multiple processors execute different instructions on different data simultaneously.
Used in multi-core processors and supercomputers.
Example: Modern CPUs (Intel Core, AMD Ryzen), parallel computing clusters.
8. VLIW (Very Long Instruction Word) Architecture
Executes multiple instructions in a single clock cycle by breaking tasks into smaller
units.
Used in specialized computing like DSP and AI hardware.
Example: Intel Itanium, DSP processors.
9. Quantum Computing Architecture
Uses qubits instead of bits, allowing superposition and entanglement for exponential
computing power.
Used in AI, cryptography, and complex simulations.
Example: IBM Q, Google Sycamore, D-Wave.
Summary Table
Architecture Features Example Use Cases
Von Neumann Single memory for data & instructions General-purpose computers
Harvard Separate memory for data & instructions Microcontrollers, DSPs
Modified Mix of Von Neumann & Harvard Modern CPUs, ARM Cortex
Harvard
5/15
Architecture Features Example Use Cases
SISD Single processor, one instruction at a time Early computers, simple
processors
SIMD One instruction applied to multiple data GPUs, vector processing
MISD Multiple instructions on the same data Fault-tolerant systems
MIMD Multiple processors working on different Multi-core CPUs,
instructions & data supercomputers
VLIW Executes multiple instructions in one cycle DSPs, specialized computing
Quantum Uses qubits for parallel computing AI, cryptography, research
Would you like me to explain any specific architecture in more detail? 🚀
are cisc and risc not artitecture?
CISC and RISC are instruction set architectures (ISA), not complete computer architectures
like Von Neumann or Harvard. They define how a processor executes instructions but do not
specify the overall system design (memory organization, data flow, etc.).
Key Differences:
RISC (Reduced Instruction Set CISC (Complex Instruction Set
Feature Computing) Computing)
Instruction Simple, fixed-length instructions Complex, variable-length
Complexity instructions
Execution Speed Faster per instruction (each instruction Slower per instruction (some
takes one or few cycles) instructions take multiple cycles)
Memory Access Explicit load/store instructions Can directly access memory within
instructions
Hardware Simpler, optimized for pipelining More complex, larger instruction
Complexity decoding
Use Cases Mobile, embedded, IoT, Desktops, servers, high-
supercomputers (ARM, RISC-V, performance computing (Intel x86,
PowerPC) AMD)
6/15
Relationship with Computer Architecture:
RISC and CISC are ISAs that define how the CPU handles instructions.
Computer architecture (e.g., Von Neumann, Harvard) defines how the CPU interacts
with memory, buses, and data flow.
Example:
A CISC processor (x86, AMD) usually follows Von Neumann architecture.
A RISC processor (ARM Cortex, RISC-V) can use Modified Harvard architecture for
efficiency.
Would you like more details on how ISAs affect performance? 🚀
CISC and RISC are instruction set architectures (ISA), what is
instruction set artitecture and do we have only risc and cisc
What is an Instruction Set Architecture (ISA)?
An Instruction Set Architecture (ISA) is the interface between hardware (CPU) and software
(programs). It defines:
The set of instructions the processor can execute.
The registers, memory addressing modes, and data types.
How the CPU interacts with memory, I/O, and external devices.
How machine code (binary instructions) is structured.
ISA is independent of microarchitecture (the internal implementation of the processor).
Different processors can have different microarchitectures while using the same ISA.
Do We Have Only RISC and CISC?
No, RISC and CISC are the two most common ISA types, but there are several others:
1. RISC (Reduced Instruction Set Computing)
Uses simple, fixed-length instructions.
7/15
Requires more instructions for complex tasks but executes them faster.
Examples: ARM, RISC-V, MIPS, PowerPC, SPARC.
2. CISC (Complex Instruction Set Computing)
Uses complex, variable-length instructions that do multiple operations in one
instruction.
Can operate directly on memory without separate load/store instructions.
Examples: x86 (Intel, AMD), VAX, IBM System/360.
Other Types of ISAs
3. VLIW (Very Long Instruction Word)
Executes multiple instructions per cycle using long instruction words.
Used in specialized computing (DSPs, AI, GPUs).
Example: Intel Itanium, Texas Instruments DSPs.
4. EPIC (Explicitly Parallel Instruction Computing)
Similar to VLIW but allows more compiler optimization for parallel execution.
Example: Intel Itanium (IA-64).
5. Stack-based ISA
Uses a stack (LIFO) instead of registers for computation.
Example: Java Virtual Machine (JVM), Forth processors.
6. DSP (Digital Signal Processor) ISA
Optimized for real-time signal processing (audio, video, radar).
Example: Texas Instruments C6000, Qualcomm Hexagon.
7. Quantum ISA
Uses quantum gates instead of classical logic operations.
Example: IBM Q, Google Sycamore.
8/15
Comparison of ISAs
ISA Type Key Feature Example
RISC Simple instructions, high speed ARM, RISC-V, MIPS
CISC Complex instructions, optimized memory usage x86, IBM System/360
VLIW Parallel execution with long instruction words Intel Itanium, DSPs
EPIC Compiler-optimized parallel execution Intel Itanium
Stack-based Uses a stack instead of registers JVM, Forth
DSP Real-time signal processing Qualcomm Hexagon
Quantum Uses qubits for parallelism IBM Q, Google Sycamore
Would you like more details on any of these ISAs? 🚀
stm uses which artitecture
Which Architecture Does STM Use?
STM (STMicroelectronics) mainly produces microcontrollers (MCUs) and microprocessors
(MPUs), especially the STM32 series, which are based on ARM Cortex cores.
1. STM32 Microcontrollers
Based on ARM Cortex-M cores (M0, M3, M4, M7, etc.).
Uses Modified Harvard Architecture (separate instruction & data caches but shared
main memory).
Follows RISC (Reduced Instruction Set Computing) ISA, as all ARM Cortex-M cores are
RISC-based.
2. STM32 Microprocessors
Based on ARM Cortex-A cores (e.g., STM32MP1).
Follows Von Neumann Architecture, as Cortex-A processors integrate MMUs (Memory
Management Units) for running full operating systems like Linux.
Still uses RISC ISA (since Cortex-A is RISC-based).
Summary
9/15
STM Series Architecture ISA Example
STM32 (Cortex-M) Modified Harvard RISC STM32F103 (Cortex-M3)
STM32MP (Cortex-A) Von Neumann RISC STM32MP157 (Cortex-A7)
So, STM microcontrollers primarily use Modified Harvard Architecture with RISC ISA, while
STM microprocessors follow Von Neumann Architecture with RISC ISA. 🚀
Would you like details on specific STM models?
i know ARM, AVR, PIC, STM, do we have anymore ?
Yes! Apart from ARM, AVR, PIC, and STM, there are many other microcontroller (MCU) and
processor architectures. Here are some of the most important ones:
1. ARM (Advanced RISC Machine)
Type: RISC
Commonly Used In: Smartphones, IoT, embedded systems, and automotive
applications.
Example Families:
Cortex-M (MCUs) → STM32, NXP LPC, Nordic nRF
Cortex-A (MPUs) → Raspberry Pi, Samsung Exynos
Cortex-R (Real-time) → Automotive, industrial control
2. AVR (Atmel AVR)
Type: Modified Harvard, RISC
Commonly Used In: Arduino, low-power embedded systems.
Example Families:
ATmega → Arduino Uno (ATmega328P)
ATTiny → Tiny embedded applications
10/15
XMEGA → High-performance AVR
3. PIC (Peripheral Interface Controller)
Type: Harvard, RISC
Commonly Used In: Industrial automation, automotive, home appliances.
Example Families:
PIC10/12/16 → Small, low-power MCUs
PIC18 → Mid-range MCUs
PIC24/dsPIC → High-performance & DSP applications
4. STM (STMicroelectronics)
Type: Modified Harvard (MCUs) / Von Neumann (MPUs), RISC
Commonly Used In: Robotics, IoT, medical devices.
Example Families:
STM32 (Cortex-M) → General-purpose MCUs
STM32MP (Cortex-A) → Linux-based MPUs
5. 8051 (Intel MCS-51)
Type: Harvard, CISC
Commonly Used In: Legacy embedded systems, industrial control.
Example:
AT89S52 (Atmel), WCH CH552 (Cheap USB MCUs)
11/15
6. MSP430 (Texas Instruments)
Type: Von Neumann, RISC
Commonly Used In: Low-power IoT, medical devices.
Example:
MSP430G2553 (Used in TI LaunchPad)
7. RISC-V (Open-Source RISC)
Type: RISC
Commonly Used In: IoT, AI, future processors.
Example:
SiFive RISC-V, Espressif ESP32-C3
8. ESP (Espressif)
Type: RISC (Xtensa or RISC-V)
Commonly Used In: IoT, WiFi-enabled devices.
Example Families:
ESP8266 → Low-cost WiFi MCU
ESP32 → Dual-core WiFi & Bluetooth MCU
9. PowerPC (IBM, Motorola, Freescale)
Type: RISC
12/15
Commonly Used In: Automotive, gaming consoles (PS3, Xbox 360), Apple Macs (before
Intel).
Example:
Freescale MPC5xxx (Automotive)
10. SPARC (Scalable Processor Architecture, Sun
Microsystems)
Type: RISC
Commonly Used In: Servers, high-performance computing.
Example:
Oracle SPARC64
Summary Table
Architecture Type Used In
ARM RISC Smartphones, IoT, embedded
AVR RISC Arduino, hobby electronics
PIC RISC Industrial automation
STM RISC IoT, robotics, Linux MPUs
8051 CISC Legacy systems, industrial
MSP430 RISC Low-power IoT
RISC-V RISC Open-source processors
ESP RISC WiFi, IoT
PowerPC RISC Automotive, gaming consoles
SPARC RISC Servers, HPC
Would you like more details on any of these? 🚀
13/15
among of these in which catagory ti tiva c falls
TI Tiva C Series - Which Category Does It Fall Into?
Texas Instruments (TI) Tiva C Series microcontrollers belong to the ARM Cortex-M family
and use the RISC (Reduced Instruction Set Computing) ISA.
Key Details
Architecture: Modified Harvard Architecture (separate instruction & data buses with
shared main memory).
ISA (Instruction Set Architecture): RISC (ARM Cortex-M4).
Core: ARM Cortex-M4F (includes an FPU for floating-point operations).
Application: Industrial automation, IoT, motor control, real-time systems.
Example MCU: TM4C123GH6PM (used in Tiva C LaunchPad).
Comparison with Other MCUs
Microcontroller Core Architecture ISA Applications
TI Tiva C Cortex-M4F Modified Harvard RISC Industrial, IoT, real-time systems
STM32F4 Cortex-M4 Modified Harvard RISC Robotics, medical, IoT
AVR (ATmega328P) Custom RISC Harvard RISC Arduino, hobby electronics
PIC18F PIC RISC Harvard RISC Industrial automation
MSP430 MSP RISC Von Neumann RISC Low-power applications
So, the TI Tiva C series falls under Modified Harvard Architecture and RISC (ARM Cortex-
M4F ISA). 🚀
Would you like more details on Tiva C programming or peripherals?
my friend need some help regarding dual active bridge
converters in Power electronics, is anyone working on that.
correct its grammer
My friend needs some help regarding dual active bridge converters in power electronics. Is
anyone working on that?
14/15
15/15