Sun Microsystems Interface Adapter manual Bipolar with 8-Zero Substitution

Page 56

between two computers are another matter, since the corruption of even one data bit causes a packet to be rejected. Note that in a typical data packet it is quite easy to produce bit patterns that violate the ones-density requirement. A random file could easily contain a sequence of bytes that would produce 16 or more consecutive zero bits if transmitted serially.

There are many different schemes for circumventing the ones-density requirement. The most common technique simply reserves every eighth bit of the signal for a density bit and forces this bit to be a one. These bits are not available for data transmission, which means that 12.5 percent of the bandwidth of the T1 line is wasted. When you consider that the lease cost for a coast-to-coast T1 line can be expensive, this waste of bandwidth can be unacceptable. There are alternatives.

Bipolar with 8-Zero Substitution

One alternative of them uses a special code that transmission equipment can generate when using the AMI signalling scheme. This special code depends on the fact that two successive one bits that are represented by pulses of the same polarity result in a signal known as a Bipolar Violation. A CSU can be designed so that it will automatically replace any string of eight consecutive zeros with a special code pattern that contains two of Bipolar Violations. A compatible, receiving CSU recognizes this special code and converts it back to a pattern of eight zeros. This technique is known as B8ZS (Bipolar with 8-Zero Substitution).

All CEPT lines (the European equivalent of T1) mandate the use of a variant of B8ZS that reduces the density requirement to no more than three consecutive zeros. However, telephone companies in North America have been slow to adopt B8ZS, because it would entail a significant capital investment. Therefore, the B8ZS solution cannot solve the ones-density problem in the short term.

HDLC Zero Insertion Algorithm

An alternative to B8ZS, an alternative used by the SunHSI product, makes use of the fact that the HDLC framing rules specify that any data stream that contains five or more consecutive one bits requires that the transmitting end insert a zero bit after the fifth one bit. This guarantees that the HDLC flag pattern 01111110 (hex 7E) does not occur randomly inside a frame. The receiving end must automatically discard the zero bit that follows a pattern of five consecutive ones. So, HDLC framing, which is used by SunHSI/U, guarantees that, except for the flag pattern, in any set of six bits at least one bit will be a zero. If you include the flag pattern in any set of seven bits, at least one bit will be a zero.

36 Sun PCI High Speed Quad Port Serial Interface Adapter User’s Guide • December 2005

Image 56
Contents Sun Microsystems, Inc Please Recycle Contents Cable Pin Assignments & Signals SunVTS Diagnostic Testing Page Figures Page Tables Page Regulatory Compliance Statements FCC Class a NoticeICES-003 Class B Notice Avis NMB-003, Classe B CCC Class a Notice Page Declaration of Conformity Page Preface How This Book Is OrganizedUsing Unix Commands Shell PromptsTypographic Conventions Related DocumentationSun Welcomes Your Comments Documentation, Support, and TrainingThird-Party Web Sites Product Overview Product DescriptionFeatures SunHSI/U AdapterHardware and Software Requirements 1Hardware and Software RequirementsPage To Install the Adapter SunHSI/U Adapter InstallationInstallation Process External Cabling RS-232 to RS-449 Connections Page SunHSI PCI Software Installation Installation Overview1SunHSI PCI Software Directories and Files To Remove Older Versions of the Software Before Installing the SoftwareVerifying the Software and Hardware Requirements Installing the Software To Install the SunHSI SoftwareAt the ok prompt, type the boot command with the -roption Configuring the Software To Test the InstallationTo Configure for Point-to-Point Protocol Edit the /etc/netmasks file as follows SunHSI Utilities Hsipinit UtilityT1 Compatibility Options Operating Modes OptionsHdlc Mode Hsiploop Utility Hsipstat Utility Page Cable Pin Assignments & Signals Pin AssignmentsDCD1A Appendix a Cable Pin Assignments & Signals RTS4A Interface Signals RS-449 Interface SignalsPage Null Modem Cable Requirements Configuring Internal or External Clocking Building the Null Modem CableRS-449 Signals RS-449 Null Modem CablePage Appendix B Null Modem Cable Requirements To RS-449 Converter Figure B-3X.21 to RS-449 ConverterT1 Inverted Data and Clock Signals Data Signal InversionBipolar with 8-Zero Substitution Hdlc Zero Insertion AlgorithmClock Signal Inversion Page SunVTS Diagnostic Testing Using the SunVTS sunlink TestPage To View Man Pages in the C Shell Environment Viewing the Man PagesMan Pages To View Man Pages in Bourne or Korn Shell Environments Make the changes effective in your current windowGlossary Page Index