* Sid: Is there a bus selector component?
@ 2001-03-28 15:43 Dave Brolley
2001-03-28 16:09 ` Ben Elliston
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Dave Brolley @ 2001-03-28 15:43 UTC (permalink / raw)
To: sid
Hi,
I have a need for the inverse of the hw-glue-bus-mux component. I need
something that takes multiple buses as inputs and uses a pin as an
input selector to map one bus at a time to an output accessor. The
other buses would return sid::bus::not_mapped if any attempt was made
to access them. My current need is to map 2 buses onto one accessor.
Do we have anything like this? I'm not very familiar with the
component library.
Thanks,
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-28 15:43 Sid: Is there a bus selector component? Dave Brolley
@ 2001-03-28 16:09 ` Ben Elliston
2001-03-28 16:14 ` Ben Elliston
2001-03-28 16:17 ` Frank Ch. Eigler
2 siblings, 0 replies; 8+ messages in thread
From: Ben Elliston @ 2001-03-28 16:09 UTC (permalink / raw)
To: Dave Brolley; +Cc: sid
>>>>> "Dave" == Dave Brolley <brolley@redhat.com> writes:
Dave> Do we have anything like this? I'm not very familiar with the
Dave> component library.
I believe there isn't such a component, but the place to look is the
component/CATALOG file.
Ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-28 15:43 Sid: Is there a bus selector component? Dave Brolley
2001-03-28 16:09 ` Ben Elliston
@ 2001-03-28 16:14 ` Ben Elliston
2001-03-29 17:56 ` Dave Brolley
2001-03-28 16:17 ` Frank Ch. Eigler
2 siblings, 1 reply; 8+ messages in thread
From: Ben Elliston @ 2001-03-28 16:14 UTC (permalink / raw)
To: Dave Brolley; +Cc: sid
>>>>> "Dave" == Dave Brolley <brolley@redhat.com> writes:
Dave> I have a need for the inverse of the hw-glue-bus-mux
Dave> component. I need something that takes multiple buses as
Dave> inputs and uses a pin as an input selector to map one bus at a
Dave> time to an output accessor.
What you're describing *is* a multiplexer. So what is the existing
hw-glue-bus-mux, then? A decoder?
Ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-28 15:43 Sid: Is there a bus selector component? Dave Brolley
2001-03-28 16:09 ` Ben Elliston
2001-03-28 16:14 ` Ben Elliston
@ 2001-03-28 16:17 ` Frank Ch. Eigler
2001-03-29 17:56 ` Dave Brolley
2 siblings, 1 reply; 8+ messages in thread
From: Frank Ch. Eigler @ 2001-03-28 16:17 UTC (permalink / raw)
To: Dave Brolley; +Cc: sid
Hi -
On Wed, Mar 28, 2001 at 06:43:27PM -0500, Dave Brolley wrote:
: I have a need for the inverse of the hw-glue-bus-mux component. [...]
Interesting - why?
: Do we have anything like this? I'm not very familiar with the
: component library.
Nope. It should not be hard to write one.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6wn75VZbdDOm/ZT0RAic/AJ9ISqUy2kLXNMlw4AlrIzJzevNSRQCdFJN8
+T+AIlYSx4JeCg586R3KDII=
=+ap1
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-28 16:17 ` Frank Ch. Eigler
@ 2001-03-29 17:56 ` Dave Brolley
2001-03-29 19:26 ` Frank Ch. Eigler
0 siblings, 1 reply; 8+ messages in thread
From: Dave Brolley @ 2001-03-29 17:56 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: sid
After some thought, it looks like I could do this with two of the
existing bus-bux components:
connect-pin control selector -> mux1 switch
connect-pin control selector -> mux2 switch
connect-bus master1 bus mux1 upstream
connect-bus master2 bus mux2 upstream
connect-bus mux1 downstream1 slave read-write-port
# don't connect mux1 downstream2 to anything
# don't connect mux2 downstream1 to anything
connect-bus mux2 downstream2 slave read-write-port
Turns out that bux-mux returns sid::bus::unmapped if the selected
accessor is not connected.
Any objections if I punt on the new selector component and just do this?
Dave
Frank Ch. Eigler wrote:
> Hi -
>
> On Wed, Mar 28, 2001 at 06:43:27PM -0500, Dave Brolley wrote:
> : I have a need for the inverse of the hw-glue-bus-mux component. [...]
>
> Interesting - why?
>
> : Do we have anything like this? I'm not very familiar with the
> : component library.
>
> Nope. It should not be hard to write one.
>
> - FChE
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-28 16:14 ` Ben Elliston
@ 2001-03-29 17:56 ` Dave Brolley
2001-03-29 18:25 ` Ben Elliston
0 siblings, 1 reply; 8+ messages in thread
From: Dave Brolley @ 2001-03-29 17:56 UTC (permalink / raw)
To: Ben Elliston; +Cc: sid
Ben Elliston wrote:
>>>>>> "Dave" == Dave Brolley <brolley@redhat.com> writes:
>>>>>
>
> Dave> I have a need for the inverse of the hw-glue-bus-mux
> Dave> component. I need something that takes multiple buses as
> Dave> inputs and uses a pin as an input selector to map one bus at a
> Dave> time to an output accessor.
>
> What you're describing *is* a multiplexer. So what is the existing
> hw-glue-bus-mux, then? A decoder?
>
> Ben
>
>
It maps one input bus to multiple output accessors.
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-29 17:56 ` Dave Brolley
@ 2001-03-29 18:25 ` Ben Elliston
0 siblings, 0 replies; 8+ messages in thread
From: Ben Elliston @ 2001-03-29 18:25 UTC (permalink / raw)
To: Dave Brolley; +Cc: sid
>>>>> "Dave" == Dave Brolley <brolley@redhat.com> writes:
Dave> I have a need for the inverse of the hw-glue-bus-mux
Dave> component. I need something that takes multiple buses as
Dave> inputs and uses a pin as an input selector to map one bus at a
Dave> time to an output accessor.
>>
>> What you're describing *is* a multiplexer. So what is the existing
>> hw-glue-bus-mux, then? A decoder?
Dave> It maps one input bus to multiple output accessors.
That doesn't sound like a mux to me -- that's a demux.
Ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sid: Is there a bus selector component?
2001-03-29 17:56 ` Dave Brolley
@ 2001-03-29 19:26 ` Frank Ch. Eigler
0 siblings, 0 replies; 8+ messages in thread
From: Frank Ch. Eigler @ 2001-03-29 19:26 UTC (permalink / raw)
To: Dave Brolley; +Cc: sid
Hi -
brolley wrote:
: After some thought, it looks like I could do this with two of the
: existing bus-bux components: [...]
Very good -- sort of like two pass-transistors.
: Any objections if I punt on the new selector component and just do this?
No problem -- IMO this is even better.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6w2BiVZbdDOm/ZT0RAhynAJ4kSOlPO2IOTQ0qIktwSxfyenKOngCeItuU
yB8OJ56Y3WNrx1OQs+uGqvo=
=N84j
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-03-29 19:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-28 15:43 Sid: Is there a bus selector component? Dave Brolley
2001-03-28 16:09 ` Ben Elliston
2001-03-28 16:14 ` Ben Elliston
2001-03-29 17:56 ` Dave Brolley
2001-03-29 18:25 ` Ben Elliston
2001-03-28 16:17 ` Frank Ch. Eigler
2001-03-29 17:56 ` Dave Brolley
2001-03-29 19:26 ` Frank Ch. Eigler
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).