Sbus Specification B.O Written by Edward H
Total Page:16
File Type:pdf, Size:1020Kb
SBus Specification B.O Written by Edward H. Frank and Jim Lyle. Edited by Jim Lyle and Mike Harvey. Copyright ©1990 Sun Microsystems, Inc.-Printed in U.S.A. The Sun logo, Sun Microsystems, and Sun Workstation are registered trademarks of Sun Microsystems, Inc. Sun, Sun-2, Sun-3, Sun-4, Sun386i, Sunlnstall, SunOS, SunView, NFS, SunLink, NeWS, SPARC, and SPARCstation 1 are trademarks of Sun Microsystems, Inc. UNIX is a registered trademark of AT&T. The Sun Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun's licensees. All other products or services mentioned in this document are identified by the trademarks or service marks of their respective companies or organizations, and Sun Microsystems, Inc. disclaims any responsibility for specifying which marks are owned by which companies or organizations. All rights reserved. No part of this work covered by copyright hereon may be reproduced in any form or by any means-graphic, electronic, or mechanical-including photocopying, recording, taping, or storage in an information retrieval system, without the prior written permission of the copyright owner. Restricted rights legend: use, duplication, or disclosure by the U.S. government is subject to restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and in similar clauses in the FAR and NASA FAR Supplement. This product is protected by one or more of the following U.S. patents: 4,777,485; 4,688,190; 4,527,232; 4,745,407; 4,679,041; 4,435,792; 4,719,569; 4,550,368 in addition to foreign patents and applications pending. Contents Preface ............................................................................................ xv Contents .................................................................................................... xv Changes from Version A.2 .................................................................... xvi Conventions ........................................................................................... xvii SBus Name ........................................................................... xvii Signal Names ........................................................................ xvii Signal Vector ........................................................................ xvii Asterisk ................................................................................. xvii Words Used with Care ....................................................... xvii Special Notes ........................................................................... xix Chapter 1. Introduction ..................................................................................... 1 Purpose ........................................................................................................ 1 Scope ............................................................................................................ 2 SBus Objectives ........................................................................................... 3 Chapter 2. SBus Overview ................................................................................ 5 Dominant Technologies ............................................................................. 6 Protocol Concerns .................................................................... 6 Electrical Concerns ................................................................... 8 Mechanical Concerns ............................................................... 8 SBus Signals ................................................................................................. 9 SBus Specification B.O iii Contents SBus Configurations ................................................................................ 10 Host-based Systems ................................................................ 11 Symmetric SBus Systems ....................................................... 14 Bus Bridges .............................................................................. 15 Basic SBus Cycle ...................................................................................... 15 Translation Cycle .................................................................... 17 Slave Cycle ............................................................................... 17 SBus Controller ........................................................................................ 19 SBus System Clock .................................................................. 19 Bus Arbitration ........................................................................ 19 Virtual Address Translation, and Page Size Restrictions ............................................................................... 20 Slave Selects ............................................................................. 20 Address Strobe ........................................................................ 20 Bus Timeouts ........................................................................... 21 Other Functions ....................................................................... 21 Masters and Slaves .................................................................................. 22 Direct Virtual Memory Access (DVMA) .............................................. 23 Latency and Performance ....................................................................... 24 Clock Rates ............................................................................... 24 Transfer Rates .......................................................................... 24 Latency ..................................................................................... 26 Addressing and Configuration .............................................................. 29 FCodes ....................................................................................................... 29 ExtendedTransfers ................................................................................... 30 Chapter 3. Protocol Design .............................................................................. 31 Signal Determination .............................................................................. 31 SBus Controller Signals .......................................................................... 32 Clock ..........................................................................................32 Reset* ........................................................................................34 PhysAddr(27:0), SlaveSelect*, and AddressStrobe* ................ 36 Request*, Grant*, and Arbitration ......................................... .39 Bus Cycle ................................................................................................... 41 Translation Cycle .................................................................... 41 iv SBu8 Specification B.O Contents Slave Cycle .............................................................................. 43 Atomic Transactions ................................................................................ 47 Data(31 :0) ..................................................................................................52 Byte/Half-word Ordering and Addressing ....................... 52 Port Locations ......................................................................... 53 Alignment, Wrapping, and Burst Transfers ....................... 54 Transfer Size: Size(2:0) ........................................................................... .56 Transfer Direction: Read ....................................................................... .58 Ack(2:0)* ....................................................................................................59 Data Acknowledgments ........................................................ 65 Rerun Acknowledgment ....................................................... 67 Error Acknowledgment ......................................................... 71 Bus Timeouts ........................................................................... 74 LateError* ...................................................................................................76 Bus Sizing .................................................................................................. 78 Interrupts ................................................................................................... 81 Other Timing Diagrams .......................................................................... 83 Chapter 4. Electrical and Mechanical Design ............................................... 85 SBus Profiles .............................................................................................. 85 Electrical Design ....................................................................................... 87 Operating Range ..................................................................... 87 Power ....................................................................................... 87 Capacitive Loading ................................................................ 89 Stub Length ............................................................................. 89 Signal TerIIlination ................................................................