O/V, Jf }lc t 6¥f uiucdcs-r-7U-689 /yuctM BURP: A BUNDLE REPEATER AND RESTORER by Bernard Ka Pang Tse December, 197^ DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN URBANA, ILLINOIS IHE LIBRARY OF THE FEB& CC > »- ^» ^" < > Q * < Z UJ u. o < z o z Q. a i > UJ r-l ^H UJ o C C o z 1 UJ ID z cc OD 1 a) UJ a: UJ > ^ UJ > p Q z »- < Z UJ u. o < z z UJ c c ■ a z a z i z UJ 3 en CD /I < (A CO < -J UJ or ~i-l * "** 1 UJ or z + Z z 3 u. o UJ z UJ UJ cc or o -1 o cc i b z * _ • 3 ^^ a. z CD a. i I fH Z (o u. - "-• O J I 3«s Q ± Z c 3 c I CO Z w 0) Jh ■H IS 0) ,G -p O hO G ■H ft s 0) a •H 10 *+l' or the ' -l 1 states respectively. The effects of this scheme is demon- strated in Figure U. 2.2 The Formation of Pairs In the previous section, it was mentioned that the unreliable wires in the bundle are detected by the Repeater, so that they can be assigned values based on the information carried in the active wires. In an actual system, however, this is not realistic because it would involve a two-step operation: (a) the search for the unreliable wires and (b) the reassign- ment of new values to these unreliable wires. Such a two-step process is not acceptable because it would require an intimate physical relationship between all the wires, possibly by some form of cross-bar switching: It cannot be determined before-hand which of the wires in the bundle would be damaged while passing through the hazardous channel. In view of this "bottleneck" problem, a more modular approach is desirable. One approach is to randomly partition the bundle of N wires into N/b sub-bundles, with each sub-bundle having b wires. The b wires in the sub-bundle are connected in such a way that — if a wire in the sub-bundle is unreliable — It takes on the value of its immediate neighbor . If the latter proves to be unreliable too, then these two wires are assigned the value of the wire adjacent to the second wire. If we look at a hypothetical case in which the risk factor of a channel is p, the probability that all the wires in the sub-bundle are - • b unreliable is p , where again, b is the number of wires in the sub-bundle. This is the case when the wires in the sub-bundle fail to compensate for the unreliable wires and when the objective of the Repeater's operation fails. 11 Ul UJ "-i S i + w UJ CC to UJ ae o UJ -I o z m a uj z -J o a a. < IS 3 5 uj CC ^ O J 3 Q. O Z UJ UJ to o. tr uj * ^ - UJ O a. i to UJ u. o 13 OD UJ 1- UJ < »- ft K H ° o w »- Q Z (_> • cr z < < < u. IM I < O * c (M UJ a. UJ (VJ to oz 3 -i o own Q Z o cr z < < < u. n x < ° M z o to z < cr z g i- o Ul a: s a> -p CO >> CO u Ul O q: UJ — 2 * O £1 o + 4 + T o -p O 7 T T T T ■p O 7 UJ LlI cr cvj UJ cr a UJ z 7 7" 7 7 O — O 7 T T 7 7 <\J T O 7 UJ en uj 3 < - 1 . ui < Ji- (T > O UJ or cvj i* •H cd CX, hO •H h W lO H CM IO V O O CM o -p UJ or -1 2 at < z (M 2 v. O z Z z < UJ or t rr (/) UJ Ul cc < cc iii -1 z S a o •H -P O « 0) o -p <■ o o (/) (VJ UJ •' N • ' >• K V •••••• ) ( — •••- z i^- ■ x S. -_~~ o -p CM o <♦-! OJ o -P 0) 2 CD (Li UJ UJ 25 SWITCHING CIRCUIT A WIRE FROM Ci +1 WIRE +1 FROM Cs +1 -1 ♦ 1 SWITCHING CIRCUIT B WIRE FROM C 2 +1 WIRE +| -1 -1 FROM c « +1 Figure 9. Svitching Circuits A and B 26 of value '-1' whenever the wire from c< is active, while the wire from c p is considered only when the corresponding wire from c, is inactive. This is very similar to the reduction procedure described in Method 1. The only difference is that the other half of the wires that are usually discarded are now retained and that they do affect the com- position of the resultant N wire bundle . This is achieved automatically by pairing the appropriate sub-bundles and by using the peculiar switching function of the switching networks. Statistically, this method will yield more active wires for con- sideration by succeeding repeater stages and chances are that a more accurate representation of the original n /n~ number can be attained. 3.U Restoration of Inactive Wires by Repeater Stages As mentioned earlier, the resultant bundles of N wires are pro- cessed by the succeeding Repeater stages so as to generate a larger num- ber of active wires. Since, in the resultant bundle, the ratio of the '+1' wires to that of the '-1' wires approximate the ratio of active wires in the numerator and denominator bundles, such a bundle used at the input of the Repeater stages will indeed generate an output bundle that still maintains the n /n~ ratio, while greatly increases the number of '+1' and '-1' wires at the output . This shows then that by the use of a system as shown in Figure 10, a solution to the 'attrition' problem can be realized. 27 ! r-REPEATER STAGES K , :> a H ^> O o •H -P •H u p p < -p o -p o •H H o to (I) •H 28 IV. CONCLUSION A system that restores the number of active wires as well as solving the 'attrition' problem of a bundle transmission/processing system has been described in the preceding pages. The restoration of active wires enhances the attractiveness of a bundle/transmission system since the ability of such a system to withstand damaged wires as information passes through repeated hazardous channels is greatly increased. On the other hand, the solution of the 'attrition' problem enhances the attrac- tiveness of using bundles in the processing of arithmetic, since in addi- tion to the simplicity of arithmetic, the accuracy of computation can be maintained throughout succeeding levels of computation. A failure in the Repeater or Restorer circuits, however, may cause errors. The probability of this occurring is not very high, because the Repeaters and Restorers are located in relatively 'safe' environm- ments ; and, what is more, the effect of a damaged Repeater circuit is not severe because of the modularity of the Repeater /Restorer stages — any failure inside a Repeater circuit affects the value of at most one wire . Consequently, the performance of BURP is, in the worst case, no worse than that of a comparable system without the repeater action; and, under most circumstances, a Repeater /Restorer system is more reli- able , because the probability of system failure is minor compared to the probability of wire damage caused by a hazardous channel. In the appendices that follow, we shall describe a bundle repeater/ restorer system (called BURP) that has actually been constructed to demon- strate the feasibility of such a system. Not surprisingly, the system shows, when it is used to demonstrate the repeater action, a great ability 29 to withstand damage sustained during passage through the channels separat- ing the Repeater stages. When it is used to demonstrate the restorer action, the number of active wires in a bundle can be restored close to % after two or three Repeater stages. 30 V. APPENDIX Appendix 1 The BURP System This section describes a 5-stage Repeater system that has been con- structed to demonstrate the feasibility of the BURP system. A block dia- gram is shown in Figure 11. BURP is essentially divided into two systems: The Repeater portion that can be used to demonstrate the repeater action (namely the ability of the repeater stages to compensate for damaged wires), and the Restorer portion that can be used in conjunction with the Repeater stages to demon- strate the resoration of active wires in a two-bundle processing system. . As a result, the Repeater and Restorer portions of the machine are not very well separated physically, although the principles that they demonstrate are distinct. Each of the Repeater stages can handle a maximum of 6U wires, which essentially means that the numerator and denominator bundles of the re- storer section have to be made up of 6k wires each too. Each of the outputs of a Repeater stage is connected at random by a wire to an input circuit of the next repeater stage, and each of these connections can be severed and reconnected at will to demonstrate the effects that a hazardous channel has on the system. When a demonstration of the repeater action is desired, an analog input is converted into a bundle representation, i.e. the number of active wires is proportional to the analog input. These 6h wires generated by the converter are then passed onto the 5 Repeater stages that follow. Hazardous channels of different risk factors can then be simulated by severing the inter-connecting wires between Repeater stages; a risk 31 IT UJ UJ « 0- < K. V) in 5 V) UJ c i IB O K U U B > X o o »->: 8 5 (A J. ec -I X 3 UJ "▼ to UJ UJ er < K > UJ - _ 0- * cc UJ Q «* uj Pi Z (A <* X <■ = UJ CSJ (0 g ■ a: K O ui >- _J I < o o * CD -J 3 - K I- UJ -I X => UJ 3 -I a. 1 3 OD Pu.g 1 -J £ I- I < Q O ce o i- UJ o h Z O <_) h u bO cd •H Q o o H m B en >> CO H H •H O z o o Z 1 < Q- 32 factor of .5 can be had, for example, by randomly disconnecting 32 of 6U wires between two Repeater stages. After the fifth and last Repeater stage, the active wires are summed and can be compared to the original analog number to demonstrate the effects of the intervening repeaters. Each of these Repeater stages can also be disabled if desired to demon- strate the effects of one or all of the Repeaters on the quality of the received signal. If a demonstration of the Restorer action is desired, then two analog numbers representing the values of the numerator and denominator bundles are converted into bundle notation and, after the 2 to 1 wire reduction procedure of the Restorer stage, the resultant 6k wires are then passed onto the Repeater stages. Again, the output of the last Repeater stage is monitored to show the total number of active wires and the composition of the regenerated bundles. To facilitate comparision, the 6h wires of the system are mapped onto a range of 0.00 to 1.00 by a bundle-to-BCD converter that displays the analog input in 2 1/2 BCD digits. Similarly, an output display genera- tor displays the desired function of the output bundle from the last Re- peater stage in BCD form. So instead of showing the total number of active wires in the appropriate bundles, the input and output displays show the percentage of the wires that are active; however, since a 6U-wire system has an accuracy of less than 1% the output displays will show numbers that are more precise than the bundles can actually demonstrate. Another word about the output display is necessary. Since the same output display serves both the Repeater and the Restorer functions, it must be versatile enough to interpret the contents of the output bundles and be able to display its interpretations in meaningful forms. The output display can generate the following functions: a) Z'+l', b) E'-l*, 33 c) Z'+l'/E'-l', and d) E'+l'/U'+l 1 + E'-l')- As will "be explained later, a), b) and d) are helpful in interpreting the resultant output bun- dles in a demonstration of the Repeater action, while a), b) and c) are helpful in the case of the Restorer. 3U Appendix 2 The Input System The input system converts a number represented by an analog voltage into a form that the system can operate on. The analog number is mapped onto a bundle of 6k wires so that the number is represented by the ratio of the '+1' wires in the bundle to the total number of wires in the bundle; namely 6k. To facilitate the demonstration of the system, this analog number is also represented as a 2 1/2 digit BCD number, and this latter is displayed on the machine. Figure 12 shows a block diagram of the analog-to-bundle converter that maps the analog number onto the 6k wires. The basic part of this sub-system is a 7-bit tracking analog-to-digital converter that has a maximum digital range restricted to a count of 2 (i.e. 6k). This means that the maximum number of analog numbers that can be represented is 61+ and these numbers are mapped onto the range of 0000000 to 1000000. The 7-bit output of the A/D converter is used to drive the 6U wires in the bundle. The least significant bit, 2 , for example, is used to drive one wire only, while the 2 bit is used to drive 2 wires, the 2 bit dirves 32 wires. The 2 bit is allowed to drive only 1 wire, however when a 1000000 count is noted, the rest of the wire drivers are enabled so that all 6k wires of the system are turned on. The wire drivers are designed so that if a particular bit of the A/D converter is 'ON' , the wire driver has a '+1' level output. Otherwise the output assumes a level of '-1'. As indicated on the system block diagram of Figure 11, two 7-bit latches are used to store the A/D converter outputs when the system is used in the Restorer mode. In this case, one 7-bit latch would store the 35 in Ul K <0 u a o o Q UJ CO UJ > £ o UJ cc UJ > CC £ CVJ o *4 M K> * « <0 CM CM 2 7-BIT TRACKING 2 CM CM BE UJ o tr "v UJ < > z o CM u 3 PQ I O •P I bO O r-i a) o u bO a5 a o H pq (M H g bO •H 36 numerator number while the second would store the converted denominator number. These two numbers are entered into the input system through the same potentiometer and A/D converter, and so have to be entered sequentially and stored separately in the two latches. When the Restorer mode of opera- tion is desired, these two 7 -bit numbers are passed onto the Restorers, which reduce the 2 x 6h wires to a single bundle of 6k wires and at the same time, serve as wire drivers for the bundle that goes onto the Repeater stages. Also indicated in Appendix 1 is the added function of the input sys- tem to display the analog entries to the BURP system in BCD form. In the repeater mode, the analog input is connected directly to the BCD generator and so the conversion of the to 6h bundle notation to the 0.00 to 1.00 BCD notation is accomplished on-line. On the other hand, this on-line opera- tion of the BCD generator is not possible for both of the bundles when the restorer mode of operation is required. In this situation, the analog number for one bundle is converted first into the bundle notation and the BCD generator regenerates the BCD representation from the latter. The resultant 2 1/2 digit BCD number is stored in another latch. A similar conversion is done for the second bundle and the BCD result is similarly stored in a 7-bit latch. The generation of the BCD numbers from the bundle notation is a relatively simple process. A block diagram of this sub-system is shown in Figure 13. Whenever the system senses that a new number has been entered through the input potentiometer, a signal starts a clock generator that 2 feeds into the 10 counter and into a binary rate multiplier. The latter is a sub-system that allows n/6h of the pulses entering it to exit at its output. Therefore, if n is set to be equal to the 7-bit output of the A/B 37 1 w + 1 + w w m _v. "V w» ^H •-4 1 + + w w w o -p a) Jh c a; * H P< w ■H Q O pq en H 0) no •H 38 converter and if the pulses exiting from the binary rate multiplier are counted by a 2 1/2 digit BCD counter a conversion of the bundle notation to the BCD notation can be achieved at the output of the BCD counters. 2 The clock generator is disabled whenever the 10 counter overflows. As noted earlier, this BCD number can then be stored in latches and displayed when needed. 39 Appendix 3 The Repeater Stages In Chapter 2, two methods were shown for the assignment of pairs for the Repeater stages. Method 2, as shown in Figure 6(h) was used in the design. Figure ik shows the actual circuit that was used in the BURP system to implement the required function. Let us first look at the case when the Repeater stage is in the 'OFF' position, i.e. if the ON/OFF line is kept in the grounded state. This means that resistors R and R become the grounded loads for outputs A 1 and B'. In this case, when input A is in the '+1' state, Q would be 'OFF*, while Q would be 'ON'. This means that Q would turn 'ON' and Q, would turn 'OFF' , and the output would assume a '+1' state. If input A is in the '-1' state, then Q and Q, would be 'ON' while Q and Q would be 'OFF' , resulting in a ' -l f state at the output A'. If, on the other hand, input A is either grounded or left open, then both Q and Q would turn on and consequently Q and Q, would be off. This means that output A' would be left in the open or high-imepdence state, It is now evident that if the ON/OFF line is allowed to float, out- puts A; and B; would follow the inputs A and B respectively when their re- spective inputs are either in the '+1 1 or '-1' states. If input A is grounded for example, Q and Q« would be OFF, and so A 1 would follow the logic level of B ! , since A 1 and B' are connected by resistors R and R . This means that wire A (since it is an unreliable wire) is assigned the value of its neighbor B, and hence the repeater action is accomplished. In the event that both A and B are grounded or are in the 'OPEN' states, ko ON/OFF O B "0" O- m ^. V+ A *"' _^ II , II ll/»H - _ II M ■^ + , , OR - OR - Figure lU. The Repeater Circuit kl A' and B' would both assume the high-impedence state '0', and the repeater action is assumed to have failed. Thirty-two of these basic cells are used in each of the Repeater stages. In a 5-Repeater system such as BURP, a total of l60 of such repeater cells is utilized. U2 Appendix h The Output Display System It was mentioned in Appendix 1 that the output display system is capable of generating the following functions: a) E'+l', b) Z'-l', c) Z'+l'/E'-l' , and d) E'+l'/U'+l* + Z'-l* ). In the repeater mode, an analog number is represented by the frac- tion of the wires in the bundle that are in the '+1' state, compared to the total number of '+1' and '-l 1 wires. Therefore, E'+1'/(Z*+1' + Z'-l*) will tell us what the original number has degenerated into after passage through the 5 hazardous channels. E'+l 1 and Z'-l', on the other hand, will tell us what fraction of the 6k wires in the output bundle are in the active state and hence give an indication of how accurate the output number actually is. In the restorer mode, an analog number is represented by the ratio of the number of ' +1' wires to the number of ' -1 ' wires. Therefore, E'+l'/E'-l' will show what this number has become after the 5 stages of restoring action. The E'+l' and E'-l 1 displays are more important in this restorer mode of operation, however, because they tell us the percentage of the wires in the output bundle that are active, and the main function of the Restorer is to restore the number of active wires. A block diagram of this system is shown in Figure 15- The inputs to the output display generator are driven by the last Repeater stage. Each of the 6U wires of the bundle, when it is in the '+1' or '-1' state, act as a current source or current sink respectively for the '+1' or '-1' summers. When a wire is in the '0' state, however, it is neither a current source nor a current sink. The '+!' and '-!' summers will give a relative k3 V) 3$ Q r 1 CL s CD •p M o >, $.£ 00 M & H ft CO •H « -P 3 P< -P 3 O o !2§ a • < H cu *H i fe U) kk indication of the percentage of the '+1 1 and '-1' wires in the output bundle. These two current sums are then processed by an analog adder and an analog divider to generate the Z'+V/Z'-V and I'+l'/U'+l' + E'-l 1 ) functions that the system requires. These analog voltages are then selectively fed to an A/D converter and the 2 1/2 digit BCD output is displayed by the machine. 1*5 LIST OF REFERENCES 1. Afuso , C. , "Analog Computation with Random Pulse Sequences," Department of Computer Science Report No. 255, University of Illinois, Urbana, Illinois, February 1968. 2. Esch, J. , "RASCEL - A Programmable Analog Computer Based on a Regular Array of Stochastic Computing Element Logic," Department of Computer Science Report No. 332, University of Illinois, Urbana, Illinois, June 1969. 3. Coombes, D. , "SABUMA - Safe Bundle Machine," Department of Computer Science Report No. Ul2, University of Illinois, Urbana, Illinois, August 1970. km Poppelbaum, W. J., Computer Hardware Theory, Macmillan, New York, 1972. 5. Ring, D. , "BUM - Bundle Processing Machine," Department of Computer Science Report No. 353, University of Illinois, Urbana, Illinois, October 1969. BLIOGRAPHIC DATA EET 1. Report No. uiucdcs-r-t 1 +-689 2. 3. Recipient's Accession No. Title and Subtitle BURP: A BUNDLE REPEATER AND RESTORER 5. Report Date December 197-^ 6. Author(s) Bernard Kapang Tse 8. Performing Organization Rept. No - uiucdcs-r-tU-689 Performing Organization Name and Address Department of Computer Science 10. Project/Task/Work Unit No. University of Illinois at Urbana-Champaign Urbana, Illinois 6l801 11. Contract /Grant No. N000-11+-67-A-0305-002U Sponsoring Organization Name and Address Office of Naval Research 219 South Dearborn Street 13. Type of Report & Period Covered technical Chicago, Illinois 6o6oh 14. Supplementary Notes Abstracts This thesis examines the problem of broken vires in bundles: It is shown that a ich better approximation to the original information can be obtained by connecting the ids of borken wires to an arbitrary neighbor in a so-called "Repeater." Further inves- gation leads to the conclusion that the problem of attrition in numerator/denominator indie systems (i.e. the decrease in the absolute value of active wires upon multiplica- on) can be mapped onto the broken wire problem, i.e. that a "Restorer" can be built dch is quite similar to a "Repeater." In both cases tri-state logic is used in the levant circuits. Key Words and Document Analysis. 17a. Descriptors me -Stochastic Machines .ndom Pulse Sequence .il-soft indie Representation . Identifiers /Open-Ended Terms . COSATI Field/Group Availability Statement 19. Security Class (This Report) UNCLASSIFIED 21. No. of Pages 52 unlimited distribution 20. Security Class (This Page UNCLASSIFIED 22. Price »M N TIS-35 ( 10-70) USCOMM-DC 40329-P7I * OCT 2,7 1976 ■,QUHOi m KMMM DSP MM .. . C002 no MMW«« p,ojnm mtnu.l HOR n.« 3 0112088401598 nn msu HCH ■■n A-A- ~J ■ HH ■ tfHBUjPl