[Open-graphics] Interfacing a Simulation from C Code
Viktor Pracht
ViktorPracht at gmx.de
Fri Sep 1 16:35:32 EDT 2006
Am Freitag, den 01.09.2006, 17:56 +0200 schrieb Attila Kinali:
> > I can judge exactly how difficult this is, so let me be careful not to
> > steal time. It would be a dream to test any PCI-based design using real
> > driver code, but let our immanent need be the priority.
>
> I thought a little bit about it and came to the conclusion that
> we should not simulate the pci interface together with the
> driver. For one thing it becomes a huge system to simulate
> (ok, the graphics core is much larger). And for another
> we would need to first translate accesses to oga first into
> pci accesses, just to translate them back again. It would
> be simpler just to take the raw accesses the driver makes
> and translate them into logical accesses to the card directly.
How about attaching Icarus to Bochs (bochs.sf.net) ?
It already performs the CPU-instruction-to-PCI-access conversion, both
ways.
Bonus points for allowing access to the Verilog simulation through the
gdb interface of Bochs.
- Viktor Pracht
More information about the Open-graphics
mailing list