IL113710A - Apparatus for retiming and realignment of sts-1 signals into sts-3 type signal - Google Patents

Apparatus for retiming and realignment of sts-1 signals into sts-3 type signal

Info

Publication number
IL113710A
IL113710A IL11371093A IL11371093A IL113710A IL 113710 A IL113710 A IL 113710A IL 11371093 A IL11371093 A IL 11371093A IL 11371093 A IL11371093 A IL 11371093A IL 113710 A IL113710 A IL 113710A
Authority
IL
Israel
Prior art keywords
sts
signal
byte
bytes
fifo
Prior art date
Application number
IL11371093A
Other languages
Hebrew (he)
Original Assignee
Transwitch Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US07/848,384 external-priority patent/US5331641A/en
Application filed by Transwitch Corp filed Critical Transwitch Corp
Publication of IL113710A publication Critical patent/IL113710A/en

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)

Description

APPARATUS FOR RETIMING AND REALIGNMENT OF STS-1 SIGNALS INTO STS-3 TYPE SIGNAL TRANSWITCH CORPORATION C: 0713 APPARATUS FOR RETIMING AND REALIGNMENT OF STS-1 SIGNALS INTO STS-3 TYPE SIGNAL This is a continuation-in-part of US Patent No. 5,142,529 issued August 25, 1992 which is hereby incorporated by reference herein " n its entirety.
BACKGROUND OF THE INVENTION This invention generally relates to the optical telecommunications network. More particularly, this invention to the retiming and realignment of higher speed SONET signals upon the recombination of the higher speed SONET signals after they have been broken down into lower speed components and then either cross-connected and/or sent through via different paths through a switched network.
The telecommunications network servicing the United States and the rest of the world is presently evolving from analog transmission to digital transmission with ever-increasing bandwidth requirements. Fiber optic cable has proved to be a valuable tool of such evolution, replacing copper cable in nearly ever application from large trunks to subscriber distribution plants. Fiber optic cable is capable of carrying much more information than copper with lower attenuation.
While fiber optic cable represents the future in telecommunications, presently there remains an entire telecommunications network comprised of various cable types, served by equipment of different vitages, and run according to various coexisting transmission standards. While older standards, cables, and equipment will be eventually phased out, for the time being it is necessary that all the old and new standards, equipment and transmission lines be as compatible as possible. In fact, even where relatively new optical network equipment is in place, such as cross-connection (switch) equipment capable of handling SONET signals such as STS-1 signals, even higher level signals (such as STS-3 and STS-3C, details of which are seen in prior art Figs. ,6a-,6d): are being generated. Typically, cross-connection equipment' for such high level signals is unavailable or not commonly in place. Thus, in order for higher level signals to be utilized, mechanisms for accommodating the higher level signals to the lower level equipment are necessary; i.e., backwards compatability is required.
SUMMARY OF THE INVENTION It is therefore an object of the invention to provide mechanisms for the recombination of higher level telecommunication signals after they have been broken into a plurality of constituent components for cross-connection by lower level cross-connection equipment and/or for transmission over the switched network.
It is another object of the invention to provide methods and apparatus for retiming and realignment of STS-1 components of an STS-3 or STS-3C signal.
It is a further object of the invention to provide methods and apparatus for retiming STS-1 components, of an H STS-3 signal by stuffing and destuffing the STS-1 components where the outgoing STS-3 signal is at a different data rate than the incoming STS-3 signal.
It is also an object of the invention to provide an algorithm for controlling the stuffing and destuffing of an STS-1 component of an STS-3 signal according to an algorithm so as to reduce signal jitter.
Yet another object of the invention is to provide an algorithm for controlling the stuffing and destuffing of an STS-3C signal.
;An' additional object of the invention is to provide methods and apparatus for realigning the STS-1 components of an STS-3C signal where the delay of each of the STS-1 components through a cross-connecting apparatus may be different.
In accord with the objects of the invention, an apparatus for retiming an STS-3 type signal is provided an generally comprises a demultiplexer for demultiplexing the synchronous envelope payload of the STS-3 type signal into three, STS-1 payloads and for tracking at least one byte which is of bytes in the FIFOs, logic circuitry associated with the FIFO depth measurement circuitry for generating a stuff or destuff signal as quickly as four frames from a previous pointer movement if the FIFO is close to full or close to empty and less quickly if the FIFO is only starting to empty or to fill, and a multiplexer for reading data out of the FIFOs and generating a new STS-3 type signal at a rate similar to the rate of the incoming STS-3 type signal. Preferably, in demultiplexing the SPE of the STS-3 signal and writing SPE data to the FIFOs, a recycling N counter is used in conjunction with an SPE control signal and the incoming clock. Also, preferably, in determining whether to stuff or destuff, the FIFO depth measurement circuitry counts the number of bytes that occur between the writing of a byte which is synchronous with the TOH (such as the byte which follows the Jl byte) into the FIFO and the reading of that byte out of the FIFO. Where the number of bytes exceeds a first (soft) full threshold or is less than a first (soft) empty threshold, a stuff or destuff is generated preferably 32-x frames later, where x = 31 or the number of frames since the last pointer movement, whichever is less, while if the number of bytes exceeds a second (hard) full threshold, or is less than a second (hard) empty threshold, the stuff or destuff is generated preferably 5-y frames later, where y = 4 or the number "of . frames since the last pointer movement, whichever is less. A frame counter is preferably provided as part of the apparatus to track the number of frames since the previous pointer movement.
In accord with another aspect of the invention, where the incoming signal and outgoing signals are STS-3C signals, the decision on whether to stuff or destuff is preferably made by reference to all three depth measurement circuits as with the retiming apparatus for the STS-3C signal, all the STS-1 payloads must be stuffed or destuffed together. An algorithm is provided which looks at whether a soft or hard threshold has been met, along with the direction of the threshold, and the number of depth measurement circuits meeting a threshold, in order to determine whether a stuff or destuff should occur.
Further, with respect to the STS-3C signal, an apparatus and method for realigning the STS-1 components of the STS-3C signal are provided. The realignment apparatus generally comprises means for generating a POH synchronous byte control signal (e.g., the Jl bytes), means in the FIFO means for tracking the Jl bytes via the Jl byte control signals, and logic means having the phase 3 of the outgoing STS-3 clock, and the three Jl byte control signals as inputs. The logic means inhibits a read of a Jl byte from any particular FIFO unless all FIFO's have a high Jl signal at phase 3 of the clock.
Additional objects and advantages of the invention will become apparent to those skilled in the art upon reference to the detailed description taken in conjunction with the provided figures.
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a preferred STS-3 type terminator apparatus in which the retiming and realignment appara't s .of the invention are found; Figure 2 is a high level block diagram of the preferred retiming apparatus of the invention for STS-3 and STS-3C signals; Figure 3 is a flow chart of the decision mechanism for the retiming apparatus of Figure 2 for STS-3 signals; Figures 4a and 4b together comprise a chart of the decision mechanism for the retiming apparatus of Figure 2 for STS-3C signals; Figure 5a is a logic diagram of an apparatus for realigning STS-3C signals, and Figures 5b and 5c are timing diagrams for an aligned STS-3C signal and for a misaligned STS-3C which is realigned by the apparatus of Fig. 5a; and Figures 6a, 6b, and 6c are prior art diagrams showing the formats of an STS-N frame, an STS-3c transport overhead, an STS-NC SPE, and an STS-3 SPE.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred STS-3 type terminator apparatus 10 of the invention is seen in Fig. 1. The terminator apparatus 10 includes receive circuitry as well as transmit circuitry, and both the receive and transmit circuitry can be used, if desired, in conjunction with cross-connection equipment. The terminator apparatus 10 shown finds particular use in conjunction with cross-connection equipment capable of cross- connecting STS-1 type signals, although it can also be used in conjunction with a terminal or add/drop circuit. It will be appreciated by those skilled in the art that the receive and transmit circuitry of the terminator apparatus 10 of the invention tneed. not be located on the same physical apparatus.
As seen in Fig. 1, on the receive side, where the terminator apparatus 10 receives a clock signal, a data signal, and a frame signal, pointer tracking circuitry 12 as is known in the art is used to find the pointers H1H2 for each of the STS-1 payloads in the received STS-3 signal. Where the incoming data signal is an STS-3C signal, only one H1H2 pointer is found, as the other HI bytes are provided with a concatenation indication (10010011) , and the other H2 bytes are provided with a concatenation indication - as may be seen with reference to prior art Fig. 6b. in the terminator apparatus 10, once the H1H2 pointer (s) is located, the transmit overhead (TOH) and path overhead (POH) ^are both easily located. \ The TOH is copied at TOH copy circuitry 14, and the TOH bytes are sent to the data RAM 22, from which they may be read by an external microprocessor 25.
Similarly, the POH copying circuit 16 copies the POH bytes and sends them to data RAM 22 for monitoring purposes. Thus, as shown in Fig. 1, alarm and performance monitors are provided in conjunction with the RAM 22. The monitors, among other Cf} I things, preferably perform Bl, B2, and B3 parity calculations, ^pointer justification monitoring, and alarm calculation.
Sixteen bit counters (not shown) are preferably used to record parity errors, while eight bit counter (not shown) monitor the number of new data flags and pointer justifications. The counter values and alarm status bits are supplied to the microprocessor port or interface 20.
Returning to the discussion of the incoming STS-3 type signal, after the TOH and POH have been copied and sent to RAM 22, the STS-3 type signal is then sent to the retiming and pointer calculation block 18. Also sent to the retiming and pointer calculation block 18 is a SPE control signal which is high when the block 18 is receiving the SPE, a C1J1 control signal which is high when the CI and the Jl bytes are being received by the block 18, and the incoming clock signal. As will be described in more detail hereinafter with reference to Fig. 2, the retiming and pointer recalculation block takes the incoming signal at the incoming STS-3 rate, demultiplexes the signal into three STS-1 type components, calculates new pointers (e.g., H1H2) for each STS-1 type signal, stuffs and destuffs the STS-1 signals as appropriate (in bytes H3 as seen in Fig. 6b and the first byte after the H3 byte - hereinafter referred to as byteO) , and multiplexes the three STS-1 signals back into a retimed STS-3 type signal for output at the terminal side clock rate. In a typical application, the retimed STS-3 type signal are then demultiplexed again into STS-1 signals, and cross-connected using STS-1 type cross-connects. The cross-connected signals are then remultiplexed and fed to the "output side" of the same or other terminator blocks 10, details of which will be discussed below. In another application, rather than demultiplexing the STS-3 signals into STS-1 signals which are cross-connected, the STS-3 signal can be terminated; i.e., sent to a terminal.
Also, instead of multiplexing the STS-1 signals into an STS-3 signal which is then demultiplexed and cross-connected, the individual STS-1 signals can be terminated.
On the output side of the terminator block 10, an STS-3 type signal is received which is comprised of three STS-1 signals which typically have been cross-connected and multiplexed together. Because the STS-3 signals coming back from the cross-connect are at a data rate which may be different then the outgoing STS-3 line rate, the signals are demultiplexed, retimed again, and multiplexed again at retiming and pointer calculation block 30 (which is typically identical to block 18) . However, in reconstituting the STS-3 Jsignal, the path overhead (except for H4) and transport overhead bytes are multiplexed into the signal at POH mux 32 j^ and TOH mux 34 respectively. The information for these overhead.'bytes is preferably taken from RAM 22 which receives its . information from the alarm and performance monitors and r microprocessor 25.
Turning to Fig. 2, details of the retiming and pointer calculation block 18 (and 30) are seen. In particular, the retiming apparatus of the invention includes a demultiplexer 40 for demultiplexing an incoming STS-3 type signal into three STS-1 type signals, three FIFOs 45-1, 45-2, and 45-3 for receiving the STS-1 signals, three depth measurement blocks 48-1, 48-2, and 48-3 for measuring the amount of data in the FIFOs, three frame counters 50-1, 50-2, 50-3 for counting the number of frames of data that have been demultiplexed since a pointer movement, logic decision block 52 for generating pointer movement (increments and decrements) based on the amount of data in each of the FIFOs, jTpointer calculation* \ .3. <~(3 block 54 for generating the pointers in response to ^information from logic decision block 52 and a multiplexer 55 for multiplexing the SPE data from each of the FIFOs, the pointer information as recalculated by the pointer calculation block 54, as well as other TOH data which may be either "dummy" information (i.e., all zeros), or data obtained from the RAM (of Fig. 1) .
The data input to the demultiplexer 40 is effectively the STS-3 signal. Accompanying the data input are the incoming STS-3 clock, an SPE control signal which indicates when the incoming data is SPE data, a H3 byte indicator control, and a C1J1 byte control signal. The SPE control signal is high only when the data byte being received by the demultiplexer 40 is an SPE byte (i.e., a data byte or a POH byte). The C1J1 byte control signal is high whenever the byte being received by the demultiplexer is a CI or a Jl byte. For an STS-3 frame, the CI pulse goes high only for the first CI byte, and the Jl pulses go high for the Jl byte pf each of the three received payloads. The SPE signal is used to distinguish whether the CIJi high pulse is a CI pulse or a Jl pulse, as when SPE is high an.d.-CUl is high, a Jl (POH) byte is being transmitted, and when SPE is low and C1J1 is high, the CI (TOH) byte is being transmitted. As will be discussed hereinafter, the Jl pulses are necessary for the realignment mechanism of the invention, while the CI pulse is preferably used for the retiming mechanism of the invention.
Demultiplexer 40 demultiplexes the incoming STS-3 type signal into three parts. Effectively, the incoming STS-3 clock signal is divided into three clocks (clock #1, clock #2, clock #3) by any suitable means such as a revolving mod 3 counter (not shown). The resulting clocks, which are each at one-third the rate of the incoming clock are each ANDed together with the SPE signal by AND gates 58-1, 58-2, 58-3 to generate three write signals (write #1, write #2, write #3). The write signals cause each of the FIFOs 45-1, 45-2, 45-3 to receive the demultiplexed data signals of the SPE only from the demultiplexer 40, with the TOH bytes being effectively demultiplexed out.
The FIFOs 45 of the invention are preferably implemented as register banks. The output of the registers are tristate drivers, and the registers are written to and read from via the use of two walking-one counters. The first walking-one counter (which is effectively a recirculating bucket-brigade having a single one value and all other zeros) is for writing, and acts to latch the incoming data to the selected (addressed) register; i.e., that register which has the one value of the walking-one counter. The second walking-one counter is for reading, and acts to enable the tristate output of the selected register.
The preferred FIFOs of the invention are at least twenty-nine bytes deep and ten bits wide. The particular twenty-nine bit depth of the FIFO is chosen based on the fact that it is desirable to accommodate at least twelve bytes of delay of..,one:'STS-l signal relative to another STS-1 signal without generating an error signal; that it is desirable to absorb at least four successive incoming pointer movements (each four frames apart) without generating an outgoing pointer movement; and that at least six bytes of safety are desired. Each of these aspects will be discussed in more detail hereinafter. The ten bit width of the preferred FIFOs accommodates the eight bits of SPE data bytes, as well as the one bit control signals Jlbyte and byte03 which accompany the Jl and 03 bytes only (the 03 byte, for purposes herein being defined as the byte which follows the CI byte) . As aforementioned, the Jlbyte control signal is generated when the SPE is high and the ClJl control input to demultiplexer 40 is high. The byte03 control signal, on the other hand is generated the first byte the SPE goes high after the SPE control is low and the ClJl control input to demultiplexer 40 is high. Thus, the 03 byte is used because it is synchronous with the TOH, whereas, if the Jl byte which is synchronous with the SPE were used, a change in the location of the TOH would cause variations in depth measurement. It will be appreciated by those skilled in the art that other bytes synchronous with the TOH could also be used in lieu of the 03 byte .
The depth measurement blocks 48-1, 48-2, 48-3, are preferably counters. The counters use the byte03 control signal exiting the demultiplexer 40 as the start control, and the byte03 control signal exiting the FIFO means as the stop control with each hereinafter described read signal acting to increase the count. The count of the depth measurement block thereby provides an indication of exactly how many bytes were in the associated FIFO when the 03 byte was written to the FIFO. Upon the exiting of byte03 from the FIFO, the count of the depth measurement block is sent to the logic decision block 52. The logic decision block 52, which may be implemented with a microprocessor, a digital signal processor, or logic circuitry as desired, determines whether a stuff or a destuff is required for each particular outgoing STS-1 componqn.†:....; "Where the incoming signal is a STS-3 signal, each STS-1; .component can be stuffed or destuffed separately.
However, where the incoming signal is a STS-3C signal, as will be described in more detail hereinafter, stuffing or destuffing of the STS-1 "components" must be done together.
The frame counter blocks 50-1, 50-2, 50-3 are also preferably counters. The frame counters use the H3 control signal exiting the demultiplexer 40 to increment the count, and as will be described in more detail hereinafter, are reset only upon pointer movement which. effects a stuff or destuff of the FIFO associated with the frame counter. It should be appreciated that for an STS-3C signal, only one frame counter block is required, as the stuffs or destuffs of each STS-1 "component" of the STS-3C signal must occur together. Thus, the frame count since the last pointer movement will always be the same. Regardless of whether one or three frame counter blocks are used, the count (s) from the frame counter block (s) are provided to the logic decision block 52.
The output side of FIFOs 45 utilizes the outgoing (terminal side) clock and frame. In particular, the reference frame effectively determines when the TOH information is required, and hence when the SPE is required and when the POH information (which is part of the SPE) is required. The transport overhead, with the exception of the HI and H2 bytes, is typically provided as null data (all zeros) . The HI and H2 bytes of the TOH which point to the start of the SPE are generated by the pointer calculation block 54 based on information received by the logic decision block 52 (as is described in more detail hereinafter, and as discussed in the parent application hereto) . The only other information required in order to generate the outgoing SPE control signal " s whether a stuff or destuff is required. However, that ' ^ information is supplied by the increment and decrement controls output by the logic decision block 52. j Thus, when a destuff is required for one, two, or all of the STS-1 components of the signal, the outgoing SPE control will be kept high for: one, two, or all H3 bytes, while when a stuff is required for one, two, or all of the STS-1 components the outgoing SPE control will be kept low for one, two, or all of the three bytes following the H3 bytes.
The read control signals for the FIFOs are generated in much the same fashion as the write control signals. Thus, the terminal side reference clock is effectively demultiplexed into three clocks (outgoing clocks #1, #2, #3), and each outgoing clock is ANDed with its respective outgoing SPE control signal at AND gates 62-1, 62-2, 62-3. Where the outgoing signal is an STS-3C signal, the three different output SPE control signals will always be high and low together. However, where the outgoing signal is an STS-3 signal, since one STS-1 component may require a destuff when the other components do not require a destuff, it is possible for one or two outgoing SPE control signals to be high with the other (s) low. On those occasions, the multiplexer 55 will receive a TOH byte from, e.g., RAM for one or two H3 bytes, while receiving an SPE data signal from one of the FIFOs for the other H3 byte(s). Regardless, multiplexer 55 multiplexes the data signals from FIFOs 45 together with the H1H2 byte information from the pointer calculation means as well as other TOH information (which may be all zeros or may be TOH data from the RAM), into an STS-3 type signal (i.e., STS-3 or STS-3C signal) .
Turning to Fig. 3, a flow chart of the logic decision block 52 for an STS-3 signal is. seen. Implementation of the logic decision block is seen in Appendix A hereto. The implementation is in discrete logic which was generated by code input (attached as Appendix B hereto) into the AutoLogic automatic logic synthesis and schematic generation system produced by Mentor Graphics Corporation of Wilsonville, Oregon. The function of the logic decision block 52 is to determine when a stuff or destuff is needed, as well as to generate.,^ . control signal which will cause the stuff or destuff to be effected. Another function of the logic decision block 52 is to generate the stuff and destuff control signals in a manner which limits jitter. As previously described, the inputs to the logic decision block include the frame count (s) and the depth measurements. At step 102, the logic decision block 52 compares each frame count to two different thresholds: a "short" threshold; and a "long" threshold. The "short" threshold is preferably four frames as according to standards, two pointer movements cannot be conducted within four frames of each other. The "long" threshold is preferably thirty-two frames, as the maximum permissable difference between two SONET signals is 40ppm, which amounts to a pointer movement every approximately thirty-one frames. Thus, if two SONET differences are near the maximum permissable difference, and there are no errors in the signals, the long threshold provides a mechanism which permits pointer movement on a regular basis to accommodate the permissable differences in the signals without having to conduct a more jittery short threshold pointer movement.
At 104, the logic decision block 52 compares each depth measurement count to four different thresholds: an "empty hard limit"; an "empty soft limit";, a "full soft limit", and a "full hard limit". In the preferred embodiment where the FIFO depth is twenty-nine bytes, the empty hard limit is set at seven bytes, the empty soft limit is set at eleven bytes, the full soft limit is set at nineteen bytes, and the empty hard limit is set at twenty-three bytes. Thus, the previously discussed safety margin of six bytes is provided on either end, and the difference between the empty hard limit and the full soft limit (as well as the full hard and empty soft limits) is the preferred twelve bytes.
In accord with the invention, if the particular FIFO depth is less than the empty hard limit (e.g., seven bytes), at 106, a check is made to see whether the frame count is greater than the short frame count, and if so, at 120, an outgoing^pbihter increment (stuff) control signal is generated, and the frame counter for the particular FIFO is reset. On the other hand, if the frame count is less than the short frame count, a pointer movement is not allowed, and the logic decision block 52 waits another frame for the next depth evaluation for the particular FIFO. Similarly, at 108, if the particular FIFO depth is greater than the empty hard limit (e.g., seven bytes) but less than the empty soft limit (e.g., eleven bytes) , a check is made to see whether the frame count is greater than the long frame count (e.g., thirty-two bytes). If yes, at 120, the outgoing pointer increment control signal is generated and the frame counter for the particular FIFO is reset. If not, the pointer movement is not allowed, and the logic decision block waits another frame for the next depth evaluation of the particular FIFO.
At 110 and 112, the logic decision block makes similar comparisons to those of steps 106 and 108, but for the situation where the byte depth is greater than the soft or hard full limits. Thus, at 110, if the byte depth is greater than the full soft limit (e.g., nineteen bytes) but less than the full hard limit (twenty-three bytes) , then if the frame count is greater than the long frame count threshold (e.g., thirty-two bytes) , at 122 a pointer decrement (destuff -insert data into H3) control signal is generated and the frame counter for the particular FIFO is reset. On the other hand, if the frame count is less than the full soft limit, no pointer movement is allowed, and the logic decision block waits another frame for the next depth evaluation of the particular FIFO. Similarly, if the byte depth is greater than the full hard limit (e.g., twenty-three bytes), at 112 a determination is made as to whether the frame count is greater than the short frame count of four bytes. If yes, then at 122 the pointer decrement control signal is generated and the frame counter for the particular FIFO is reset. If not, no pointer movement is allowed, and the logic decision block waits another frame for the next depth evaluation of the particular FIFO.
In" typical functioning, the FIFOs will have fifteen bytes contained therein. Thus, should the outgoing STS-3 type signal be at a slightly faster rate than the incoming STS-3 type signal, reads from the FIFOs will occur slightly more often than writes to the FIFOs. As a result, the FIFOs will be short on data, the empty soft limit will be reached after many frames, and a stuff signal (pointer increment) will be generated. Similarly, should the outgoing STS-3 type signal be at a slightly slower rate than the incoming STS-3 type signal, writes to the FIFOs will occur slightly more often than reads from the FIFOs. As a result, the FIFOs will be long on data (i.e., will fill), the full soft limit will be reached after many frames, and a destuff (pointer decrement) will be generated. By requiring that at least thirty-two data frames have passed since a previous pointer movement in the case of meeting the full soft or empty soft limits, limited jitter is guaranteed. Also, by setting the soft thresholds such that the FIFO must have four additional or four fewer bytes than expected to effect point movement, slight relative movements of the data rates (jitter) which might later cancel out are accommodated without the requirement of pointer movement. Further, by causing pointer movement to occur as soon as possible after a the empty or full hard limits, the logic decision block effectively accommodates the exigency of the FIFO running out of data or overflowing. Also, by setting the hard thresholds more than four bytes from the empty or overflow states, continuing operation with stuffing or destuffing is guaranteed even if the difference in incoming and outgoing data rates is as large as one byte per four frames .
As aforementioned, where the incoming and outgoing signals are STS-3C signals, only one frame counter block 50 is required or utilized, and any stuffs and destuffs must be made to all three STS-1 components at the same time. The logic of the logic,'decision block for making stuffs and destuffs for the STS-3C signal case is seen in Figs. 4a and 4b. As seen in Figs. 4a and 4b, the decision on whether to stuff or destuff is made as a function of the status (i.e., count < empty hard limit; count < empty soft limit; count > full soft limit; count > full hard limit) of all of the depth measurement blocks as well as the frame count status (i.e., frame count > short; frame count > long) . As seen in Figs. 4a and 4b, where all of the depth measurement indications are the same, the decision to stuff or destuff is made accordingly; provided, or course, that where hard FIFO depth thresholds are exceeded, a stuff or destuff is carried out when the frame count exceeds the short frame count threshold (four frames) , and that where soft thresholds are exceeded, the stuff or destuff is carried out when the frame count exceeds the long frame count threshold. Also, as seen in Figs. 4a and 4b, where any of the FIFOs exceed a hard FIFO depth threshold, a stuff or destuff is carried out (for all STS-1 components) if the frame count exceeds the short frame count threshold regardless of the position of the other FIFOs, as long as the other FIFOs either exceed a soft or hard threshold in the same direction, or are in the normal range. However, where one of the FIFOs exceeds the soft or hard threshold in a direction opposite to the FIFO exceeding the hard FIFO depth threshold, an error signal is generated (see Fig. 4b) to indicate that the incoming STS-1 offset is greater than permitted.
With regard to the soft FIFO depth thresholds, a stuff or destuff is only made where all three FIFOs have the same indication. Thus, if two FIFOs show that a soft threshold is exceeded, but one FIFO shows that the soft threshold is not exceeded, no action is taken. Likewise, where two different FIFOs show that soft thresholds in different directions are exceeded, no action is taken.
With the STS-3C signals, as aforementioned, stuffs and destuffs must be made to all of the STS-1 components at the same time. This is because the structure of the STS-3C signal is more rigid than the structure of the STS-3 signal in that each byte*.of each STS-1 component is aligned with the other bytes of the other STS-1 components. Thus, all of the SPEs will start at the same location, all of the path overhead bytes (e.g., Jl) will be located together, etc. However, only one H1H2 SPE pointer is provided in the STS-3C signal, with the other HI and H2 byte locations being provided with predefined values to indicate an STS-3C signal.
Because the bytes of the STS-3C signal must be properly aligned, different delays through the FIFOs 45 or through a cross-connect can cause an error in the outgoing STS-3C signal if not properly accounted for. This problem is particularly acute upon start-up, although it can occur during regular operation. In accord with another aspect of the invention, (re) alignment is obtained by requiring that all Jl bytes be available for reading in order and at the same time. This requirement is met by taking the logical AND of the Jl control outputs of the three FIFOs together with the third clock (clock #3) . If the logical AND of the four inputs together is a one, then a byte (i.e., the Jl byte) may be read from each FIFO (i.e., the read signal for each FIFO will go high). Of course, where the Jl byte control signal is not exiting any particular FIFO, then as long. as the SPE and clock associated with that particular FIFO are high (as described above), a read signal will be generated for that FIFO. Effectively, then, and as seen in Fig. 5a, a read enable signal ReadEn is used as a third input into AND gates 62 in order to permit read signals to be generated, and the read enable signals are generated according to the logical equations: ReadEnl = {[Jl[l] AND Jl[2] AND Jl[3] AND Clock #3] OR [NOT Jl[l]]} LATCHED WITH {CLOCK 3} ReadEn2 = {[Jl[l] AND Jl[2] AND Jl[3] AND Clock #3] OR [NOT Jl[2]]} LATCHED WITH {CLOCK 3} ReadEn3 = {[Jl[l] AND Jl[2] AND Jl[3] AND Clock #3] OR [NOT Jl[3]]} LATCHED WITH {CLOCK 3} Implementation of the generating of the read enable signals requires a four input AND gate 151, three OR gates 152a, 152b 152c, three inverters 153a, 153b, 153c, and three latches 154a, ...154tor :l54c, as seen in Fig. 5a.
In addition to the read enable signals which are generated, a misalignment control signal is preferably generated when misalignment occurs. Misalignment (align error) can be defined logically as the state when for any particular Jl, the logical AND of that Jl with clock #3 and with the opposite of the logical AND of each of the Jl signal is one. Logically: Misalignment = [J10R] AND [J1AND] AND [CLOCK 3] where J10R = [Jl[l]] OR [Jl[2]] OR [Jl[3]] and where J1AND = [Jl[l]] AND [Jl[2]] AND [Jl[3]].
In other words, whenever one of the Jl values is high, if the all three Jl values are not high together at clock 3, there i a misalignment.
The timing diagrams of Figs. 5b and 5c further explain the mechanism for realigning misaligned signals. As seen in Fig. 5b, clock #1, clock #2, and clock #3 are staggered, but together represent the outgoing STS-3C clock rate. The read[l], read[2], and read[3] signals are being generated in parallel with the clock #1, clock #2, and clock #3 pulses and hence are also staggered. Similarly, the Jl bytes Jl[l], Jl[2], Jl[3] are staggered, although each is held for three STS-3C clock cycles, such that at a clock #3, all of the Jl bytes are high. Thus, a J1AND signal is generated at clock pulse 5 of Fig. 5b, which pulse occurs concurrent with clock #3. Thus, based on the description above, everything is properly aligned. A J10R signal is also shown in Fig. 5b.
Turning to Fig. 5c, a misaligned signal is seen with Jl[3] occurring before Jl[l] and Jl[2]. Thus, at pulse 2 Jl[3] is high without Jl[l] and Jl[2] being high, and a misalignment pulse (align error) occurs. As a result of the misalignment, the read enable signal ReadEn3 as seen for clock counts 5-7 does not stay high, and hence the data read from FIFO 45-3 at that time is the previous data and not the Jl[3] data byte. As seen in Fig. 5c, at pulses 3 and 4, the Jl[l] and Jl[2] signals go high. As a result, because Jl[3] is still high, J1AND goes high for two clock pulses (4 and 5) . Because clock pulse 5 corresponds to clock #3, all three FIFOs are read enabled, and the Jl bytes are read consecutively out of the FIFOs as shown. Thus, the STS-3C signal is now realigned.
In accord with the preferred embodiment of the invention, when any data byte must be reread from a FIFO, an error is flagged by setting a misalignment error bit at the microprocessor interface. The error bit is effectively set according to the logic that when J10R is high, but JIOR AND J1AND is low, the error bit is set. Also, according to the preferred embodiment of the invention, if the error bit is set and an error reset bit is set by the microprocessor (which is typically done on start-up only) , data is sent until the beginning of an SPE subframe. Then, the pointers on the register banks of the FIFOs are realigned such that the read pointer is half a FIFO away from the write pointer; i.e., the FIFO is reset to a depth of fifteen bytes.
It will be appreciated by those skilled in the art that the realignment techniques disclosed herein may also be applied to realignment of STS-1 components of an STS-3C signal where the STS-1 components have been separately sent through a switched network. In such a situation, it is desirable to provide a large RAM space typically divided into three sections in lieu of the three FIFOs, as the delays through the switched network can be considerably different (even hundreds of frames worth) for each STS-1 component, and extremely large FIFOs would be very expensive. In such a situation, it is also necessary to provide a synchronization mechanism beyond the Jl byte realignment mechanism, as it is necessary to realign the frames of one STS-1 component with the corresponding frames of the other STS-1 components. In other words, just aligning the Jl bytes does not guarantee proper realignment,' as the Jl byte of one component may be the Jl byte of a different frame when delays are large. Thus, in accord with the invention, the H4 or an undefined POH byte can be used as a synchronization signal. For example, one H4 byte in two hundred fifty-six (28) can be coded with all ones, and the other H4 bytes coded as all zeros or as desired, or the H4 bytes can be coded in a numerical order (one to two hundred fifty-six) , and at the realignment circuitry, the H4 byte or other designated POH byte can be monitored such that only when the three H4 bytes have all ones (or the same coded number) and then the Jl byte realignment mechanism is satisfied can the reading from the RAM start. In this manner, not only will the Jl bytes and hence the SPEs be aligned, but the SPEs of one STS-1 component will be aligned with the SPEs of corresponding STS-1 components of the STS-3 signal.
There have been described and illustrated herein apparatus for the retiming and realignment of STS-3 type signals. It will be appreciated that the methods of the invention relate directly to the apparatus. While particular embodiments of the invention have been described, it is not intended that the invention be limited thereto, as it is intended that the invention be as broad in scope as the art will allow and that the specification be read likewise. Thus, while particular logic circuitry has been disclosed for accomplishing realignment, it will be appreciated that other logic circuitry could be utilized. Also, while a particular TOH synchronous byte (03) was described as being used for permitting tracking of FIFO depth, and while a particular POH byte (Jl) was described as being used for accomplishing realignment, it will be appreciated that different bytes could be utilized provided that the byte used for tracking FIFO depth is synchronous with the TOH, while the byte used for establishing realignment of the STS-3C signal is synchronous with the POH. Likewise, a different byte could be used for tracking the number of frames since a last pointer movement was accomplished. Those skilled in the art will further appreciate that while the invention was described with FIFOs of a preferred depth, and hard and soft thresholds of a certain number of bytes, it will be appreciated that FIFOs of a different depth can be utilized, and that the thresholds can be changed, provided, of course, that both hard and soft thresholds are utilized in the retiming mechanism. Similarly, it will be appreciated that more than two FIFO depth thresholds and timing tresholds can be utilized. It will therefore be appreciated by those skilled in the art that yet other modifications could be made to the provided invention without deviating from its spirit and scope as so claimed.

Claims (11)

1. CLAIMS: Γ . Λη apparatus for retiming an incoming STS-3C type signal having a first S S-3 rate into a second STS-3C type signal having a second STS-3 rate similar to but not exactly equalling said first STS-3 rate, comprising: a) demultiplexer means for receiving a synchronous payload envelope data signal of said incoming STS-3C type signal, an associated synchronous clock of said incoming STS-3C type signal, and at least two control signals including a synchronous payload envelope control signal of said incoming STS-3C type signal, and a first byte control signal which is synchronous with one Toil byte of said incoming STS-3C type signal, said demultiplexer means for demultiplexing said incoming STS-3C type signal into three STS-1 payload signals each accompanied by a byte control signal related to said first byte control signal which accompanies at least one byte of each of said three STS-1 payload signals; b) data., storage means coupled to said demultiplexer means, said data storage means for separately storing said STS-1 payload signals; c) frame counting means coupled to said demultiplexer means, said frame counting means for counting the number STS-3C data frames since a last pointer movement relating to said second STS-3C type signal; d) data storage measurement means coupled to said data storage means, said data storage measurement means for receiving said related byte control signal and determining at least therefrom the number of bytes for each of said STS-1 payload signals in said data storage means; e) logic means coupled to said data storage means and said frame counting means, for generating a destuff signal p-x frames after a determination by said logic means that the number of bytes for each of said STS-1 payload signals in said data storage means exceeds a first threshold value, where x equals the number of frames since the last pointer movement or p-1 whichever is smaller, and for generating a destuff signal q-y frames after a determination by said logic means that the number of bytes in said data storage means for at least one of said STS-i payload signals exceeds a second threshold value and that the number of bytes in said data storage means of the other STS-1 payload signals exceed a third threshold, where y equals the number of frames since the last pointer movement or q-1 whichever is smaller, wherein said first threshold is smaller than said second threshold, and said third threshold is smaller than said second threshold, and q is smaller than p, and wherein said destuff signal triggers a pointer movement; and f) multiplexer means for reading said separately stored data in said data storage means at said second STS-3 signal rate, and multiplexing said separately stored data into an STS-3C payload.
2. . An apparatus according to claim 1 , wherein: said logic means generates a stuff signal r-u frames after a determination by said logic means that the number of bytes in said data storage means for each of said STS-1 payload. signals is less than said third threshold value, where u equals the number of frames since the last pointer movement or r-1 whichever is smaller, and generates a stuff signal s-z frames after a determination by said logic means that the number of bytes in said data storage means for any of said STS-1 payload signals is less then a fourth threshold value and the number of bytes in said data storage means for the others of said STS-1 payload signals is less than said second threshold, wherein z equals the number of frames since the last pointer movement or s-1 whichever is smaller, wherein said fourth threshold is smaller than said third threshold, and s is smaller than r, and wherein said stuff signal triggers a second pointer movement.
3. . An apparatus according to claim 2 , wherein: said data storage means comprises three FIFO means, and said data storage measurement means comprises three FIFO depth measurement means.
4. .4. An apparatus according to claim 2 , further comprising: realignment means for realigning said STS-1 payload signals .
5. An apparatus according to claim 4 , wherein: said demultiplexer means receives a third control signal synchronous with a predetermined SPE byte, and provides a second byte control signal related to said third control signal, and said realignment means comprises logic means for determining whether at a clock associated with a designated of said STS-1 signals, the byte of each of said STS-1 payload to be read by said multiplexer means is said predetermined SPE byte, and for inhibiting a read of said predetermined SPE byte for any particular STS-1 payload otherwise.
6. An apparatus according to claim 5 , wherein: said 'predetermined SPE byte is a Jl byte.
7. An apparatus according to claim 5!, wherein: p is equal to r, and q is equal to s.
8. An apparatus according to claim 7' , wherein: said data storage means comprises three FIFO means, and said data storage measurement means comprises three FIFO depth measurement means, and said first threshold is equal to a half full FIFO plus a first number of bytes, and said third threshold is equal to a half full FIFO minus said first number of bytes, and said second threshold is equal to a half full FIFO plus a second number of bytes, and said fourth threshold is equal to a half full FIFO minus said second number of bytes, wherein said second number of bytes is more than said first number of bytes .
9. Λη apparatus according to claim :-8 , wherein: p is equal to thirty-two bytes, and q is equal to four bytes .
10. · An apparatus according to claim 8 wherein: each said related byte control signal is a control signal accompanying the first SPE byte after the CI TOH byte of the respective STS-1 type signal, and said predetermined SPE byte is a Jl byte.
11. An apparatus according to claim ;io, wherein: each said FIFO means is at least ten bits wide, with eight bits for bytes of said data payloads, one bit for said related control byte signal, and one bit for said second byte control signal, and each said FIFO depth measurement means is coupled to an output of said FIFO means for determining when said related control byte signal is read from said FIFO means, wherein said FIFO depth measurement means comprises a counting means f,or counting the number of bytes written into said FIFO means between the writing of said related control byte signal and the reading of said related control byte signal from said FIFO means. . An apparatus for retiming an incoming STS-3 type signal substantiall as described herein by way of example and with reference to the drawings. For the Applicant:
IL11371093A 1992-03-09 1993-03-09 Apparatus for retiming and realignment of sts-1 signals into sts-3 type signal IL113710A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US07/848,384 US5331641A (en) 1990-07-27 1992-03-09 Methods and apparatus for retiming and realignment of STS-1 signals into STS-3 type signal
IL10499093A IL104990A (en) 1992-03-09 1993-03-09 Methods and apparatus for retiming and realignment of sts-1 signals into sts-3 type signal

Publications (1)

Publication Number Publication Date
IL113710A true IL113710A (en) 1996-10-31

Family

ID=26322594

Family Applications (2)

Application Number Title Priority Date Filing Date
IL11371090A IL113710A0 (en) 1992-03-09 1990-05-17 Apparatus for retiming and realigment of sts-1 signal into sts-3 type signal
IL11371093A IL113710A (en) 1992-03-09 1993-03-09 Apparatus for retiming and realignment of sts-1 signals into sts-3 type signal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
IL11371090A IL113710A0 (en) 1992-03-09 1990-05-17 Apparatus for retiming and realigment of sts-1 signal into sts-3 type signal

Country Status (1)

Country Link
IL (2) IL113710A0 (en)

Also Published As

Publication number Publication date
IL113710A0 (en) 1995-08-31

Similar Documents

Publication Publication Date Title
US5331641A (en) Methods and apparatus for retiming and realignment of STS-1 signals into STS-3 type signal
US5257261A (en) Methods and apparatus for concatenating a plurality of lower level SONET signals into higher level sonet signals
US5142529A (en) Method and means for transferring a data payload from a first SONET signal to a SONET signal of different frequency
CA2004840C (en) Virtual tributary cross connect switch and switch network utilizing the same
US5923653A (en) SONET/SDH receiver processor
EP0926851B1 (en) Method of an apparatus for multiplexing and demultiplexing digital signal streams
EP0849972A2 (en) Path test signal generator and checker for use in a digital transmission system using a higher order virtual container VC-4Xc in STM-N frames
WO1990006645A1 (en) System for cross-connecting high speed digital signals
EP0545392B1 (en) Synchronous circuit
US5715248A (en) Derivation of VT group clock from SONET STS-1 payload clock and VT group bus definition
EP0525770B1 (en) Method and apparatus for renewing AU-4 and TU-3 pointers of synchronous digital hierarchy
US6157658A (en) Pointer processing apparatus, POH terminating process apparatus, method of POH terminating process and pointer/POH terminating process apparatus in SDH transmission system
US5644567A (en) Line switching method and line switching apparatus
US5267236A (en) Asynchronous parallel data formatter
JPH0693669B2 (en) Method for inserting an asynchronous 139264-Kbits / sec-signal into a 155520-K bits / sec-signal
US7428249B2 (en) Pointer processing and path BIP-8 computation for large concatenated payloads
US6208648B1 (en) Network element and input/output device for a synchronous transmission system
CN1106093C (en) Apparatus and method for limiting jitter caused by pointer movement
EP0548649B1 (en) Parallel DS3 AIS/Idle code generator
EP1617581A1 (en) Method and appartus for frame alignment
US7031351B2 (en) Serial data mapping apparatus for synchronous digital hierarchy
IL113710A (en) Apparatus for retiming and realignment of sts-1 signals into sts-3 type signal
US7016344B1 (en) Time slot interchanging of time slots from multiple SONET signals without first passing the signals through pointer processors to synchronize them to a common clock
EP0592842B1 (en) Serial rate conversion circuit with jitter tolerate payload
KR100280203B1 (en) Bit leaking device

Legal Events

Date Code Title Description
FF Patent granted
KB Patent renewed
KB Patent renewed
KB Patent renewed
MM9K Patent not in force due to non-payment of renewal fees