From: "Alessandro Corradi" <ale.corradi@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SystemC Cosimulation
Date: Tue, 21 Nov 2006 14:05:25 +0100 [thread overview]
Message-ID: <b921df970611210505v70683b7bhc0885d05d7254a52@mail.gmail.com> (raw)
In-Reply-To: <4562CAC4.4010209@uab.es>
[-- Attachment #1: Type: text/plain, Size: 3749 bytes --]
Hello,
I already did this simulation/integration between qemu/systemC. I integrated
a simple memory writen in SystemC and it communicate with QEMU via socket .
It works very fine, the os installed on qemu (debian 3.1) can communicate
with it, but I didn't recognize it as a PCI device and I didn't implement
irq mechanism. This because I'm not so strong in C programming (this is a
work for my university and my degree's thesys). Moreover I didn't find
usefull documentation, I wrote my code based only on parallel.c and serial.c
code.
I don't know why it works without irq... I tried to do something but irq are
not "launched".
If you are interested I written some emails in devel mail list with some
information and question...
The systemC description is a stand alone process that receive and send
messagges via socket. I added a module in QEMU in order to estabilish a
connection at initializzation time and send/receive data when a write/read
is done.
As I told, the main point that I don't understand are:
-irq managing,
-create a device and manage it as a pci device.
Thanks,
Alessandro
2006/11/21, Màrius Montón <marius.monton@uab.es>:
>
> Yes, thats the idea behind our work.
> We write a module for qemu that emulates Altera PCI Core. By one side this
> module is 'attached' to qemu PCI bus, and for on the other side is the
> systemC interface to any module you write. Then, any OS running into Qemu
> sees this new PCI device, and you can develop your driver, of course.
>
> Actually, all this stuff must be compiled and linked together, and when
> running systemC simulation, qemu is freezed, so no time considerations can
> be taken.
>
> In next version, I'll try to split into two executables: one for qemu and
> one for systemC simulator, both connected using sockets or something
> similar.
>
> we will publish this work in our website soon
>
> Thank for you attention,
>
> Màrius
>
> Doug Schaefer wrote:
>
> Very cool. I'm guessing that this means that you can take any SystemC
> design and use qemu to develop drivers for it, yes?
>
>
>
> Cheers,
>
> Doug Schaefer
>
>
> ------------------------------
>
> *From:* qemu-devel-bounces+dschaefer=qnx.com@nongnu.org [
> mailto:qemu-devel-bounces+dschaefer=qnx.com@nongnu.org<qemu-devel-bounces+dschaefer=qnx.com@nongnu.org>]
> *On Behalf Of *Màrius Montón
> *Sent:* Monday, November 20, 2006 1:37 PM
> *To:* qemu-devel@nongnu.org
> *Subject:* [Qemu-devel] SystemC Cosimulation
>
>
>
> Hi,
>
> As a HW researcher, me and one student at my charge have develop a device
> to Qemu. This device is connecto to virtual PC as a PCI device, and its
> functionality is described using SystemC.
>
> I'm finishing to clean the code up, and our intention is to publish all
> code. Also, I will continue development of this work to add more features
> (like async communications and IRQ generation).
>
> Thanks,
>
> Màrius Montón
>
>
>
> ------------------------------
>
> _______________________________________________
> Qemu-devel mailing listQemu-devel@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
> --
> Màrius Montón i Macián marius.monton@uab.cat http://cephis.uab.es<http://www.mariusmonton.name/>
> Hardware Engineer
> CEPHIS
> Centre de Prototips i Solucions Hardware-Software
> Dep. Microelectrònica i Sistemes Electrònics
> ETSE - Universitat Autònoma de Barcelona (UAB) Phone: +34 935 813 534
> Fax: +34 935 813 033
> QC-2090D. ETSE. Campus UAB.
> 080193 Bellaterra
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 7985 bytes --]
next prev parent reply other threads:[~2006-11-21 13:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 22:43 [Qemu-devel] SystemC Cosimulation Doug Schaefer
2006-11-21 9:45 ` Màrius Montón
2006-11-21 13:05 ` Alessandro Corradi [this message]
2006-11-22 13:01 ` Màrius Montón
2006-11-22 14:02 ` Johannes Schindelin
2006-11-22 15:47 ` Màrius Montón
2006-12-11 17:53 ` Màrius Montón
2006-12-11 18:38 ` Ricardo Almeida
-- strict thread matches above, loose matches on Subject: below --
2006-11-20 18:37 Màrius Montón
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b921df970611210505v70683b7bhc0885d05d7254a52@mail.gmail.com \
--to=ale.corradi@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).