home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rutgers!princeton!tan!jwithana
- From: jwithana@tan.cit (Janaka Withana, 402 Feinberg Hall, (609) 258-8811,)
- Newsgroups: comp.lang.vhdl
- Subject: Re: Resolved signals
- Message-ID: <1992Jul31.200730.14684@Princeton.EDU>
- Date: 31 Jul 92 20:07:30 GMT
- References: <1992Jul31.154737.1407@clsi.COM>
- Sender: news@Princeton.EDU (USENET News System)
- Reply-To: jwithana@tan.cit
- Organization: Princeton Univeristy
- Lines: 59
- Nntp-Posting-Host: tan.princeton.edu
-
- In article 1407@clsi.COM, shankha@clsi.COM (Shankha Mitra) writes:
- >
- > In article <48320002@hpscit.sc.hp.com>, doug@hpscit.sc.hp.com (Doug Sojourner) writes:
- > > In comp.lang.vhdl, jmessenger@cix.compulink.co.uk (John Messenger) writes:
- > >
- > > > subtype RTYPE is RESOLVED INTEGER;
- > > > type ARR is ARRAY (0 to 1) of RTYPE;
- > > > signal S: ARR;
- > >
- > > > is S a resolved signal?
- > >
- > > Under the conditions above, S would be a resolved signal
- > >
- >
- > I disagree. LRM 4.3.1.2 explicitly states:
- > If the name of a resolution function appears in the declaration of a
- > signal, or in the declaration of the subtype used to declare the
- > signal, then that resolution function is associated with the declared
- > signal. Such a signal is called a resolved signal.
- >
- > Since ARR doesn't have a resolution function associated with it in its
- > declaration, S is NOT a resolved signal.
-
- but the sub-elements RTYPE of ARR do have a resolution function!
-
- >
- > You can declare S to be a resolved signal in two ways:
- > signal S: resolution_function ARR;
- > or,
- > subtype RESOLVED_ARR is resolution_function ARR;
- > signal S: RESOLVED_ARR;
- >
- > On the second method, the LRM 2.4 has the following to say:
- > If a resolved signal is of a composite type, and subelements of that
- > type also have associated resolution functions, such resolution
- > functions have no effect on the process of determining the resolved
- > value of the signal.
-
- in this cases function resolution_function will "replace" the function RESOLVED that
- resolves the sub-elements of ARR!
-
- >
- > So, it'll work okay.
- >
- > Shankha
- >
-
- aw, c'mon. get real. it is pretty darn obvious that S is a resolved signal!
-
- type ARR is an array of RTYPE. since RTYPE is resolved, ARR is therefore resolved.
- and S is resolved!
-
- comments, anyone?
-
- ---
- -----------------------------------------------------------------------------
- | jwithana@phoenix.princeton.edu janaka@lucille.princeton.edu |
- | janaka@ee.princeton.edu JWITHANA@PUCC.bitnet bt283@po.cwru.edu |
- -----------------------------------------------------------------------------
-