Симуляторы PPC архитектуры
================= Статья по симуляторам =================
Emulation and cross-development for PowerPC
http://www-128.ibm.com/developerworks/libr...-emulation.html================= Коммерческие симуляторы =================
Коммерческий симулятор
http://www.endeav.com/pdf%20brochures/PPC405%20Precyse.pdf================= Симуляторы от IBM =================
Документ на сайте Xilinx - Instruction Set Simulator User’s Guide
http://www.xilinx.com/ise/embedded/iss_ug.pdfИнтересная штучка! Получается, что его можно выдрать из комплекта ксиловых тулзов.
================= PearPC =================
PearPC - PowerPC Architecture Emulator
http://pearpc.sourceforge.net/Симулирует MAC'и.
================= QEMU =================
QEMU - Тоже симулирует MAC'и.
http://www.qemu.org/http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC424.1 QEMU PowerPC System emulator
Use the executable `qemu-system-ppc' to simulate a complete PREP or PowerMac PowerPC system.
QEMU emulates the following PowerMac peripherals:
UniNorth PCI Bridge
PCI VGA compatible card with VESA Bochs Extensions
2 PMAC IDE interfaces with hard disk and CD-ROM support
NE2000 PCI adapters
Non Volatile RAM
VIA-CUDA with ADB keyboard and mouse.
QEMU emulates the following PREP peripherals:
PCI Bridge
PCI VGA compatible card with VESA Bochs Extensions
2 IDE interfaces with hard disk and CD-ROM support
Floppy disk
NE2000 network adapters
Serial port
PREP Non Volatile RAM
PC compatible keyboard and mouse.
Вообще, QEMU - очень серьезный проект, хорошо развиавается, в мейл листе обстановка здоровая.
================= PSIM =================
Домашняя страница psim
http://sources.redhat.com/psim/Дока
http://sourceware.org/psim/manual/В настоящее время входит в состав GDB.
http://sources.redhat.com/gdb/Судя по всему, хорошо отлаженный симулятор.
************** RTEMS на PSIM ****************
RTEMS порт на PSIM
http://www.rtems.org/cgi-bin/cvsweb.cgi/rt...p/powerpc/psim/Сделано неплохо:
..........BSP NAME: psim
..........BOARD: PowerPC Simulator
..........BUS: N/A
..........CPU FAMILY: ppc
..........CPU: PowerPC 603, 603e, 604
..........COPROCESSORS: N/A
..........MODE: 32 bit mode
..........
..........DEBUG MONITOR: BUG mode (emulates Motorola debug monitor)
..........
..........PERIPHERALS
..........===========
..........TIMERS: PPC internal Timebase register
.......... RESOLUTION: ???
..........SERIAL PORTS: simulated via bug
..........REAL-TIME CLOCK: PPC internal Decrementer register
..........DMA: none
..........VIDEO: none
..........SCSI: none
..........NETWORKING: none
..........
..........DRIVER INFORMATION
..........==================
..........CLOCK DRIVER: PPC internal
..........IOSUPP DRIVER: N/A
..........SHMSUPP: N/A
..........TIMER DRIVER: PPC internal
..........TTY DRIVER: PPC internal
..........
..........STDIO
..........=====
..........PORT: Console port 0
..........ELECTRICAL: na
..........BAUD: na
..........BITS PER CHARACTER: na
..........PARITY: na
..........STOP BITS: na
..........
..........Notes
..........=====
..........
..........Based on papyrus bsp which only really supports
..........the PowerOpen ABI with an ELF assembler.
..........
..........For the multiprocessing tests to run, you must have a modified version of
..........the PowerPC Simulator psim which supports an area of UNIX shared memory
..........and UNIX semaphore mapped into the PowerPC address space.
Booting RTEMS/GeSys on the PowerPC Simulator
http://www.slac.stanford.edu/comp/unix/pac...c/psimboot.htmlThe RTEMS Evaluation CD
http://www.slac.stanford.edu/comp/unix/pac.../doc/index.html************** eCos на PSIM ****************
http://ecos.sourceware.org/ecos/boards/psim.htmlhttp://ecos.sourceware.org/ecos/docs-lates...up-ppc-sim.htmlThe PowerPC simulator is an architectural simulator which implements all the features of the PowerPC needed to run eCos. The current implementation provides accurate simulation of the instruction set and timers, as well as having generic support for diagnostic output and exceptions.
The simulator also allows devices to be simulated, but no device simulation support has been defined for the serial device drivers in this release.
Судя по отзывам народа в листе - вполне работает
http://sourceware.org/ml/ecos-discuss/2005-11/msg00157.html......Sorry , now am able to work when i provide arguments at target sim..like
......(gdb)target sim -o '/iobus/pal@0xf0001000/reg 0xf0001000 32'
......Now it works.. great..i tried all the examples... everything is fine..
......Is this right..?Any suggestions are welcome.
......Thanks.
Возможности PSIM, конечно, ограничены, но в принципе базовые вещи он симулирует. Насколько я понимаю, процесс отладки должен выглядеть примерно так:
* отконфигурировали симулятор на большой размера памяти
* загрузили в память из файла большой кусок данных
* запустили симулятор
* результаты симуляции из памяти в файл
Ну и, конечно, работа с симулируемой программой через diagnostic output.