Project to connect Qemu to some SystemC simulated device.

The basic idea is to run a systemc simulated device, as a native executable,
run by the systemc engine, and this device listens by some way on a tcpip socket.

The common network interface file is : sysc/net.h (included also from qemu)

Then we can run a specifically modified version of qemu which includes a specific
'remote' device, which, at starts try and connect to the sysc interface as a tcpip
client.

Then, an ISA bus space is available (0x300 for example) to the guest OS (DOS, linux..)
and each read/write access to this space adresses are converted to tcpip calls
which reach the sysc device, and modify/inspect the systemc data buses..

This way we can log systemc signals (VCD files) to inspect the device transactions states.

The implementation is not really clean but can more be seen as a proof of concept.

Green Socs systemc compiler was used.
Linux environment is used for host development.


How to use :
============

Compile the sysc project (intf.exe)
Patch and compile qemu-snapshot-2006-07-23_23 (I can provide it if needed)

run intf.exe (will listen on 127.0.0.1:12340)
run qemu (will try and connect to 127.0.0.1:12340 at bootup)

then when the guest OS is ready in qemu, you can try : inb 0x300 (linux)
or :
debug
i 300
(DOS)

Good luck !


----------
(c) 2006 - nicolas.sauzede@laposte.net
