home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / vhdl / 632 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.lang.vhdl
  2. Path: sparky!uunet!europa.asd.contel.com!gatech!hubcap!ncrcae!ncrcol.ColumbiaSC.NCR.COM!beihl
  3. From: beihl@ncrcol.ColumbiaSC.NCR.COM (Gary Beihl)
  4. Subject: Re: Overload Resolution (Was: type conversion and configuration)
  5. Message-ID: <1993Jan08.112100.22886@ncrcae.ColumbiaSC.NCR.COM>
  6. Nntp-Posting-Host: linville.columbiasc.ncr.com
  7. Organization: NCR E&M Columbia SC.
  8. References: <1993Jan4.225957.26359@viewlogic.com> <1993Jan05.101254.26831@ncrcae.ColumbiaSC.NCR.COM> <DANIEL.93Jan6115749@algol.clsi.COM>
  9. Date: Fri, 08 Jan 93 16:21:00 GMT
  10. Lines: 18
  11.  
  12. In article <DANIEL.93Jan6115749@algol.clsi.COM> daniel@clsi.COM (Daniel S. Barclay) writes:
  13. >would it make a difference?  Aren't Sunder's comments correct:
  14. >
  15. >    "The first one when indexed gives you an element of std_ulogic, and 
  16. >    the latter gives std_logic. Now, std_logic is a subtype of std_ulogic,
  17. >    which implies both have the same base type which is std_ulogic."
  18. >
  19. >What seemed to "narrow the search to a single choice"?
  20. >
  21.  
  22. Sunder and Daniel are correct.  I had somehow (temporarily) convinced 
  23. myself that the subtype of the default expression had to match the
  24. subtype indication of the interface object.  After re-reading the LRM
  25. and the previous posts, I'm now in agreement that the original code is
  26. ambiguous. 
  27.  
  28. Gary Beihl (gary.beihl@columbiasc.ncr.com)
  29.  
  30.