• 哈佛架构 VS 冯·诺依曼架构


    1. 引言

    冯·诺依曼架构为:
    在这里插入图片描述

    哈佛架构为:
    在这里插入图片描述
    二者最大的区别体现在:
    在这里插入图片描述
    哈佛架构 与 冯·诺依曼架构 主要不同之处有:

    ParametersVon Neumann ArchitectureHarvard Architecture
    DefinitionThe Von Neumann Architecture is an ancient type of computer architecture that follows the concept of a stored-program computer.Harvard Architecture is a modern type of computer architecture that follows the concept of the relay-based model by Harvard Mark I.
    Physical AddressIt uses one single physical address for accessing and storing both data and instructions.It uses two separate physical addresses for storing and accessing both instructions and data.
    Buses (Signal Paths)One common signal path (bus) helps in the transfer of both instruction and data.It uses separate buses for the transfer of both data and instructions.
    Number of CyclesIt requires two clock cycles for executing a single instruction.It executes any instruction using only one single cycle.
    CostIt is comparatively cheaper in cost than Harvard Architecture.It is comparatively more expensive than the Von Neumann Architecture.
    Access to CPUThe CPU is not able to read/write data and access instructions at the same time.The CPU can easily read/write data as well as access the instructions at any given time.
    UsesThis method comes to play in the case of small computers and personal computers.This architecture is best for signal processing as well as microcontrollers.
    Requirement of HardwareAs compared to Harvard Architecture, Von Neumann Architecture requires lesser architecture. It is because it only needs to reach one common memory.This one requires more hardware. It is because it requires separate sets of data as well as address buses for individual memory.
    Requirement of SpaceThis architecture basically requires less space.This architecture comparatively requires more space.
    Usage of SpaceThis architecture does not waste any space. It is because the instruction memory can utilize the left space of the data memory. It can also happen vice-versa.This type of architecture can result in space wastage. It is because the instruction memory cannot utilize the leftover space in the data memory. It also cannot happen vice-versa.
    Execution SpeedThe speed of execution of the Von Neumann Architecture is comparatively slower. It is because it is not capable of fetching the instructions and data both at the same time.The overall speed of execution of Harvard Architecture is comparatively faster. It is because the processor, in this case, is capable of fetching both instructions and data at the very same time.
    ControllingThe process of controlling becomes comparatively simpler with this architecture. It is because it fetches either instructions or data at any given time.The process of controlling becomes comparatively complex with this architecture. It is because it basically fetches both instructions and data simultaneously at the very same time.

    参考资料

    [1] Difference Between Von Neumann and Harvard Architecture
    [2] Difference between Von Neumann and Harvard Architecture
    [3] Von Neumann and Harvard Architectures

  • 相关阅读:
    08-Express路由详解
    【leetcode刷题之路】面试经典150题(6)——图+图的广度优先搜索+字典树+回溯
    66、Spring Data JPA 的基本功能--CRUD 和 分页
    Redis-cluster集群详细部署配置--有手就行
    google浏览器chrome无法访问localhost等本地虚拟域名的解决方法
    【BRCM】博通ESDK6.5中添加50210S光口驱动及配置光电自适应的实例
    【Vue】本地使用 axios 调用第三方接口并处理跨域
    Linux文件权限解析:从入门到实践
    2022年牛客多校第四场补题
    【数据可视化Python库】
  • 原文地址:https://blog.csdn.net/mutourend/article/details/126154663