What is a "tuple" in pccard/pcmcia perse?
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
What is a "tuple" in pccard/pcmcia perse?

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
ssubbarayan
Guest





Posted: Thu Dec 29, 2005 5:15 pm    Post subject: What is a "tuple" in pccard/pcmcia perse? Reply with quote

Experts,
I would like to understand what exactly is meant by "tuple" in the
perse of PCCARDS and PCMCIA standards?I googled in net,but has not hit
a right target.Can anyone explain me about this?

Advanced thanks for all your replys ,
Regards,
s.subbarayan
Back to top
Grant Edwards
Guest





Posted: Thu Dec 29, 2005 5:15 pm    Post subject: Re: What is a "tuple" in pccard/pcmcia perse? Reply with quote

On 2005-12-29, ssubbarayan <ssubba@gmail.com> wrote:

Quote:
I would like to understand what exactly is meant by "tuple" in the
perse of PCCARDS and PCMCIA standards?

A tuple is a set of values that are associated with each other
and passed around together as a group. Like a "struct" in C.

Quote:
I googled in net,but has not hit
a right target.Can anyone explain me about this?

Odd. I googled for tuple definition, and found lots of
definitions.

--
Grant Edwards
grante@visi.com
Back to top
Bob Stephens
Guest





Posted: Thu Dec 29, 2005 5:15 pm    Post subject: Re: What is a "tuple" in pccard/pcmcia perse? Reply with quote

On 29 Dec 2005 07:42:42 -0800, already5chosen@yahoo.com wrote:

Quote:
ssubbarayan wrote:
Experts,
I would like to understand what exactly is meant by "tuple" in the
perse of PCCARDS and PCMCIA standards?I googled in net,but has not hit
a right target.Can anyone explain me about this?

Advanced thanks for all your replys ,
Regards,
s.subbarayan

The word tuple in PCCard standard refers to the element of the Card
Information Structure (or CIS a.k.a. Metaformat). Tuple is a
variable-length record consisting of the tuple code, tuple' link
(serves as a length field) and tuple' body. CIS is stored in the
attribute memory of the 16-bit PCCARD (R2-cards in M$speak). 32-bit
PC-cards known as CARDBUS also could have CIS but it would be of little
utility because a regular PCI configuration space already provides a
sufficient info for plug&play.
Further information available in the official PCCARD standard.
You can order the standard from www.pcmcia.org/bookstore.htm ($299). Or
buy one of the cheaper books from their bookstore.
At very least read a free overview: www.pcmcia.org/pccard.htm#stan

I remember from linear algebra, the prof. was always going on about
'n-tuples' which were vectors of length 'n' IIRC. I thought that was
unecessary obfuscation, but this sounds like real gobbledygook.


Bob
Back to top
Guest






Posted: Thu Dec 29, 2005 5:15 pm    Post subject: Re: What is a "tuple" in pccard/pcmcia perse? Reply with quote

ssubbarayan wrote:
Quote:
Experts,
I would like to understand what exactly is meant by "tuple" in the
perse of PCCARDS and PCMCIA standards?I googled in net,but has not hit
a right target.Can anyone explain me about this?

Advanced thanks for all your replys ,
Regards,
s.subbarayan

The word tuple in PCCard standard refers to the element of the Card
Information Structure (or CIS a.k.a. Metaformat). Tuple is a
variable-length record consisting of the tuple code, tuple' link
(serves as a length field) and tuple' body. CIS is stored in the
attribute memory of the 16-bit PCCARD (R2-cards in M$speak). 32-bit
PC-cards known as CARDBUS also could have CIS but it would be of little
utility because a regular PCI configuration space already provides a
sufficient info for plug&play.
Further information available in the official PCCARD standard.
You can order the standard from www.pcmcia.org/bookstore.htm ($299). Or
buy one of the cheaper books from their bookstore.
At very least read a free overview: www.pcmcia.org/pccard.htm#stan
Back to top
larwe
Guest





Posted: Thu Dec 29, 2005 5:15 pm    Post subject: Re: What is a "tuple" in pccard/pcmcia perse? Reply with quote

Quote:
I would like to understand what exactly is meant by "tuple" in the

www.dictionary.com.

tuple



In functional languages, a data object containing two or
more components. Also known as a product type or pair,
triple, quad, etc. Tuples of different sizes have different
types, in contrast to lists where the type is independent of
the length. The components of a tuple may be of different
types whereas all elements of a list have the same type.
Examples of tuples in Haskell notation are (1,2),
("Tuple",True), (w,(x,y),z). The degenerate tuple with zero
components, written (), is known as the unit type since it has
only one possible value which is also written ().

The implementation of tuples in a language may be either
"lifted" or not. If tuples are lifted then (bottom,bottom)
/= bottom and the evaluation of a tuple may fail to terminate.
E.g. in Haskell:

f (x,y) = 1 --> f bottom = bottom
f (bottom,bottom) = 1

With lifted tuples, a tuple pattern is refutable. Thus in
Haskell, pattern matching on tuples is the same as pattern
matching on types with multiple constructors (algebraic data
types) - the expression being matched is evaluated as far as
the top level constructor, even though, in the case of tuples,
there is only one possible constructor for a given type.

If tuples are unlifted then (bottom, bottom) = bottom and
evaluation of a tuple will never fail to terminate though any
of the components may. E.g. in Miranda:

f (x,y) = 1 --> f bottom = 1
f (bottom,bottom) = 1

Thus in Miranda, any object whose type is compatible with a
tuple pattern is assumed to match at the top level without
evaluation - it is an irrefutable pattern. This also
applies to user defined data types with only one constructor.
In Haskell, patterns can be made irrefutable by adding a "~"
as in

f ~(x,y) = 1.

If tuple constructor functions were strict in all their
arguments then (bottom,x) = (x,bottom) = bottom for any x so
matching a refutable pattern would fail to terminate if any
component was bottom.



Source: The Free On-line Dictionary of Computing, © 1993-2005 Denis
Howe
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB