Simulator or Emulator? What is the difference?

后端 未结 21 969
离开以前
离开以前 2020-11-27 08:51

While I understand what simulation and emulation mean in general, I almost always get confused about them. Assume that I create a piece of software that mimics existing hard

21条回答
  •  天涯浪人
    2020-11-27 09:25

    Emulator:

    Consider a situation that you know only English and you are in China. In order to interact with a Chinese person you need a translator. Now, role of translator is that it will seek input from you in English and convert to Chinese and and give that input to the Chinese person and gets response from the Chinese person and convert to English and give the output to you in English. Now that translator and Chinese person is the emulator. Both combine will provide similar functionality as if you were communicating with the English person. So hardware may be different but functionality will be same.

    Simulator:

    I can't give better example than SPICE or flight simulator. Both will replace hardware component behavior with the software or mathematical model which will behave similar to the hardware.

    In the end it depends on the context that which solution better suits project needs.

提交回复
热议问题