public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: "Màrius Montón" <Marius.Monton@uab.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 'virtual HW' into kernel (SystemC)
Date: Wed, 07 Sep 2005 07:40:41 -0400	[thread overview]
Message-ID: <431ED1B9.7040407@pobox.com> (raw)
In-Reply-To: <431EC16B.2040604@uab.es>

Màrius Montón wrote:
> Hello all,
> 
> I'm a PhD student and I'm focusing on HW/SW co-design.
> 
> First of all, a brief introduction to problem:
> Nowadays, we can use C++ libraries, called SystemC, to describe HW
> behavior, and synthesize with commercial tools.
> 
> A SystemC description can be simulated using its own simulator kernel,
> and we can indeed wrap a module with its simulator kernel into a C++
> class, so we can use it as a 'normal' C++ code...
> 
> Our main problem now appears: if we develop a PCI device using SystemC
> we cannot start to develop and test the device driver until we have a
> real prototype,
> and hence, we cannot test our HW with SW.
> 
> Our proposal is to develop a set of tools (kernel module, daemon, ...) in
> order to use a SystemC model of HW as a virtual device.
> 
> With this set of code, when we have SystemC description finished (and
> only SystemC code, nor prototype, nor real HW), we will able to start
> developing driver, and testing our "virtual HW" with complete SW suite.
> 
> At this point, we plan to develop a pci device driver to act as a bridge
> between kernel PCI subsystem and SystemC simulator (in user space).

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.

	Jeff



  reply	other threads:[~2005-09-07 11:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07 10:31 'virtual HW' into kernel (SystemC) Màrius Montón
2005-09-07 11:40 ` Jeff Garzik [this message]
2005-09-07 11:54   ` Muli Ben-Yehuda
2005-09-07 12:02   ` Eric Piel
2005-09-07 12:07     ` Jeff Garzik
2005-09-07 13:26       ` Màrius Montón
2005-09-07 14:16 ` Benjamin LaHaise
2005-09-07 14:59   ` linux-os (Dick Johnson)
2005-09-07 15:12   ` Màrius Montón
2005-09-07 17:01 ` Alan Cox
     [not found] <BFECAF9E178F144FAEF2BF4CE739C66801B76517@exmail1.se.axis.com>
2005-09-07 16:38 ` 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=431ED1B9.7040407@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=Marius.Monton@uab.es \
    --cc=linux-kernel@vger.kernel.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