home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12625 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
  3. From: konopik@konopik.austin.ibm.com (Brad Konopik)
  4. Subject: Re: Micro Channel in RS/6000
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <BzDxK1.F12@austin.ibm.com>
  7. Date: Thu, 17 Dec 1992 03:55:12 GMT
  8. References: <1992Dec8.210721.15669@oakhill.sps.mot.com>
  9. Organization: IBM AIX Porting Center, Austin
  10. Keywords: Which Endian?
  11. Lines: 46
  12.  
  13. In article <1992Dec8.210721.15669@oakhill.sps.mot.com> mack@oakhill.sps.mot.com (Gregg Mack ( Sun )) writes:
  14. >I am designing a memory-mapped I/O adapter to be put into a Micro
  15. >Channel slot in an IBM RS/6000 model 350 workstation.  After reading
  16. >the IBM document SA23-2647-00 "Hardware Technical Reference Micro
  17. >Channel Architecture", I am still uncertain if Big Endian or Little
  18. >Endian addressing is used.  Is this not part of the specification?
  19.  
  20. Byte 0 is the LSB.  Byte 31 is the MSB.  Addressing is addressed in
  21. the Hardware Technical Reference General Information Manual
  22. (SA23-2643-00).
  23.  
  24. >I know that the Micro Channel spec states that D(31) is the most
  25. >significant bit of the 32-bit data bus, and this is part of the
  26. >byte accessed when -BE(3) is asserted.  Do the byte enable numbers
  27. >- -BE(0-3) correspond to the byte addresses?
  28.  
  29. See the MC spec (document # SA23-2647-00), pg. 1-40, Note 4.
  30. BE0 is D(0-7), BE3 is D(24-31).
  31.  
  32. >If so, that would
  33. >make -BE(0) = D(0-7) to reside at address 0 and -BE(3) = D(24-31)
  34. >reside at address 3.  Now if a programmer were to read a 2-byte
  35. >datum at address 1, would the data be driven onto D(8-23) or D(0-15)?
  36. >Which of these two byte would be the most significant of the data?
  37.  
  38. See MC spec pg. 1-40 and 1-41.  Data would be driven on 8-23.
  39. -BE1 and -BE2 would be active (low).  Also, D(8-15) would be
  40. replicated on D(0-7).
  41.  
  42. >As a second question:  The 8 POS registers are each 1-byte wide.
  43. >All configuration data transfers are single-byte transfers.  Since
  44. >I am designing a 32-bit slave, I only monitor -BE(0-3) (and do not
  45. >monitor -SHBE, A1, and A0).  Which of -BE(0-3) is asserted when
  46. >POS register 0 is being accessed?
  47.  
  48. Again see MC spec pg. 1-40.  For single-byte transfers, the
  49. appropriate -BE to use is address-mod-4.  Thus, POS 0 would be
  50. -BE0 (assuming POS 0 is addressed xxx0).
  51.  
  52. (The above answers are courtesy of some engineering contacts)
  53.  
  54.  
  55. -- 
  56. internet: konopik@austin.ibm.com          |  Brad Konopik
  57.    uunet: uunet!austin.ibm.com!konopik    |  IBM AIX Porting Center
  58.  ibmvnet: KONOPIK at AUSTIN               |  Austin, Texas
  59.