码迷,mamicode.com
首页 > 其他好文 > 详细

emulation 与 simulation 的区别

时间:2015-06-24 10:37:03      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

You want to duplicate the behavior of an old HP calculator, there are two options:

  1. You write new program that draws the calculator‘s display and keys, and when the user clicks on the keys, your programs does what the old calculator did. This is a Simulator

  2. You get a dump of the calculator‘s firmware, then write a program that loads the firmware and interprets it the same way the microprocessor in the calculator did. This is an Emulator

The Simulator tries to duplicate the behavior of the device.
The Emulator tries to duplicate the inner workings of the device.

 

引自:http://stackoverflow.com/questions/2174638/whats-the-difference-between-emulation-and-simulation

emulation 与 simulation 的区别

标签:

原文地址:http://www.cnblogs.com/wuzhenwei/p/4596909.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!