Re: 'virtual HW' into kernel (SystemC)

From: MÃrius MontÃn
Date: Wed Sep 07 2005 - 08:29:02 EST


All suggestions are good, but from my point of view, both solutions
(entire simulated system, or using an emulator) could be too slow and
too much artificial, so in translation to 'real world' can be a lot of
problems.

I think our approach is the most real environment for our SystemC module.

We will try to implement in this way, so any hints here will be appreciated.
Thanks

MÃrius



Jeff Garzik wrote:

> Eric Piel wrote:
>
>> 09/07/2005 01:40 PM, Jeff Garzik wrote/a Ãcrit:
>>
>>> No need for a set of tools. As long as your SystemC simulator
>>> simulates an entire platform -- CPU, DRAM, etc. -- then you can boot
>>> Linux on the simulated platform.
>>>
>>> If you can boot Linux on the simulated platform, then you can easily
>>> develop a Linux driver long before real HW is available.
>>
>>
>>
>> No, this approach is not feasible because it would be require to
>> describe the entire computer in SystemC:
>
>
> Correct.
>
>> it's extremly complex to do
>
>
> Not if you can reuse pre-existing parts from http://www.opencores.org/
> and similar places.
>
>
>> the simulation will be very slow.
>
>
> Depends on your simulator ;-)
>
>
>> From what I understand MÃrius tries to only simulate one component
>> (like a PCI card). As suggested Muli, a plugin to something like
>> quemu sounds like a good idea?
>
>
> A plugin to qemu or Bochs should work, in theory. In practice,
> neither are great for PCI MMIO or PCI DMA.
>
> Jeff
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
MÃrius MontÃn i MaciÃn marius.monton@xxxxxx
<mailto:marius.monton@xxxxxx> http://microelec.uab.es/~marius
<http://microelec.uab.es/%7Emarius>
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
QC2088. ETSE. Campus UAB.
080193 Bellaterra


begin:vcard
fn;quoted-printable:M=C3=A0rius Mont=C3=B3n
n;quoted-printable;quoted-printable:Mont=C3=B3n;M=C3=A0rius
org;quoted-printable:UAB;Departament de Microelectr=C3=B2nica i Sistemes Electr=C3=B2nics
adr:Campus de la UAB;;QC-2088 ETSE;Bellaterra;Barcelona;08193;SPAIN
email;internet:marius.monton@xxxxxx
tel;work:+34935813534
x-mozilla-html:TRUE
url:http://cephis.uab.es
version:2.1
end:vcard