模拟和模拟有什么区别?

发布于 2024-11-25 07:00:22 字数 101 浏览 0 评论 0原文

我在计算机和微控制器的背景下问这个问题。我需要一个简洁的答案。这些词似乎很混乱,我不知道它们是否可以互换,但感觉不能互换。谢谢。 我在研究中尚未发现它们之间的区别,因此我在这里发布问题。

I am asking this question in the context of computers and microcontrollers. I need a concise answer. These words seems to get mixed up, I don't know if they are interchangangeable but have a feeling that they are not. Thanks.
I haven't found a distinction between them in my research yet and thus I post the question here.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

千紇 2024-12-02 07:00:22

不确定这对您来说是否足够简洁,但我的理解是:

模拟器 - 模仿硬件。
模拟器 - 模仿软件。

请查看这篇文章,了解有关该主题的详细讨论。

以下是网页的引用:

仿真与模拟

“模拟器”一词是 1963 年 IBM[12] 在开发过程中创造的
NPL(IBM 360)产品线,使用“新的组合
软件、微代码和硬件”。[13]他们发现使用
微码硬件代替软件模拟来执行程序
为早期的 IBM 计算机编写,极大地加快了模拟速度。
1957 年初,IBM 为 IBM 709 计算机提供了解释器
执行为 IBM 704 编写的遗留程序的程序(软件)
在 IBM 709 和后来的 IBM 7090 上运行[14] 1963 年,当
IBM 首次使用微代码来加速此模拟过程
工程师创造了术语“模拟器”来描述这一概念。

最近在上下文中使用“模拟”一词已​​变得很普遍
软件的。然而,在1980年之前,“仿真”仅指
使用硬件或微代码辅助进行仿真,而“模拟”
称为纯软件仿真。[15]例如,一台计算机
专为运行为另一种架构设计的程序而构建
是一个模拟器。相反,模拟器可以是运行的程序
在 PC 上,以便可以在其上模拟旧的 Atari 游戏。纯粹主义者
继续坚持这种区别,但目前这个术语
“仿真”通常意味着完全模仿机器执行
二进制代码。

Not sure if this is concise enough for you, but my understanding is this:

Emulators - Mimic hardware.
Simulators - Mimic software.

Take a look at this post for a decent discussion on the topic.

And here is a quote from this webpage:

Emulation versus simulation

The word "emulator" was coined in 1963 at IBM[12] during development
of the NPL (IBM 360) product line, using a "new combination of
software, microcode, and hardware".[13] They discovered that using
microcode hardware instead of software simulation, to execute programs
written for earlier IBM computers, dramatically speeded up simulation.
Earlier in 1957, IBM provided the IBM 709 computer with an interpreter
program (software) to execute legacy programs written for the IBM 704
to run on the IBM 709 and later on the IBM 7090[14] In 1963, when
microcode was first used to speed up this simulation process, IBM
engineers coined the term "emulator" to describe the concept.

It has recently become common to use the word "emulate" in the context
of software. However, before 1980, "emulation" referred only to
emulation with a hardware or microcode assist, while "simulation"
referred to pure software emulation.[15] For example, a computer
specially built for running programs designed for another architecture
is an emulator. In contrast, a simulator could be a program which runs
on a PC, so that old Atari games can be simulated on it. Purists
continue to insist on this distinction, but currently the term
"emulation" often means the complete imitation of a machine executing
binary code.

抚笙 2024-12-02 07:00:22

仿真是指(可能是微编码的)硬件,尤其是软件,精确地逐步执行并处理每个输入,就像被仿真的微控制器/处理器处理指令一样。

模拟是指软件(尤其是硬件)也接受输入并通过不同的过程产生预期的输出。

仿真是对内部操作的极其精确的建模,而仿真则更侧重于输入输出黑盒概念。

Emulation is when (possibly microcoded) hardware, especially, and perhaps software steps through and processes each input exactly how the microcontroller/processor being emulated would process the instruction.

Simulation is when the software, especially, but perhaps hardware also takes the input and through different processes produces the expected output.

Emulation is extremely precise modelling of the internal operations whereas Simulation is more focused on the input-output black box concept.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文