当前位置:网站首页>哈佛架构 VS 冯·诺依曼架构
哈佛架构 VS 冯·诺依曼架构
2022-08-04 19:08:00 【mutourend】
1. 引言
冯·诺依曼架构为:
哈佛架构为:
二者最大的区别体现在:
哈佛架构 与 冯·诺依曼架构 主要不同之处有:
Parameters | Von Neumann Architecture | Harvard Architecture |
---|---|---|
Definition | The 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 Address | It 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 Cycles | It requires two clock cycles for executing a single instruction. | It executes any instruction using only one single cycle. |
Cost | It is comparatively cheaper in cost than Harvard Architecture. | It is comparatively more expensive than the Von Neumann Architecture. |
Access to CPU | The 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. |
Uses | This 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 Hardware | As 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 Space | This architecture basically requires less space. | This architecture comparatively requires more space. |
Usage of Space | This 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 Speed | The 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. |
Controlling | The 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
边栏推荐
猜你喜欢
随机推荐
WPF 使用封装的 SharpDx 控件
PHP代码审计10—命令执行漏洞
win10 uwp slider 隐藏显示数值
切换node版本和切换npm源工具
PHP代码审计8—SSRF 漏洞
VPC2187/8 电流模式 PWM 控制器 4-100VIN 超宽压启动、高度集成电源控制芯片推荐
Day018 继承
win10 uwp xaml 绑定接口
在表格数据集上训练变分自编码器 (VAE)示例
MMDetection 使用示例:从入门到出门
【CCIG 2022】视觉大模型论坛
powershell和cmd对比
STP实验
八一建军节 | 致敬中国人民解放军
win10 uwp win2d 离屏渲染
如何进行自动化测试?【Eolink分享】
ros2订阅esp32发布的电池电压数据
limux入门3—磁盘与分区管理
译文推荐|Apache Pulsar 隔离系列(四):单集群隔离策略
Scala104 - Built-in datetime functions for Spark.sql