This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [newbie] Input to SID


Hi -

On Wed, Oct 22, 2003 at 06:33:08PM +0200, M.Fehr@brunel.de wrote:
> [...]
> -how do you get input into the running application, from a parallel or
> serial port for example. 

If you are referring to the host hardware parallel or serial port,
to some extent this can be accomplished by something like the
sid-io-fileio or sid-io-stdio components.  One would tie the simulated
target UART to an instance of one of these host-side interfaces, and
configure the latter to talk to the host's /dev/ttyS1, or something
like that.  There are a few glitches like the new sid-io-fileio only
being capable of output at the moment (oops), but gazing over
sid/component/consoles, one sees that filling these gaps is not that
big a deal.


> I investigated the "system monitor" (tksm) and
> didn't manage to manipulate any value. 

You need to open a per-component view.  In that list, you'll see
all the avilable attributes.  The value fields are as editable
as the subject components let them.  Most pins are exposed as
attributes for purposes of just such interaction.

> Is it possible to write some user-interface in tcl/tk that somehow
> invokes commands on sid-components and simulates signals?

Absolutely.  See the hw-visual-tty for a two-way interactive one;
see hw-visual-clock, hw-visual-probe-pin (aka "fuzzy dice") components.


- FChE

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]