qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SystemC hw simulation in qemu
@ 2006-06-18  8:59 Alessandro Corradi
  2006-06-19 22:54 ` Fabrice Bellard
  0 siblings, 1 reply; 6+ messages in thread
From: Alessandro Corradi @ 2006-06-18  8:59 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Hi all,
I've tried to create my simple hw and it's ok. Now my teacher tells me that
i must use a hw description written in SystemC and plug in Qemu.
Have you got any idea to do it? Can somebody link me to documents where I
can find info?

[-- Attachment #2: Type: text/html, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] SystemC hw simulation in qemu
  2006-06-18  8:59 Alessandro Corradi
@ 2006-06-19 22:54 ` Fabrice Bellard
  2006-06-28 10:36   ` Alessandro Corradi
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Bellard @ 2006-06-19 22:54 UTC (permalink / raw)
  To: ale.corradi; +Cc: qemu-devel

Alessandro Corradi wrote:
> Hi all,
> I've tried to create my simple hw and it's ok. Now my teacher tells me 
> that i must use a hw description written in SystemC and plug in Qemu.
> Have you got any idea to do it? Can somebody link me to documents where 
> I can find info?

Hi,

If you do that I am interested to see the results. Use a simple device 
such as the serial port (hw/serial.c) as an example.

Regards,

Fabrice.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] SystemC hw simulation in qemu
  2006-06-19 22:54 ` Fabrice Bellard
@ 2006-06-28 10:36   ` Alessandro Corradi
  2006-06-29 11:33     ` Alessandro Corradi
  0 siblings, 1 reply; 6+ messages in thread
From: Alessandro Corradi @ 2006-06-28 10:36 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

2006/6/20, Fabrice Bellard <fabrice@bellard.org>:
>
> Alessandro Corradi wrote:
> > Hi all,
> > I've tried to create my simple hw and it's ok. Now my teacher tells me
> > that i must use a hw description written in SystemC and plug in Qemu.
> > Have you got any idea to do it? Can somebody link me to documents where
> > I can find info?
>
> Hi,
>
> If you do that I am interested to see the results. Use a simple device
> such as the serial port (hw/serial.c) as an example.
>
> Regards,
>
> Fabrice.
>
The idea is to create a SystemC wrapper file in hw dir, where there is the
code for connect via socket to a SystemC process in host machine. The
problem is that I write my simple hw, but instead use io address such as
0x378 i need to use memory address, so I can use it in every virtualizzation
(i386, mips etc...).
Where can I look for it?

Thanks
Ale

[-- Attachment #2: Type: text/html, Size: 1147 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] SystemC hw simulation in qemu
@ 2006-06-28 10:46 Laurent DESNOGUES
  2006-06-28 10:59 ` Alessandro Corradi
  0 siblings, 1 reply; 6+ messages in thread
From: Laurent DESNOGUES @ 2006-06-28 10:46 UTC (permalink / raw)
  To: qemu-devel

> The idea is to create a SystemC wrapper file in hw dir, where there is the
> code for connect via socket to a SystemC process in host machine. The
> problem is that I write my simple hw, but instead use io address such as
> 0x378 i need to use memory address, so I can use it in every virtualizzation
> (i386, mips etc...).

Why do you want to have SystemC in its own process?

BTW, SystemC freely available lib is really slow.  Take a look at
some lookalikes such as FastSysC.


Laurent

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] SystemC hw simulation in qemu
  2006-06-28 10:46 [Qemu-devel] SystemC hw simulation in qemu Laurent DESNOGUES
@ 2006-06-28 10:59 ` Alessandro Corradi
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Corradi @ 2006-06-28 10:59 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

2006/6/28, Laurent DESNOGUES <laurent.desnogues@wanadoo.fr>:
>
> > The idea is to create a SystemC wrapper file in hw dir, where there is
> the
> > code for connect via socket to a SystemC process in host machine. The
> > problem is that I write my simple hw, but instead use io address such as
> > 0x378 i need to use memory address, so I can use it in every
> virtualizzation
> > (i386, mips etc...).
>
> Why do you want to have SystemC in its own process?
>
> BTW, SystemC freely available lib is really slow.  Take a look at
> some lookalikes such as FastSysC.
>
>
> Laurent
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

It can be an idea, but I'm not the systemc developer, I've already got the
sc module, and I must integrate it into qemu. This is that I must to do for
thesis' degree.

Thanks
Ale

[-- Attachment #2: Type: text/html, Size: 1340 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] SystemC hw simulation in qemu
  2006-06-28 10:36   ` Alessandro Corradi
@ 2006-06-29 11:33     ` Alessandro Corradi
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Corradi @ 2006-06-29 11:33 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

Can someone help me about this? I've looked at exec.c source for understand
how io memory addressment go but i don't know if it's the right place to
start.
I see that in serial.c source there are IO and memory map function for read
and write, and serial_mm_read/write functions use serial_read/write
functions. The difference is the base address I see... right? Where I can
find this IO address?
And there is a serial_mm_init function. Is it used only all emulation except
i386 or can I use it for i386 too? In other words... can I use IO memory
address for serial port in 386 emulation or not?

Thanks
Ale

Ps: Be patience, I am only a poor student ;)

2006/6/28, Alessandro Corradi <ale.corradi@gmail.com>:
>
>
> ... The problem is that I write my simple hw, but instead use IOddress
> such as 0x378 I need to use memory address, so I can use it in every
> virtualizzation (i386, mips etc...).
> Where can I look for it?
>
> Thanks
> Ale
>

[-- Attachment #2: Type: text/html, Size: 1229 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-29 11:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 10:46 [Qemu-devel] SystemC hw simulation in qemu Laurent DESNOGUES
2006-06-28 10:59 ` Alessandro Corradi
  -- strict thread matches above, loose matches on Subject: below --
2006-06-18  8:59 Alessandro Corradi
2006-06-19 22:54 ` Fabrice Bellard
2006-06-28 10:36   ` Alessandro Corradi
2006-06-29 11:33     ` Alessandro Corradi

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).