Digital PDFs
Documents
Guest
Register
Log In
MISC-68363B40
December 1987
29 pages
Original
1.4MB
view
download
Document:
Firefox Workstation I/0O Module Functional Specification
Order Number:
MISC-68363B40
Revision:
0
Pages:
29
Original Filename:
OCR Text
Firefox Workstation 1/0 Module Functional Specification Revision 3.0 Paul Richardson (DECWSE::PAULR.) Michael Nielsen (DECWSE::NIELSEN) Workstation Systems Engineering Digital Equipment Corporation 100 Hamilton Avenue Palu Alto, CA 94301 415-853-6781 December 23, 1987 RESTRICTED DISTRIBUTION Copyright 1986, 1987 by Digital Equipment Corporation The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may occur in this document. This specification does not describe any program or product currently available from Digital Equipment Corporation. Nor does Digital Equipment Corporation commit to implement this specification in any product or program. Digital Equipment Corporation makes no commitment that this document accurately describes any product it might ever make. Blank Page I ii Table of Contents 7. Firefox Workstation 1/0 Module (L2003) 7 .1. Functionality .. ..... .. .. . .. .. .. . .. ... .. .. ... .. ... .. ..... ..... .... ... .. ... .. .. ... .. ... .... ... .. ... .. .. ... .. ... .. .. .. . .. ... .. .. ... . 1 7 .1.1. Time-of-Year Clock . .. ... .. ... .. .. ... ..... .. .. ... .. ... .. .. ... .. ... .. .. ... .. ... .. .. ... .. ... .. .. ... .. ... .... ... . 7 .1.2. Interval Timers ... .. ... .. .. ... .. ... .. .. ..... ... .... ... .. ... .. .. ... ..... .. ..... .. ... .. .. ... .. ... .. .. ... .. ... .. .. ... . 7.1.3. Battery-Backed-Up RAM ................................................................................... 7.1.4. Base Workstation ROM ...................................................................................... 7.1.5. Serial Interface .................................................................................................... 7.1.6. Disk/Tape Interface ............................................................................................ 7 .1. 7. Network Interface ... .. ..... .. ... .. .. .. . .. ... .. .. ... .. ..... ....... ........ .. .. ... .. .. ... ..... .. .. ... .. ... .. .. ... . 7.1.8. IOCSR ................................................................................................................. 7.1.9. M-Bus Interface .................................................................................................. 7.1.10. M-Bus l\1R.ESET Logic .................................................................................... 7.1.11. M-Bus MCLK.l Interval Clock ......................................................................... 7.1.12. Status-Indicator Outputs ................................................................................... 7.1.13. Manufacturing-Mode Inputs .............................................................................. 7.1.14. External Connections ........................................................................................ 7.1.15. Addressing ........................................................................................................ 7 .1.16. Interrupt Priority ~vels ... .. .. ... .. ... .. .. ... .. .. ... .. ... .. ... .. .. ... .. ... .. ..... .. ... .. .. ... .. ... .. .. ... . 7 .1.17. L2003 Power Requirements .... .. .. . .. ..... ..... .... ... .. .. . .. .. ... .. .. . .. .... ... ... .. .. ... .. ... .. ...... 1 2 2 2 2 2 3 3 3 3 4 4 4 4 4 5 5 7 .2. Implementation ... .. ... .. .. ... .. ... .. .. ... .. .. ... .. ... .. ... .. .. ..... .. . .... ... .. ... .. .. ... .. ... .. .. ... .. ... .. .. ... .. ... .. .. ... . 5 7.2.1. Time-of-Year Clock, Interval Clock, Interval Timers, BBU RAM ................... 7 7.2.1.1. Device Features ............................................................................................... 7.2.1.2. Bus Connection .............................................................................. ,.................. 7 .2.1.3. Interrupts .. .. .. ... .. ... .. .. ... .. ... .. ..... .. ....... ... .. ... .. .. .. ... ... .... ... ..... .. .. ..... ... .. .. ... .. ... .. .. ... . 7.2.1.4. External Connection ........................................................................................ 7.2.1.5. SSC Address Map ............................................................................................ 7 7 8 8 8 7 .2.2. Serial Lines . .. .. ... .. ....... ... .. ... .. .. ... .. .. . .. .. ... ..... .. .. .. .. . ... .. .. ... .. ... .. ..... .. ... ... ... ... ... .. .. ... . 8 7 .2.2.1. Device Features ... .. .. ... .. ... .. .. .. ... .. . ................ ... .. ... .... ... .. ... .. ..... .. ... .. .. ... .. ... .. .. ... . 7.2.2.2. Bus Coilllection ................................................................................................. 7.2.2.3. Interrupts .......................................................................................................... 7 .2.2.4. External Coilllections .. .. ....... ..... ... .. .. ... .. ..... .. ... .. ... ....... ..... .. .. ............ ... ..... ........ 7.2.2.5. DC7085 Address Map ..................................................................................... 9 9 9 9 9 7.2.3. Disk!fape Interface ............................................................................................ 9 7 .2 .3 .1. Device Features ... .. .. ... .. .. ... .. ... .. .. . . .. .... ..... .... ... .. ... .. .. .. . .. .. . .. .. .. . .. .. ... .. ... .. ..... .. ... . 7.2.3.2. Bus Connection ................................................................................................ 7.2.3.3. Interrupts .......................................................................................................... 7.2.3.4. External Connection ........................................................................................ 9 10 10 10 iii 7.2.3.5. SII Address Map .............................................................................................. 10 7 .2.4. Network Interface 11 7.2.4.1. Device Features ............................................................................................... 7.2.4.2. Bus Connection ................................................................................................ 7 .2.4.3. Interrupts .......................................................................................................... 7 .2.4.4. External Connection ............ ... ....... .. ............... ..... .. .. ........ .............. .................. 7.2.4.5. LANCE Address Map ...................................................................................... 7 .2.4.6. Station Address ROM ...................................................................................... 11 12 12 12 12 12 7.2.5. I/0 Control and Status Register (IOCSR) .......................................................... 7.2.6. M-Bus Interface .................................................................................................. 13 14 7.2.6.1. Device Features ............................................................................................... 7.2.6.2. Bus Connections .............................................................................................. 7.2.6.3. Interrupts .......................................................................................................... 7 .2.6.4. External Connection ........................................................................................ 7.2.6.5. FBIC Address Map .......................................................................................... 14 15 15 15 15 7.2.7. Base Workstation ROM ...................................................................................... 7.2.8. L2003 Status-Indicator Outputs .......................................................................... 7.2.9. L2003 Manufacturing-Mode Inputs ................................................................... 7.2.10. M-Bus MR.ESET Logic .................................................................................... 7.2.11. aock:s ............................................................................................................... 7.2.12. Cover Assembly Cable Connector .................................................................... 7.2.13. DSSI Cable Connector ...................................................................................... 7.2.14. Printed Circuit Board ........................................................................................ 16 16 17 17 17 17 18 19 7.3. Programming ................................................................................................................... 19 7.3.1. Locating Modules ............................................................................................... 7.3.2. Addressing .......................................................................................................... 7.3 .3. Initialization .. .. ... .. .. ... .. ... .. ... .. .. ... .. ... .. .. ... .. ... .... .. ... ... .. .. ... .. ... .. .. ... .... ... .. ... .. ... .. .. ... . 7.3.4. Multiple Firefox Workstation I/0 Modules ........................................................ 7.3.5. Base Workstation ROM ...................................................................................... 7.3.6. Interlocked References ..................................................................... ,.................. 7.3.7. Device Interrupts ................................................................................................ 7.3.8. Dis.k/N'etwork Buffers ......................................................................................... 7.3.9. Module Reset ...................................................................................................... 19 20 20 20 21 21 21 21 21 7 .4. Access Time ... .. ............ ..... ..... ....... ... .. .. ... .. ... .... ... .. ... ......... ... .... ........ .... ... ..... .... ... .. ... ........ 22 iv Revision History Date 3 Nov 87 j Version 3.0 Content/Changes Listed cover assembly requirements ' Miscellaneous clarifications for design review questions Corrected cover connector pinout Corrected manufacturing-mode polarity in FBICSR Added IOCSR<MRUN> bit Correct access of IOCSR to be word only Added module-reset description Added ESAR test pattern values 17 Aug 87 2.1 Separated disk and network interfaces Network buffer address changed Deleted IOCSR <RSTSSC,RSTDSK,RSTNET ,RSTSER> bits Cover-status outputs reduced to 5 bits Power-up MRESET assertion reduced to 70 ms Added section listing resource access times 30 Apr 87 2.0 Dropped CDMA Selected DZ serial interface i 27 Jan 87 1.1 Integrated with system specification ! 24 Jan 87 1.0 First external release \ 10 Jan 87 0.0 Preliminary draft I I I / v Blank Page vi 7. Firefox Workstation 1/0 Module (L2003) This chapter contains the functional specification for the Firefox workstation I/0 module (L2003 ). It describes the functionality of the module, presents the specific implementation that achieves that function, and lists required software initialization and programming guidelines. It does not describe the detailed function of VLSI devices on the module; this information can be found in the appendices of the Firefox Designer's Guide. The Firefox workstation I/0 module implements all of the workstation I/0 and support functions in a single L-series-quad module. These functions are as follow: • Time-of-year clock • Interval timers • 1-Kbyte battery-backed-up (BBU) RAM • Base workstation ROM • Serial lines for keyboard, mouse/tablet, modem, and printer/console • Disk/tape interface for RF/fF series drives • Network interface for ThickWire Ethernet • Software-controlled device-reset register • M-bus interface • M-bus :MRESET logic • M-bus MCLKI interval clock The L2003 requires a cover assembly to implement the serial line EIA drivers, receivers, and connectors; an Ethernet transceiver cable connector and/or ThinWire Ethernet transceiver; a hexadecimal-digit status display; and a battery for the 1-Kbyte BBU RAM and time-of-year clock. Detailed descriptions of these functions can be found in the Firefox Workstation 110 Cover Module Functional Specification. The L2003 has been designed specifically for use in Firefox SMP systems. All module devices are accessible from the M-bus to any M-bus master. Nonatomic operations on VLSI device interfaces may require operating system interlocks. ,,. A Firefox workstation must contain the L2003 or an equivalent module that implements the logic for the M-bus MCLKI and :MRESET signals. There is no logical or electrical constraint that prohibits multiple L2003 modules in the workstation, although such configurations require some software coordination as discussed in the section on programming examples later in this chapter. 7.1. Functionality The following is a description of the functionality of the L2003 without specific reference to the actual implementation, which is discussed in Section 7 .2 of this chapter. 7.1.1. Time-of-Year Clock The L2003 implements a time-of-year clock compatible with the VAX SRM specification. The time-of-year clock is a single longword register that represents an unsigned 32-bit binary counter. The least significant bit of the counter represents a resolution of 10 milliseconds. The counter has battery backup that will sustain its operation for at least 100 hours. The battery is recharged automatically. If the battery has failed, the counter clears at workstation reset. The time-of-year clock register is accessible to software via an I/0-space reference. 7.1.2. Firefox Workstation 1/0 Module (L2003) December 23, 1987 Firefox System Specification 1 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION 7.1.2. Interval Timers The L2003 implements an interval timer compatible with the VAX SRM specification. The Interval Count register is a single longword register that represents an unsigned 32-bit binary counter. The least significant bit of the counter represents a resolution of one microsecond. When the interval count overflows, the interval timer generates a vectored interrupt under control of the Interval Clock Control and Status register. The Interval Count register, Next Interval Count register, and Interval Clock Control and Status register are accessible to software through I/0-space references. 7.1.3. Battery-Backed-Up RAM The L2003 implements 1 Kbyte of battery-backed-up RAM with byte, word, and longword access that allows storage of workstation configuration parameters and the setting of soft console switches. It is accessible to software through I/0-space references. 7.1.4. Base Workstation ROM The L2003 implements 256 Kbytes of ROM for use as base workstation ROM. The ROM, which is in sockets, is accessible to software through I/0-space references. 7.1.5. Serial Interface The L2003 implements four asynchronous serial lines for use by a keyboard, mouse/tablet, modem, and printer/console with a DZ-compatible software interface. The serial lines which are compatible with the LK201 keyboard, the VS:XXX-AA mouse, and the VSXXX-AB tablet, conform to RS-423 electrical specifications. The keyboard, mouse/tablet, and printer/control serial lines are data-leads-only (RX!I'X). The modem serial line supports the CTS, RTS, DTR, DSR, RI, CD, DSRS, SPDMI, TMI, and LLPBK asynchronous modem control signals. The baud rate of the serial lines is independently programmable to 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2000, 2400, 3600, 4800, 7200, or 9600 bits per second. The character width of the serial lines is independently programmable to 5, 6, 7, or 8 bits. Parity of the serial lines is independently programmable to odd, even, or none. Stop bit length of the serial lines is independently programmable to 1 or 1.5/2 bits. "' The serial interface has a shared, 64-character, receiver HFO to buffer serial line input. The serial interface supports generation of vectored interrupts after character reception/transmission. When operating in console mode, as specified by a bit in the IOCSR, break conditions on the printer/console serial line assert the M-bus :MHALT signal. The serial interface registers are accessible via I/0-space references. 7 .1.6. Disk/Tape Interface The L2003 implements a disk/tape interface compatible with the RF{fF series disk/tape drives. The disk/tape interface uses signal levels and conventions for the physical link as specified by DIGITAL Small Storage Interconnect (DSSI) architecture. The interface supports data transfers on the DSSI bus at the maximum DSSI bandwidth of 4 Mbytes/sec without processor intervention. Because of latency constraints, the DSSI interface transfers data only between DSSI devices and a local 128-Kbyte RAM disk buffer. Because of implementation constraints, the RAM buffer is not parity protected. Operating system device drivers must explicitly copy data between the RAM buffer and host memory. Processors can achieve 2-Mbyte/sec transfer rates with block-move instructions. The disk/tape interface generates vectored interrupts in response to completion of DSSI packet transmission. 2 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.1.6. DIGITAL EQUJPMENT CORPORATION - RESTRICTED DISTRIBUTION The DSSI cable connector position allows cable routing entirely within the EMI enclosure of the Firefox cabinet. The disk/tape interface control and status registers, and the local disk buffer, are accessible to software through I/0-space references. 7.1.7. Network Interface The L2003 implements a network interface compatible with the physical-link specification for the DIGITAL ThickWire Ethernet, as well as the data-link specification for DIGITAL ThickWire Ethernet and IEEE 802.3. The network interface supports data transfers at the maximum signaling rate of 10 Mbits/sec. Because of latency constraints, the network interface only transfers data between the Ethernet and a local 128-Kbyte RAM network buffer. Because of implementation constraints, the RAM buffer is not parity protected. Operating system device drivers must explicitly copy data between the RAM buffer and host memory. Processors can achieve 2-Mbyte/sec transfer rates with block-move instructions. The network interface generates vectored interrupts in response to completion of packet reception or transmission. Note that the network buffer and disk buffer are two separate buffers, each 128 Kbytes in size. The network interface has a fixed 48-bit station address in ROM. The ROM is in a socket. The network interface Control and Status registers, the local network buffer, and the station-address ROM are accessible to software through I/0-space references. 7.1.8. IOCSR The L2003 implements the IOCSR which allows hardware reinitialization of the entire Firefox workstation, controls whether the L2003 drives the M-bus MCLKI signal, controls illumination of the front-panel system-running indicator, specifies whether the printer/console serial line is in console mode, and provides access to the Ethernet station-address ROM. The IOCSR is accessible via I/0-space references. 7.1.9. M-Bus Interface The L2003 implements an M-bus interface that conforms to the Firefox Workstation M-Bus Specification. In addition to satisfying the M-bus interface requirements, the M-bus interface also supports the following: • Slave access to the Control and Status registers of the time-of-year,,clock, interval clock, interval timer, serial interface, disk/tape interface, network interface, battery-backed-up RAM, local disk and network buffers, base workstation ROM, and the IOCSR • Generation and acknowledgement of interrupts for the interval timers, serial interface, disk/tape interface, and network interface The serial interface, disk/tape interface, network interface, local disk and network buffers, base workstation ROM, and IOCSR reside in the 32-Mbyte I/0-space region associated with the M-bus slot of the L2003. The time-of-year clock, interval clock, interval timers, and battery-backed-up RAM reside at a fixed address in I/0 space. 7.1.10. M-Bus MRESET Logic The L2003 implements the logic to drive the M-bus MRESET signal during powerup, when the MDCOK signal is deasserted, or under software control via the IOCSR. The minimum MRESET assertion pulse width is 16 M-bus clock cycles. After powerup, the logic asserts MRESET for at least 70 milliseconds. 7.1.11. Firefox. Workstation I/O Module (L2003) December 23, 1987 Firefox. System Specification 3 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION 7.1.11. M-Bus MCLKI Interval Clock The L2003 implements an interval clock that generates a 100-Hz square wave onto the M-bus MCLIG signal for use by processors as an interval-clock interrupt. The L2003 must be explicitly enabled to drive the M-bus MCLKI signal via the IOCSR. 7.1.12. Status-Indicator Outputs The L2003 supports a 5-bit status indicator on its cover. The status-indicator value is set by a register that is accessible via I/0 space. The most significant bit of the status output is also displayed via a green LED on the L2003 itself. The LED is automatically turned off by workstation reset (M-bus MR.ESET asserted). 7.1.13. Manufacturing-Mode Inputs From its cover, the L2003 supports a 2-bit manufacturing-mode specification with external loopback connectors or jumpers. The manufacturing mode is available in a register that is accessible via I/0 space. 7.1.14. External Connections The L2003 connects to the module cover assembly through a SO-conductor ribbon cable for the following: • Keyboard serial line • • Modem serial line • • • • Mouse/tablet serial line Printer/console serial line Ethernet transceiver Status-indicator outputs Manufacturing-mode inputs The L2003 has a 50-pin ribbon connector for the DSSI disk/tape cable and a backplane connection to the M-bus. 7.1.15. Addressing Table 7-1 lists the address regions of the L2003. In the table, the SLOT value is the number of the M-bus slot in which the module resides. For example, a module in M-bus slot 1 has its IOCSR at M-bus address 92800000#16. As discussed in the sections that follow, the FBIC range-decoder function must be programmed to access the System Support Chip (SSC) registers. 4 Firefox System Specification December 23, 1987 Firefox Workstation VO Module (L2003) 7.1.15. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION Table 7-1: L2003 Address-Space Map Name SSC Registers Disk Registers Network Registers Disk Buffer Serial Registers IOCSR Network Buffer Base System ROM FBIC Registers VAX Address 20140000#16 ... 201407FF#l6 3XOOOOOO#l6 ... 3X00006F#l6 3X200000#16 ... 3X200007#16 3X400000#16 ... 3X41FFFF#l6 3X600000#16 ... 3X60000F#l6 3X800000#16 ... 3X80007F#l6 3XAOOOOO#l6 ... 3XA1FFFF#l6 3YEOOOOO#l6 ... 3YE7FFFF#16 3YFFFFC4#16 ... 3YFFFFFF#l6 M-Bus Address 80140000#16 ... 801407FF#l6 9X000000#16 ... 9X00006F#l6 9X200000#16 ... 9X200007#16 9X400000#16 ... 9X41FFFF#l6 9X600000#16 ... 9X60000F#l6 9X800000#16 ... 9X80007F#l6 9XA00000#16 ... 9XA1FFFF#l6 9YEOOOOO#l6 ... 9Y7FFFFF#l6 9YFFFFC4#16 ... 9YFFFFFF#16 X=2*SLOT Y =2*SLOT+l 7.1.16. Interrupt Priority Levels Table 7-2 lists the interrupt priority levels of the L2003. As discussed in the sections that follow, the FBIC device-intemipt function must be programmed to enable disk, network, and serial interrupts and to specify the interrupt vector. Table 7-2: IPL 14#16 15#16 16#16 17#16 L2003 Interrupt-Priority-Level (IPL) Map Source Disk interface and SSC Network interface Serial interface FBIC ME:MERR 7.1.17. L2003 Power Requirements / Table 7-3 lists the preliminary power consumption estimates for the L2003. The -12-volt supply is required only if the I/0 cover module used with the L2003 does not implement a charge pump to generate the negative supply. Table 7-3: Supply (V) +5 +12 -12 L2003 Preliminary Power Estimates Typical Current (A) Max Current (A) 5.6 9.2 0.7 1.3 0.1 0.2 Max Power (W) 46 16 2 7.2. Implementation The following is a description of the implementation of the L2003 used to achieve the specified functionality of workstation support services and workstation I/0. Figure 7-1 shows a block diagram of the L2003. 7 .2. Firefox Workstation I/O Module (L2003) December 23, 1987 Firefox System Specification 5 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION I-bus Network interface Network buffer Serial interface IOCSR register Disk/tape interface Transceivers Transceivers C-bus Workstation ROM D-bus _L ~ c oc Interval clock Interval timer BBURAM MRESET logic M-bus interface M-bus Figure 7-1: Firefox Workstation 110 Module Block Diagram The only means to achieve the specified functionality of wotkstation support services and workstation I/0 in the 70 square inches of logic area available on a single L-series-quad module is through VLSI interface chips. For example, the System Support Chip (SSC) of the CVAX chipset implements the time-of-year clock, interval clock, interval timer, and battery-backed-up (BBU) RAM. In the ideal case, each functional block of the L2003 reduces to a single VLSI controller chip, which attaches directly to a CVAX pin-bus, and a transceiver chip, which interfaces to the device's physical media. The L2003 falls short of this goal for the serial, disk/tape, and network functional blocks. There is no single-chip DZ serial interface. The interface is constructed from the DC7085 gate array and approximately five SSI/MSI interface chips. In addition, the DC7085 requires external, vectored-interrupt logic. For the disk/tape interface, the Sii gate array implements all of the required control functions but is not directly CVAX pin-bus compatible. For the network interface, the LANCE (Local Area Network Controller For Ethernet) chip implements all of the required control functions, but is not directly CVAX pinbus compatible. Incompatibility arises from stringent latency constraints, the 16-bit data bus, lack of buscycle retry capability when operating as a bus master, and lack of vectored-interrupt logic. The FBIC M-bus interface implements the vectored-interrupt logic for the serial, disk/tape, and network interfaces. 6 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION The following sections describe in further detail the features of each of the functional blocks that compose the L2003, including the features of the chip; connectivity to busses, interrupt signals, and reset signals; and CSR/RAM/ROM addressing. These sections are intended to describe the specific use and addressing of the VLSI controllers on the L2003 and not to completely describe each chip's function, control and status registers, and programming. For information on specific chips, refer to the chip specifications included in the appendices to the Firefox Designers' Guide. 7.2.1. Time-of-Year Clock, Interval Clock, Interval Timers, BBU RAM The System Support Chip (SSC), DC511, implements the time-of-year clock, interval clock, interval timer, and battery-backed-up (BBU) RAM functional blocks of the L2003. The SSC requires a 25.6 KHz oscillator for the time-of-year clock. 7.2.1.1. Device Features The SSC implements the workstation support functions listed here. Items marked with an asterisk indicate features used by the L2003. All other features are superseded by other devices or not applicable; software must not use unsupported features. • 100-Hz interval clock* • VAX-SRM-compatible time-of-year clock* • 2 V AX-SRM-compatible programmable timers* • 1 Kbyte of battery-backed-up RAM* • VAX-SRM-compatible console UARTs (Universal Asynchronous Receiver(fransmitters) • Support for 8-, 16-, or 32-bit external ROM • Bus-reset support • Programmable bus-timeout support • Halt arbitration logic • 2 programmable address-decode strobes • 4-bit output port The interval-clock output drives the M-bus MCLKI signal when the IOCSR<CLKIEN> bit is set. The time-of-year (TOY) clock consists of a single 32-bit register that is accessihle via I/0-space references. The clock, which can generate a vectored interrupt when it overflows, is powered by a battery in the module cover assembly when AC power fails. The two interval timers are each controlled by four registers that are accessible through I/0-space references. Each timer can generate a vectored interrupt when it overflows. The SSC contains 1 Kbyte of battery-backed-up RAM that is accessible via I/0 reads and writes. The Control and Status registers for these functions are accessible only via I/0-space references; IPR access to the registers is not supported. Detailed descriptions of the operation and register formats of the time-of-year clock, interval clock, and interval timers can be found in Appendix I, "SSC Chip Specification," in the Firefox Designers' Guide. 7.2.1.2. Bus Connection The SSC resides on the C-bus. The time-of-year clock, interval clock, interval timers, and battery-backedup RAM are accessible through I/0-space reads and writes on the M-bus. The SSC is a bus slave; it never initiates C-bus transactions. 7.2.1.3. Firefox Workstation 1/0 Module (L2003) December 23, 1987 Firefox System Specification 7 DIGITAL EQUIPMENr CORPORATION - RESTRICTED DISTRIBlITION 7 .2.1.3. Interrupts The SSC interrupt output connects to the C-bus IRQO signal. Software must program IPL14 intenupts for the SSC. The SSC asserts its IRQ output when the time-of-year clock or interval timer interrupts. If the SSC is asserting its IRQ output and a C-bus interrupt-acknowledge transaction for level 14 occurs, the SSC responds with a vector that is specific to the highest priority internal device generating an interrupt. 7.2.1.4. External Connection The SSC receives its battery power from the cover connector. 7.2.1.5. SSC Address Map Table 7-4 lists the addresses for the internal registers of the SSC. All of these registers are longword aligned and must always be referenced as longwords. As can be seen in Table 7-4 for example, to read the TOY clock register, a VAX issues a longword read to address 2014006C#l6. Byte or word accesses yield unpredictable results. The RAM can be accessed via byte, word, or longword references. As discussed in Subsection 7.1.9, "M-Bus Interface," the FBIC address decoder must be programmed to respond to M-bus addresses 8014XXXX#l6 before the SSC is accessible. Registers with unsupported access should not be referenced because the L2003 does not use these functions of the SSC. Table 7-4: SSC Address Map Name SSC Base Address Register SSC Config. register SSC TOY Clock Register SSC Console Strg Rcvr Status SSC Console Strg Rcvr Data SSC Console Strg Xmit Status SSC Console Strg Xmit Data SSC Console Rcvr Ctrl/Status SSC Console Rcvr Data Buffer SSC Console Xmtr Ctrl/Stat SSC Console Xmtr Data Buffer SSC Timer 0 Control Register SSC Timer 0 Interval Register SSC Timer 0 Nxt Int Register SSC Timer 0 Interrupt Vector SSC Timer 1 Control Register SSC Timer 1 Interval Register SSC Timer 1 Nxt Int Register SSC Timer 1 Interrupt Vector SSC Channel 0 Match Register SSC Channel 0 Mask Register SSC Channel 1 Match Register SSC Channel 1 Mask Register SSC RAM Start SSC RAM End VAX Address 20140000#16 20140010#16 2014006C#l6 20140070#16 20140074#16 20140078#16 2014007C#l6 20140080#16 20140084#16 20140088#16 2014008C#l6 20140100#16 20140104#16 20140108#16 2014010C#l6 20140110#16 20140114#16 20140118#16 2014011C#l6 20140130#16 20140134#16 20140140#16 20140144#16 20140400#16 201407FF#l6 M-Bus Address 80140000#16 80140010#16 8014006C#l6 80140070#16 80140074#16 80140078#16 8014007C#l6 80140080#16 80140084#16 80140088#16 8014008C#l6 80140100#16 80140104#16 80140108#16 8014010C#l6 80140110#16 80140114#16 80140118#16 8014011C#l6 80140130#16 80140134#16 80140140#16 80140144#16 80140400#16 801407FF#l6 Access R/W R/W R/W Unsupported Unsupported Unsupported Unsupported Unsupported Unsupported Unsupported Unsupport~ R/W R/W R/W R/W R/W R/W R/W R/W Unsupported Unsupported Unsupported Unsupported R/W R/W 7.2.2. Serial Lines The serial interface consists of the DC7085 DZ gate array, one lK-by-4 static RAM for the receiver FIFO, one octal driver, one octal receiver, one modem status signal buffer, one 15.2064 MHz oscillator, and miscellaneous SSI/MSI control logic. 8 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.2.1. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION 7.2.2.1. Device Features The DC7085 gate array implements a DZQ 11-compatible quad serial line interface. Serial line 0 is for the keyboard, serial line 1 for the mouse/tablet, serial line 2 for the modem, and serial line 3 for the printer/console. For a detailed description of the operation and register formats of the DC7085, see Appendix K, "DZ11DC7085 Chip Specification," in the Firefox Designers' Guide. 7.2.2.2. Bus Connection The DC7085 connects to the I-bus, and operates strictly as a slave device. 7.2.2.3. Interrupts The DC7085 intenupt signal connects to the FBIC DEVIRQ2 pin. The FBIC generates and acknowledges IPLl 6 interrupts in response to assertion of the DEVIRQ2 pin. Because the FBIC DEVIRQ2 input is falling-edge sensitive, whereas the DC7085 intenupt output is level active, the device driver must disable and reenable DC7085 intenupts at the end of the interrupt service routine to prevent loss of new intenupts from the DC7085 generated during the intenupt service routine. 7.2.2.4. External Connections The DC7085 serial line signals connect to the L2003 cover assembly via a SO-conductor ribbon cable. 7.2.2.5. DC7085 Address Map Table 7-5 lists the I-bus address offset of the registers within the DC7085. The L2003 base address must be added to the offset to compute the actual address. All registers are longword aligned. Registers must be accessed with word references; byte and longword accesses yield unpredictable results. For example, to read the MSR register when the L2003 is in backplane slot 3, a VAX issues a word read to address 3660000C#l6. Table 7-5: Name CSR RBUF LPR TCR MSR TDR DC7085 CSR I-bus Offsets Offset 00600000#16 00600004#16 00600004#16 00600008#16 0060000C# 16 0060000C#l 6 R/W R/W R w R/W R w 7.2.3. Disk/Tape Interface The disk/tape interface, which connects DSSI RF(fF-series drives to a Firefox workstation, consists of the SII (DC7061) gate array, a DXX (DC563) transceiver, a 16-bit address register/counter, a local 128-Kbyte RAM disk buffer, and miscellaneous SSI/MSI glue logic for the SII gate array and disk buffer. 7.2.3.1. Device Features The SU implements the physical- and link-level layers of DSSI. Communication with RF{fF drives is via linked lists of command blocks stored in the disk buffer and host interrupts. The SII automatically performs all the DSSI bus operations necessary to transfer DSSI packets between the disk buffer and an RF{TF drive. 7.2.3.1. Firefox Workstation 1/0 Module (L2003) December 23, 1987 Firefox System Specification 9 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION The SIT supports both an arbitrated and a nonarbitrated host bus. The L2003 supports only the arbitrated bus mode, and software must always program the SIT for operation in this mode. All of the control and data buffers required by the sn reside in the disk buffer. The sn accepts host bus transactions to access its control and status registers between each of its disk-buffer transactions. The SII has a 16-bit data bus. SSI/MSI logic interfaces the SII to the 32-bit L2003 D-bus. The SII uses an external 16-bit counter to perform block transfers to and from its buffer. By issuing a single address and then performing multiple data transfers, the sn requires less than 50 percent of the disk buffer's bandwidth. The disk buffer is not parity protected because the SII does not support parity on its host interface. SII register data is always transferred on D-bus DAL<15 :0>. For a detailed description of the operation and register formats of the SII, see Appendix J, "SII Chip Specification," in the Firefox Designers' Guide. The DXX (DC563) DSSI transceiver implements high-power 100 mA open-drain drivers and high-noiseimmunity receivers for the DSSI cable and also implements decoding logic for the DSSI physical ID during DSSI arbitration. The DXX's SII port uses conventional ITL signal levels. 7.2.3.2. Bus Connection The SII connects to the D-bus for access to its disk buffer. The D-bus has sufficient bandwidth to support the peak DSSI bus bandwidth of 4 Mbytes/sec. For host access to the SII's CSRs and to the disk buffer, C-bus transactions are forwarded onto the D-bus under control of the SII. The SII never functions as a Cbus master. 7.2.3.3. Interrupts The SII interrupt signal connects to the FBIC DEVIRQO pin. The FBIC generates and acknowledges IPL14 interrupts in response to assertion of the DEVIRQO pin. Because the FBIC DEVIRQO input is falling-edge sensitive, whereas the SIT interrupt output is level active, the device driver must disable and reenable SIT interrupts at the end of the interrupt service routine to prevent loss of new interrupts from the SII generated during the interrupt service routine. 7.2.3.4. External Connection The SII connects to a DSSI 50-conductor ribbon cable through the DXX transceiver. The cable connector is mounted on the L2003 such that the cable can be routed entirely within the EMI confines of the worlcstation cabinet. 7.2.3.5. Sii Address Map Table 7-6 lists the D-bus address offset of the registers within the SII. To compute the actual address, the L2003 base address must be added to the offset. All registers are longword aligned. Registers must be accessed with word references; for example, to write the ILP register when the L2003 is _in backplane slot 3, a VAX issues a word write to address 36000040#16. Byte and longword accesses yield unpredictable results. 10 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.3.5. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBlITION Table 7-6: Sii CSR D-bus Offsets Name SDB SCI SC2 CSR ID SLCSR DESTAT DSTMO DATA DMCTRL Dl\1LOTC DMADDRL DMADDRH DMABYTE STLP LTLP ILP DSCTRL CSTAT DSTAT COMM DICTRL CLOCK BHDIAG SIDIAG DMDIAG MCDIAG IIDIAG Offset 00000000#16 00000004#16 00000008#16 OOOOOOOC# 16 00000010#16 00000014#16 00000018#16 0000001C#16 00000020#16 00000024#16 00000028#16 0000002C# 16 00000030#16 00000034#16 00000038#16 0000003C#l6 00000040#16 00000044#16 00000048#16 0000004C#l 6 00000050#16 00000054#16 00000058#16 0000005C# 16 00000060#16 00000064#16 00000068#16 0000006C# 16 R/W R/W R/W R/W R/W R/W R/W RIO R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/WlTC R/WlTC R/W R/W W/0 R/W RIO RIO RIO R/W The disk/tape interface disk buffer occupies offset range 00400000#16 through 0041~#16. 7.2.4. Network Interface The network interface connects the Firefox workstation to a DIGITAL ThickWire Ethernet. The network interface consists of an AM7990 Local Area Network Controller for Ethernet (LANCE), an AM7992 Serial Interface Adapter (SIA), a local 128-Kbyte RAM network buffer, miscellaneous SSI/MSI glue logic for the LANCE, and a 32-by-8-bit Ethernet station address ROM. 7.2.4.1. Device Features The LANCE and its related components implement most of the logic necessary for a network interface. These features include a self-contained DMA engine to transfer packets between the Ethernet cable and linked lists of packet buffers, packet error reporting, and address-filtering capabilities. The LANCE communicates with the host through memory data structures and interrupts. These data structures, known as transmit and receive descriptor rings, are organized as ring buffers with each entry in a ring buffer containing status of that entry, current ownership of the buffer entry, and the location of the data buffer. The LANCE routinely polls the transmit descriptor ring for outgoing packets when there are no incoming packets. Because the LANCE is not CVAX pin-bus compatible, it resides on the I-bus along with its network buffer. All of the control and data buffers the LANCE requires reside in the network buffer. The LANCE accepts 7.2.4.l. Firefox Workstation VO Module (L2003) December 23, 1987 Firefox System Specification l l DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION host bus transactions to access its control and status registers between each of its network buffer transactions. The LANCE has a 16-bit data bus. SSI/MSI logic interfaces the LANCE to the 32-bit L2003 I-bus. The network buffer is not parity protected because the LANCE does not support parity on its host interface. LANCE register data is always transferred on I-bus DAL<l5:0>. For a detailed description of the operation and register formats of the LANCE, see Appendix L, "Lance Chip Specification," in the Firefox Designers' Guide. 7.2.4.2. Bus Connection The LANCE chip connects with and arbitrates for access to the I-bus, which has sufficient bandwidth to support the peak Ethernet bandwidth of 10 Mbits/sec. For host access to the LANCE's CSRs and to the network buffer, C-bus transactions are forwarded onto the I-bus under control of a PAL state machine. The LANCE never functions as a C-bus master. 7.2.4.3. Interrupts The LANCE interrupt signal connects to the FBIC DEVIRQl pin. The FBIC generates and acknowledges IPL15 vectored interrupts in response to assertion of the DEVIRQl pin. Because the FBIC DEVIRQl input is falling-edge sensitive, whereas the LANCE interrupt output is level active, the device driver must disable and re-enable LANCE interrupts at the end of the interrupt service routine to prevent loss of new interrupts generated from the LANCE during that routine. 7.2.4.4. External Connection The ThickWire transceiver connects to the L2003 cover assembly via a SO-conductor ribbon cable. 7.2.4.5. LANCE Address Map Table 7-7 lists the I-bus address offset of the LANCE registers. To compute the actual address, the L2003 base address must be added to the offset All registers are longword aligned and must be accessed with word references; for example, to read the RDP register when the L2003 is in backplane slot 3, a VAX issues a word read to address 36200000#16. Byte and longword accesses yield unpredictable results. Table 7-7: Name RDP RAP LANCE CSR I-Bus Offsets Offset 00200000#16 00200004#16 R/W R/W R/W The network interface network buffer occupies offset range OOA00000#16 through OOA1FFFF#l6. 7.2.4.6. Station Address ROM The L2003 implements an Ethernet Station Address ROM (ESAR) so software can determine the workstation's Ethernet address. The ROM is organized as 32 locations by 8 bits in width. In addition to the Ethernet address, the ROM contains checksum and test pattern data. The Ethernet Station Address ROM is accessible via the IOCSR<ESAR> field Table 7-8 lists the address offsets from the IOCSR base address of the locations contained within the Ethernet Station Address ROM. All locations are aligned on longword boundaries. 12 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.4.6. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION Table 7-8: Station Address ROM Offsets Name Address Octet Chksum Octet Address Octet Address Octet 0 1 2 3 4 5 1 2 2 1 5 4 3 2 1 0 0 1 Chksum Octet TEST Pattern 2 3 4 5 1 2 0 1 2 3 4 5 6 7 Offset 00000002#16 00000006#16 OOOOOOOA#l 6 OOOOOOOE#16 00000012#16 00000016#16 0000001A#l6 0000001E#l6 00000022#16 00000026#16 0000002A#l 6 0000002E#l6 00000032#16 00000036#16 0000003A#l6 0000003E#l6 00000042#16 00000046#16 0000004A#l 6 0000004E#l6 00000052#16 00000056#16 0000005A#l6 0000005E#l6 00000062#16 00000066#16 0000006A#l 6 0000006E#l6 00000072#16 00000076#16 0000007 A#l 6 0000007E#l6 Value FF#16 00#16 55#16 AA#l6 FF#l6 00#16 55#16 AA#l6 For example, to read the second octet of the station address when the L2003 is in backplane slot 3, a VAX issues a byte read to address 36800006#16. 7.2.5. 1/0 Control and Status Register (IOCSR) The IOCSR provides a means by which software can reset the entire workstation. It also provides access to the Ethernet Station Address ROM, controls whether the L2003 drives the M-bus MCLKI signal, controls assertion of the backplane MR.UN signal, and specifies whether the printer/console serial line is in console mode. The IOCSR resides at offset 00800002#16 on the I-bus; for example, to read the IOCSR when the L2003 is in slot 3, a VAX issues a word read to address 36800002#16. The IOCSR only supports byte and word access; longword access yields unpredictable results. Upon powerup, the IOCSR is initialized with all writable bits (CNSL, MR.UN, CLKIEN, and RSTWS) 0. The bit configuration of the IOCSR appears in Figure 7-2. 7.2.5. Firefox Workstation JJO Module (L2003) December 23, 1987 Firefox System Specification 13 DIGITAL EQUIPMENT CORPORATION - RESTRJCTED DISTRJBUTION Name: IOCSR Address: Base+00800000#16 2 2 4 3 3 3 2 2 2 1 0 9 8 7 :MBZ IOCSR: Access: RW 1 1 6 5 ESAR 0 :MBZ CNSL :MR.UN CLKIEN RSTWS ESAR Figure 7-2: IOCSR CNSL Writing the CNSL bit with a 1 causes breaks on the L2003 printer/console serial line to assert the M-bus MHALT signal. When CNSL is 0, breaks have no effect. :MR.UN Writing the :MR.UN bit with a 1 asserts the backplane :MR.UN signal. When :MR.UN is 0, the backplane :MRUN signal is de asserted. CLKIEN When CLKIEN is 1, the L2003 drives the M-bus MCLIG signal. When it is 0, the L2003 does not drive the M-bus MCLKI signal. RSTWS Writing the RSTWS bit with a 1 activates the :MRESET logic and resets the eµtire workstation. The :MRESET sequence will automatically clear the RSTWS bit. ESAR The ESAR field is the output of the Ethernet Station Address ROM. The IOCSR must be read at 32 consecutive addresses to read the entire ROM contents, that is, for slot 3 at 36800002#16, 36800006#16, 3680000A#l6, and so on. 7 .2.6. M-Bus Interface The M-bus interface consists of the Firefox Bus Interface Chip (FBIC), seven 74F245 M-bus transceivers, one 74F244 M-bus driver, two 74AS760 open collector M-bus drivers, and one 74ALS240 status-indicator driver. 7.2.6.1. Device Features The FBIC, designed by the WSE group in Palo Alto, is a multipurpose, bus interface and cache controller that connects a CVAX pin-bus to the M-bus and supports an optional snoopy cache. The chip functions both as a CV AX pin-bus master and as a CVAX pin-bus slave, depending on the needs of the particular module on which it resides. On the L2003, it is always the C-bus master. The FBIC also supports the Mbus write-back snoopy cache protocol, as defined in the Firefox System Specification, for an on-chip single-entry cache or an optional external cache. The L2003 does not use the cache option of the FBIC. 14 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.6.l. DIGITAL EQUIPMENf CORPORATION - RESTRICTED DISTRIBlITION The FBIC implements all of the M-bus interface functions necessary to access L2003 control and status registers, RAM, and ROM from the M-bus. It connects the CVAX pin-bus interrupt request signals to the M-bus and forwards M-bus intermpt-acknowledge cycles onto the CVAX pin-bus. In addition, the FBIC controls the 32-bit base workstation ROM, a 5-bit status indicator, and a 2-bit manufacturing-mode input. A detailed description of the chip's operation and of the format of its control and status registers can be found in the FB/C Functional Specification. 7.2.6.2. Bus Connections The FBIC connects to both the M-bus and the C-bus and forwards transactions from the M-bus to the Cbus as appropriate. Table 7-9 lists the FBIC's response to M-bus transactions. For I/0 space transactions, a reference is in range if it is in the 32-Mbyte region assigned for the slot or if the FBIC address decoder matches. The address decoder is used to accept M-bus I/0-space references for the SSC and after every workstation reset, must be programmed to match M-bus addresses 8014XXXX#l6 (VAX addresses 2014XXXX#l6). For interrupt-acknowledge transactions, a C-bus interrupt-acknowledge transaction is initiated if the IRQ signal for the specified intermpt level is asserted on the C-bus. Table 7-9: FBIC Response to M-bus Transactions. M-bus Transaction Memory read Memory read mterlocked Memory write Memory write unlock I/0 read I/0 read interlocked I/0 write I/O write unlock Interrupt acknowledge FBIC Response None None None None C-bus I/0 read if in address range C-bus I/O read if in address range (interlock ignored) C-bus I/0 write if in address range C-bus I/0 write if in address range (unlock ignored) C-bus interrupt acknowledge if IRQ<n> The L2003 does not support any interlocking of local devices with respect to the M-bus. Software must not issue interlocked references to device registers or the RAM buffers; if it does, an M-bus timeout will result. Software may use interlocked instructions to reference FBIC registers. 7.2.6.3. Interrupts The FBIC monitors the C-bus IRQ signals and, if enabled via the FBIC FBICSR register, asserts the corresponding MIRQ signals. When an M-bus interrupt-acknowledge transaction for an asserted IRQ signal occurs, the FBIC generates a C-bus interrupt-acknowledge transaction. The SSC generates intenupts on the C-bus IRQO signal. The FBIC also generates and acknowledges intenupts when its DEVIRQ inputs are asserted. The serial, disk/tape, and network interfaces generate vectored interrupts via the DEVIRQ inputs. The FBIC MEMERR output, asserted when the FBIC generates or receives an M-bus MABORT, is looped back to the FBIC as DEVIRQ<3>. This results in an IPL 17#16 M-bus interrupt. 7.2.6.4. External Connection The FBIC connects to the M-bus. 7.2.6.5. FBIC Address Map Table 7-10 lists the address offsets of the FBIC control and status registers. 7.2.6.5. Firefox Workstation 1/0 Module (L2003) December 23, 1987 Firefox System Specification 15 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION Table 7-10: FBIC Register Map Name MODTYPE BUS CSR BUSCfL BUSADR BUSDAT FBI CSR RANGE IPDVINT WHAM! CPUID IADRl IADR2 SAVGPR Address 01FFFFFC#l6 01FFFFF8#16 01FFFFF4#16 01FFFFF0#16 01FFFFEC#l6 01FFFFE8#16 01FFFFE4#16 01FFFFEO#l6 OlFFFFDC#l 6 01FFFFD8#16 01FFFFD4#16 01FFFFDO#l6 01FFFFC4#16 R/W R R/W R/W R/W R/W R/W R/W R/W R/W R R/W R/W R/W Description Module-type register M-bus error-status register M-bus error-control-signal-log register M-bus error-address-signal-log register M-bus error-data-signal-log register FBIC control-status register I/0 space range decode register Intetprocessor/device-interrupt register Unique software ID register Unique hardware ID register Interlock-1 address register Interlock-2 address register Scratch register for halt code Table 7-11 lists the base addresses for the various M-bus backplane slots. For example, to read the MODTYPE CSR when the L2003 is in backplane slot 3, a VAX issues a longword read to address 37FFFFFC#l6. Table 7-11: Slot 0 1 2 3 4 5 6 7 FBIC Slot Base Addresses M-bus Address 90000000#16 92000000#16 94000000#16 96000000#16 98000000#16 9AOOOOOO#l6 9C000000#16 9EOOOOOO#l6 VAX Address 30000000#16 32000000#16 34000000#16 36000000#16 38000000#16 3AOOOOOO#l 6 3C000000#16 3E000000#16 7.2.7. Base Workstation ROM The base workstation ROM consists of two 27210 64K-by-16 EPROMs and two 74ALS373 address latches. This yields a total of 256 Kbytes of ROM. The FBIC controls the EPROMs, which are in sockets and physically reside on the C-bus. The base address of the EPROMs is defined by the FBIC at slot offset range 01E00000#16 through 01E7FFFF#l6. 7 .2.8. L2003 Status-Indicator Outputs The FBIC status-indicator outputs drive a hexadecimal-digit display in the L2003 cover. In addition, the most significant bit of the status output is displayed via a green LED on the L2003 itself. The least significant five bits of the FBIC FBICSR<LEDS> register specify the value of the status indicators. The least significant four bits of the FBICSR<LEDS> field drive the hexadecimal-digit; the digit displays the complement of the value in the register. Bit 4 of FBICSR<LEDS> register field drives the hexadecimal display left decimal point and the green LED; the decimal point and LED are illuminated when the bit is set. The FBICSR<LEDS> bits are automatically cleared by workstation reset (M-bus MRESET asserted). This results in the hexadecimal digit displaying F#l 6 with its decimal points off and the module green LED off. Writing all 1's to the FBIC FBICSR<LEDS> register field will display a 0 on the hexadecimal digit and 16 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.8. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION illuminate the left decimal point and the green LED. 7.2.9. L2003 Manufacturing-Mode Inputs The FBIC manufacturing-mode inputs from the L2003 cover are connected to the FBIC manufacturingmode input pins. The FBIC FBICSR<l\.1FMD> register bits reflect the value of the manufacturing-mode inputs. The cover cable :MFNMOD signals are open collector signals that are pulled up to +5 volts by the L2003. Either, or both, of the :MFNMOD signals can be shorted to ground by external cables or jwnpers. The FBIC FBICSR<MFMD> register field continuously indicates the complement of the :MNFMOD signals. That is, without a jwnper, the corresponding register bit is set; and with a jumper to ground, the corresponding register bit is clear. 7.2.10. M-Bus MRESET Logic The L2003 generates the M-bus MRESET signal from the M-bus MDCOK signal and powerup logic. The power-up reset logic uses the delayed assertion of :MPOK to assert MRESET for approximately 70 milliseconds after powerup. The logic controls a simple-state machine to guarantee a minimum MRESET assertion width of 16 M-bus cycles. The MRESET signal can also be asserted by setting the IOCSR<RSTWS> bit. 7.2.11. Clocks The L2003 requires the following clocks: • 20-MHz, 2-phase clocks for the FBIC • 40-MHz clock for the SSC bus interface • 25.6-KHz oscillator for the SSC time-of-year clock • 20-MHz clock for the SII • 20-MHz crystal for the SIA • 20-MHz clock for the local RAM buffer control • 15.2064-MHz clock for the DZ A single oscillator is used to generate the 40-MHz and 20-MHz clocks. A separate 25.6-KHz oscillator, on battery backup, drives the SSC time-of-year clock, a separate 20-MHz crystal drives the SIA, and a separate 15.2064-MHz oscillator drives the DZ. 7.2.12. Cover Assembly Cable Connector A SO-conductor ribbon cable connects the L2003 serial line signals, Ethernet transceiver signals, status output signals, and manufacturing-mode input signals to the cover assembly. Table 7-12 tis.ts the pin assignments for the cable. 7.2.12. Firefox Workstation l/O Module (L2003) December 23, 1987 Firefox System Specification 17 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION Table 7-12: L2003 Cover Assembly Cable Signal Assignments Signal +12V Pin 50 48 46 GND TXO CTS2 RTS2 TXl DSR2 RI2 TX2 DSRS2 SPD:MI2 TX3 +5V LLPBK2 -12V :MFMDO LEDO LED2 TX+ LED4 COL+ GND RX+ GND +12V 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 Pin 49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 Signal +12V GND RXO GND DTR2 RXl GND CD2 RX2 GND TMI2 RX3 +5VBAT GND -12V :MFMDl LEDl LED3 TXSPARE COL- GND RX- GND +12V The + 12-volt outputs have a PTC current limit device that changes from low to high resistance if more than 2.0 amperes are drawn. The +5-volt output has a PTC current limit device that changes from low to high resistance if more than 1.0 ampere is drawn. The -12-volt outputs have a PTC current limit device that changes from low to high resistance if more than 0.5 ampere is drawn. ,, 7.2.13. DSSI Cable Connector A 50-conductor ribbon cable connects the L2003 disk interface to DSSI drives. Table 7-13 lists the pin assignments for the cable. 18 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.2.13. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBlITION Table 7-13: Signal DATA<O> DATA<l> DATA<2> DATA<3> DATA<4> DATA<5> DATA<6> DATA<7> PARITY <NC> <NC> TERMPWR TERMPWR TERMPWR GND GND GND GND GND GND GND GND GND GND GND L2003 DSSI Cable Signal Assignments Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 Pin 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 Signal GND GND GND GND GND GND GND GND GND GND GND TERMPWR TERMPWR TERMPWR <NC> <NC> <NC> BSY ACK RST <NC> SEL CD REQ IO All signals have 120/280-0hm parallel termination and decoupling as specified by the DSSI physical specification. The TERMPWR output supplies up to 1.5 amperes of +5 volts through a series diode. There is a PTC current limit device that changes from low to high resistance if more than 1.5 amperes are drawn. 7.2.14. Printed Circuit Board The L2003 uses an 8-layer L-series-quad printed circuit board with uncontrolled impedance. There are two 1-oz pad layers, four 1-oz signal layers, one 1-oz +5-volt layer, and one 1-oz ground layer. Layer construction is PS - SS+ SP. 7.3. Programming In this section, required initialization of the L2003 is described, and some programming guidelines are presented. The examples used herein are based on an L2003 in M-bus slot 1. All addresses are VAX physical addresses. 7.3.1. Locating Modules After a workstation reset (M-bus MRESET asserted), console and diagnostic software must determine the workstation configuration. The FBIC saves the value of the M-bus :MBRQ signals during l\1RESET in its BUSCTL register. Software may use this as a module-present indication to identify backplane M-bus slots that contain Firefox modules. To interpret the BUSCTL<MBRM> bi'ts, a module must first determine its own M-bus slot by reading its FBIC CPUID<MlD> register field. Table 7-14 lists the interpretation of BUSCTL<MBRM> as a function of a module's M-bus slot (from its CPUID<MID>). For example, if a module reads its CPUID<MID> register field and obtains 4, it is in M-bus slot 4. If it then reads its 7 .3. l. Firefox Workstation I/O Module (L2003) December 23, 1987 Firefox System Specification 19 DIGITAL EQUn>MENT CORPORATION - RESTRICTED DISTRIBUTION BUSCTL<6:0> register field and obtains 1011001#2, there are modules in M-bus slots 0, 3, 5, and 7. Software must use or save the value of BUSCTL<MBRM> before it enables FBIC error logging, or the information will be lost. Table 7-14: Interpretation Of FBIC BUSCTL<MBRM> Field CPUID<MID> 0 1 2 3 4 5 6 7 <6> 7 7 7 7 7 7 7 6 <5> 6 6 6 6 6 6 5 5 <4> 5 5 5 5 5 4 4 4 <3> 4 4 4 4 3 3 3 3 <2> 3 3 3 2 2 2 2 2 <1> 2 2 1 1 1 1 1 1 <0> 1 0 0 0 0 0 0 0 To confirm presence of a module in each slot, software should read the MODTYPE register of each slot. In the preceding example, the MODTYPE registers would be at VAX addresses 3 lFFFFFC#l 6, 37FFFFFC#l6, 3BFFFFFC#16, and 3FFFFFFC#l6. Reading the L2003's MODTYPE register will return the value 01010004. L2003 ROM should have a known location that identifies it as an L2003 l/0 class module. 7.3.2. Addressing Except for SSC access, software must calculate L2003 device addresses from the M-bus slot of the module and the device offset addresses specified in this chapter. The VAX physical address calculation is I/0-ADDRESS = 30000000#16 + (SLOT << 25) + OFFSET where the << notation represents a logical left shift. 7.3.3. lnltiallzatlon After workstation reset, the L2003 requires initialization of the FBIC and SII devices before normal operation can commence. Software must generate the following register writes: I' 1. MOVL FFFFFFFF#l6, (33FFFFF8#16) to write the FBIC BUSCSR register to enable error logging. 2. MOVL 0011003E#l6, (33FFFFE8#16) to write the FBIC FBICSR register to connect the CVAX pin-bus CIRQO signal to the M-bus l\1IRQO signal for SSC interrupts, and enter normal operating mode. 3. MOVL 80148000#16, (33FFFFE4#16) to write the FBIC RANGE register to make the SSC accessible. 4. MOVL 20#16, (32800000#16) to set the IOCSR<CLKIEN> bit to drive the M-bus MCLIG signal. 5. MOVL 0001VVVV#l6, (33FFFFE0#16) to write the FBIC IPDVINT register to enable device interrupts from the SII and LANCE chips, where VVVV is the desired interrupt vector(s). 6. MOVW 0010#16, (3300000C#l6) to write the SII CSR register to operate in arbitrated-bus mode. Software must not access the disk buffer until after the SII is put into arbitrated-bus mode, or M-bus aborts and unpredictable SII register content modifications will result. 7.3.4. Multiple Firefox Workstation 1/0 Modules There are no logical or electrical restrictions that prohibit configurations with more than one L2003. However, only one of the modules can allow access to the SSC and drive the M-bus MCLIG signal. Software must select one of the modules as the primary L2003 and program the FBIC range decoder and set the 20 Firefox System Specification December 23, 1987 Firefox Workstation I/O Module (L2003) 7.3.4. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION !OCSR<CLKIEN> register bit on only that primary module. 7.3.5. Base Workstation ROM The L2003 ROM is intended for L2003 self-test code and workstation disk/tape/network bootstrap code. Access to the ROM from other modules is relatively slow, typically two microseconds per access. Copying frequently used or time-critical code to memory is recommended. 7.3.6. Interlocked References The L2003 does not support interlocked references to its internal device interface registers or disk/network buffers; bus errors will result if software generates interlocked references. The FBIC does support interlocked references to its own registers. 7.3. 7. Device Interrupts As discussed in the serial, disk, and network interface sections earlier in this chapter, the FBIC functions as a vectored interrupt controller for the DZ (DC7085), SII (DC7061), and LANCE (AM7990) device controllers. These devices all have level-sensitive, nonvectored. interrupt-request outputs, whereas the FBIC DEVIRQ inputs are falling-edge sensitive. Consequently, to avoid missing additional interrupts generated by a given device controller between the time a processor acknowledges the FBIC vectored interrupt-request from that device and the time it clears the interrupt condition within the device controller, software must guarantee deassertion of the device-interrupt-request output. Software can accomplish this by disabling intemJpts from the device at the end of the interrupt-service routine. In the case of the DZ, write the CSR<TIE> and CSR<RIE> bits with a 0, and then write them with a 1 (if transmitter/receiver interrupts are to be reenabled). In the case of the SII, write the CSR<IE> bit with a 0, and then write it with a 1 (if disk interrupts are to be reenabled). In the case of the LANCE, write the CSRO<INEA> bit with a 0, and then write it with a 1 (if network interrupts are to be reenabled). The FBIC device interrupt vectors can be set to any naturally aligned block of four contiguous vectors; SII interrupts vector to VVV0#16, LANCE interrupts vector to VVV4#16, DZ interrupts vector to VVV8#16, and FBIC l\1EMERR interrupts vector to VVVC#l6. For example, if the FBIC IPDVINT register is written with 00010300#16, device interrupts are enabled and the DZ, LANCE, and SII have vectors 0308#16, 0304#16, and 0300#16. t' 7.3.8. Disk/Network Buffers The disk and network interfaces each have local 128-Kbyte buffers to meet latency constraints of the SII and LANCE device controllers. Access to these buffers is time multiplexed between the FBIC and the device controllers. Due to the long I/0-space reference service times (relative to memory space) it is recommended that device drivers minimize access to the buffers. This results in reduced M-bus bandwidth and improved device-controller performance. In particular, it is recommended that network and disk packets be composed/decomposed in memory buffers and then copied between the memory buffer and the L2003 device buffer. 7.3.9. Module Reset L2003 reset, from either a workstation reset (MRESET asserted) or an FBIC module reset, causes the following actions: • FBIC C-bus interface initialized • SSC initialized • I-bus control logic initialized • IOCSR<CNSL+MRUN+CLKIEN+RSTWS> bits cleared 7.3.9. Firefox Workstation I/O Module (L2003) December 23, 1987 Firefox System Specification 21 DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION • DZ initialired with all serial lines disabled and all modem control outputs deasserted • LANCE initialired with Ethernet packet transfers disabled • Network RAM buffer contents undefined • D-bus control logic initialized • Sil initialired with DSSI packet transfers disabled • Disk RAM buffer contents undefined In the case of a workstation reset, the FBIC M-bus interface is also initialized and left in diagnostic isolate mode. When the FBIC M-bus interface is initialized, the FBIC LEDs outputs are deasserted causing the cover assembly hexadecimal-displfiy to indicate 'F' with the hexadecimal-display decimal point and L2003 green LED off. To generate a module reset, software should perform the following: • Set the FBIC FBICSR<RESET> bit. • Clear the FBIC FBICSR<LEDS> field if it wishes the FBIC LEDS outputs to deassert during a module reset. • Clear the FBIC FBICSR<RESET> bit. Software must not access any L2003 address other than the FBIC FBICSR register during module reset. 7.4. Access Time System processor access time to L2003 resources is a function of three factors: • Processor M-bus interface implementation • M-bus cycle time • L2003 implementation Table 7-15 lists the number of M-bus and L2003 cycles that elapse accessing the various L2003 resources from the M-bus. L2003 cycles are 100 ns in length. Total processor access time requires processor timing and is thus beyond the scope of this section. 22 Firefox System Specification December 23, 1987 Firefox Workstation 1/0 Module (L2003) 7.4. DIGITAL EQUIPMENT CORPORATION - RESTRICTED DISTRIBUTION Table 7-15: L2003 Access Cycles Component M-bus Cycles L2003 Cycles FBIC registers FBIC overhead Internal ROM read Internal SSC access Internal IOCSR access Internal DZ access Internal LANCE CSRO/CSR3/RAP access Internal LANCE CSR1/CSR2 access Internal net buffer access Internal Sil access Internal disk buffer access 5 6* 5* 8 5 5** 9** 8** 16** 5** 10*** 6*** * ±0.5 cycles due to synchronizer uncertainty **With LANCE idle, 50-cycle maximum latency *** With Sil idle, 6-cycle maximum latency All M-bus transactions that reference internal L2003 resources have two components, the FBIC overhead and the internal access, that must be added to determine the total M-bus access time. For example, an Mbus reference to the IOCSR requires 6 M-bus cycles plus 10 L2003 cycles; with a 70-ns M-bus, this is a total of 1420 ns. LANCE DMA access to the network buffer completes in the minimum LANCE transaction length. This results in 100 ns ±25-ns arbitration overhead and 600-ns I-bus buffer read/write cycles. If there is an Mbus reference to the IOCSR, DZ, LANCE CSR, or network buffer at the time of a LANCE DMA request, the LANCE is stalled until the M-bus reference completes. As indicated in Table 7-15, L2003 cycles for IOCSR, DZ, LANCE, and the net buffer are with the LANCE idle. If LANCE DMA is in progress when an internal reference to the IOCSR, DZ, LANCE, or network buffer starts, the internal reference is stalled until the LANCE completes its DMA. The LANCE uses 8transfer burst DMA during packet data transfer, resulting in a maximum stall of approximately 50 cycles (5000 ns). Sil DMA access to the disk buffer completes in the minimum SII transaction length. Sil address cycles complete in 300 ns. SII data cycles complete in 200 ns. As indicated in Table 7-15, L2003 cycles for the SU and disk buffer are with the SII idle. If SU DMA is in progress when an internal reference to the SU or disk-buffer start, the internal reference is stalled until the SII completes its DMA. The SII services pending CSR access and bus requests (for disk-buffer access) after each of its transfers, resulting in a maximum stall of approximately six cycles (600 ns). 7.4. Firefox Workstation I/O Module (L2003) December 23, 1987 Firefox System Specification 23
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies