From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFf3U-0008Aw-K5 for qemu-devel@nongnu.org; Tue, 22 Aug 2006 18:49:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFf3T-000899-Il for qemu-devel@nongnu.org; Tue, 22 Aug 2006 18:49:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFf3T-00088y-FM for qemu-devel@nongnu.org; Tue, 22 Aug 2006 18:49:07 -0400 Received: from [64.233.162.201] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFfBA-0000G3-Uf for qemu-devel@nongnu.org; Tue, 22 Aug 2006 18:57:05 -0400 Received: by nz-out-0102.google.com with SMTP id x7so1128987nzc for ; Tue, 22 Aug 2006 15:49:06 -0700 (PDT) Message-ID: Date: Wed, 23 Aug 2006 00:49:06 +0200 From: "Alessandro Corradi" In-Reply-To: <44EAC199.7070509@st.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41565_20551431.1156286946055" References: <44EAC199.7070509@st.com> Subject: [Qemu-devel] Fwd: Cosimulation Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel ------=_Part_41565_20551431.1156286946055 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Nicolas, Thank you for reply! The "only" trouble is that I need to descrive it as a pci device. Taking the parallel port as an example is very usefull for simple hardware as you made. But I need some info for write my device into qemu, in particular the init function for pci device as the ne2000 (In init function of network card it set pci_conf, should I need to set up? And what arguments should I put in pci_register_io_region function?). My emulated device for the moment need to run in i386 architeture so I have not to be completeness about cpu target etc... Anyway I appreciate if you can send me your written device so I can see if it can help me! Thanks Ale 2006/8/22, Nicolas SAUZEDE-NONST : > > Hi Alessandro, > > Concerning your cosimulation problem, I may help a little bit, > because when you first posted on the qemu dev list about your sysc > project, > it motivated me to first learn about systemc (which I didn't know) and to > start hacking qemu to connect them together. > > Well I must admit I'm pretty satisfied of the results, > I managed to build some small sysc dumb devices (gates, counters, > ram/buffers, fpu etc..) > (with a FIR filter in mind indeed), defined some sort of sysc written > "interface" that offers a bus+signals to sysc, while connecting to qemu > via a socket. > Within qemu, I created a parallel-like device (as you said on the ml > recently) and so I can probe my device from within guest OS (dos, linux, > etc..) > the device is called remote.c (like a "remote" parallel-like device) > > If you want I can send you some rough version of my project to see how > (ugly) I did > and maybe we can share our experiences... > > Regards, > > NS. > > -- > Best regards, > NS. > ************************************ > Nicolas SAUZEDE -- Subco > ST Microelectronics Grenoble > 12, rue Jules Horowitz, BP 217 > 38019 Grenoble Cedex > STB Tel : 041 5142 > EXT Tel : 0476585142 > *********************************** > > ------=_Part_41565_20551431.1156286946055 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Nicolas,
Thank you for reply! The "only" trouble is that I need to descrive it as a pci device. Taking the parallel port as an example is  very usefull for  simple  hardware  as you  made.  But I need some info for write my device into qemu, in particular the init function for pci device as the ne2000 (In init function of network card it set pci_conf, should I need to set up? And what arguments should I put in pci_register_io_region function?).
My emulated device for the moment need to run in i386 architeture so I have not to be completeness about cpu target etc...
Anyway I appreciate if you can send me your written device so I can see if it can help me!

Thanks

Ale

2006/8/22, Nicolas SAUZEDE-NONST <nicolas.sauzede-nonst@st.com>:
Hi Alessandro,

Concerning your cosimulation problem, I may help a little bit,
because when you first posted on the qemu dev list about your sysc project,
it motivated me to first learn about systemc (which I didn't know) and to
start hacking qemu to connect them together.

Well I must admit I'm pretty satisfied of the results,
I managed to build some small sysc dumb devices (gates, counters,
ram/buffers, fpu etc..)
(with a FIR filter in mind indeed), defined some sort of sysc written
"interface" that offers a bus+signals to sysc, while connecting to qemu
via a socket.
Within qemu, I created a parallel-like device (as you said on the ml
recently) and so I can probe my device from within guest OS (dos, linux,
etc..)
the device is called remote.c (like a "remote" parallel-like device)

If you want I can send you some rough version of my project to see how
(ugly) I did
and maybe we can share our experiences...

Regards,

NS.

--
Best regards,
NS.
************************************
Nicolas SAUZEDE -- Subco
ST Microelectronics Grenoble
12, rue Jules Horowitz, BP 217
38019 Grenoble Cedex
STB Tel : 041 5142
EXT Tel : 0476585142
***********************************


------=_Part_41565_20551431.1156286946055--