gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] Re: Using gdb as PPC simulator


From: Ben Elliston
Subject: [Gdb] Re: Using gdb as PPC simulator
Date: 28 Sep 2004 15:20:53 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Gabi Istrail" <address@hidden> writes:

> I'm looking into using gdb's PowerPC simulator capability for ASIC
> simulation and I have questions regarding the feasibility of such an
> endeavor.  How difficult is it to extend gdb to enable simulation of
> custom logic and peripherals? Does it provide hooks so one can
> specify that a write to a particular address triggers some simulated
> behavior in a peripheral?

Yes, PSIM has a bus interface and you can map custom devices into
certain address ranges.  From the sim/ppc/README:

        IO Hardware

                PSIM's internals are based around the concept
                of a Device Tree.  This tree intentionally
                resembles that of the Device Tree found in
                OpenBoot firmware.  PSIM is flexible enough
                to allow the user to fully configure this device
                tree (and consequently the hardware model) at
                run time.

Ben






reply via email to

[Prev in Thread] Current Thread [Next in Thread]