public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Partha Palit <chessrook2001@yahoo.com>
Cc: sid@sources.redhat.com
Subject: Re: how to generate external interrupts
Date: Tue, 24 Jun 2003 20:26:00 -0000	[thread overview]
Message-ID: <20030624191120.GC1520@redhat.com> (raw)
In-Reply-To: <20030624184208.39238.qmail@web12903.mail.yahoo.com>

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

Hi -

> >How would you prefer to cause interrupts?
> 
> I want to simulate a periodic interrupt( specifically,
> I want to be able to count the heart beats [...]

OK.

> Hence, I guess a script or a program would be
> a suitable way to do it.

That's possible, but not necessary for this context.

Probably the easiest thing to do is to use one of the
sid scheduler objects to supply the periodic interrupt.
You would have to decide whether you would like these
interrupts based on the progression of host (real) time,
versus target (simulated) time.  Then, you'd pick a
suitable time interval, in milliseconds or clock ticks
respectively.  Then you'd arrange to get the chosen
scheduler to send out a ping at the chosen interval
to the appropriate interrupt input pin.  This latter
bit is most easily done by emitting and editing the
sid configuration file that otherwise models your
desired system.


> Presently,I am reading through the SID user manual. Is
> there any other documentation, which can be helpful?

The other two families of documentation that you may find
helpful consist of a guide on developing sid components and
the set of individual component reference pages.  These may
all be found on the sid project web page.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-06-24 20:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-20 21:17 error building SID Partha Palit
2003-06-20 21:31 ` Frank Ch. Eigler
     [not found]   ` <20030623211200.20420.qmail@web12903.mail.yahoo.com>
2003-06-24 16:18     ` how to generate external interrupts Frank Ch. Eigler
2003-06-24 19:01       ` Partha Palit
2003-06-24 20:26         ` Frank Ch. Eigler [this message]
2003-06-26 22:47           ` Partha Palit
2003-06-27  2:33             ` Frank Ch. Eigler

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=20030624191120.GC1520@redhat.com \
    --to=fche@redhat.com \
    --cc=chessrook2001@yahoo.com \
    --cc=sid@sources.redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).