- The function of emulator is "Debug the target firmware".
- Simulator is a software application that duplicates the target CPU and simulates various features and instructions supported by target CPU.
- Emulator is a self contained hardware device which emulates the target CPU.
- Emulation hardware contains necessary emulation logic and it is hooked to the debugging application running on the development PC on one ends and connects to target board through interfacing on other end.
- Emulator emulates the hardware/processor functionality and performs certain debug operations.
- A hardware emulator is controlled by a debugger application running on the development PC.
Parts of Hardware Emulators:
1. Emulation Device:
- It is a replica of target CPU which receives various signals from target board through device adapter connected to target board and performs the execution of firmware under the control of debug commands from debug application.
2. Emulation Memory:
3. Emulator Control Logic:
- It is a logic circuit used for implementing complex hardware breakpoints, trace buffer trigger detection, trace buffer control.