BRANCHED LABYRINTH WAFER SCALE INTEGRATED CIRCUIT

Abstract: A memory system includes an integrated circuit comprising a plurality of testably interconnectable cells (12, 16) in a tessellation on a semiconducting wafer (10). A controller (14) for acting as an interface between the wafer (10) and some host system (122) is coupled to the wafer (10) via a port (14) formed by the omission of one of the cells (12, 16) from the tessellation. Each cell (12, 16) comprises plural-bit data storage registers each having an associated single-bit access register (54) and an associated single-bit control register (56). During a growth phase a state machine (58) co-operates with global signals and test data from the controller (120) to operate data-testing and inter-register (52, 54, 56) coupling logic (50) to form a branched-labyrinth of tested cells (12, 16) characterised by rapid growth and efficient incorporation of functional cells. After growth data is transferred between the chain of data storage registers (52) and the chain of access registers (54) so formed dependently upon the contents of an associated chain of control registers (56). A rapid retrieval associative memory facility is incorporated allowing named data to be withdrawn on presentation of a maskable naming word to the control register chain.

Description: B ANCHΞD LABYRINTH WAFER SCALE INTEGRATED CIRCUIT The present invention relates to an integrated circuit memory comprising a plurality of self-testing shift register.cells operabl'e in response to a controller to execute a test and connect routine to form a long chain, shift register branched labyrinth across the face of the integrated c±rcu±fc and. thereafter to store data in the long chain and to access that data via. a. secondary, parallel, fast chai - It is known to fabricate-many individual circuits on a silicon wafer- The wafer is generally of the orde of 6cm in diameter and may contain many hundreds of circuits. ' I ."is the practice, thereafter to cut the wafer to free each * individua£ " circuit, and to individually package each circuit.. Integrated circuit packaging is area and volume inefficient. The package, because of clearances required for headers and leads, is many times the area and thickness- of the individual circuit. The- larger the circuit which can be accommodated, ; ' the more efficient the packaging becomes. As a limit, the packaging becomes most efficient when the entire wafer can be acccm ccatad as a single circuit. Manuf cturing tolerances mean that only a proportion of the surface of any wafer is correctly processed during integrated circuit manufacture. Areas not correctly processed yield non-working components. The likelihood of an entire --. - f e z being fabricated as a single, working circuit is so low as to render any attempt to make such a device impractical. It is known to fabricate an integrated circuit wafer, for use as a single device, by subdividing the wafer into plural, identical elements and providing test facilities whereby each of the elements may be tested, working elements being incorporated in the operation of the wafer and non- working elements being ignored.- Such methods include common electrical connections to each of the elements, undesirable because a failure in the common structure renders the entire wafer inoperable. Also included are methods where elements test and connect to adjacent elements of the wafer 10 across boundaries there¬ between, but where the proportion of working elements which ar ignored by the test routine is unacceptably high Such whole-wa er integrated circuits are notably employed for use in data storage as memories. Typically, the individual elements contain'.shi t registers which are connected, whenever that element is tested and found to be working, as part of a long shift register configured from the tested and working elements on the wafer. Problems exist in the slowness of data deposition or acquisition in such a structure. A whole wafer integrated circuit is vulnerable to fabrication or operational faults which cause the power supply to individual elements therein to be short circuited. It is known to employ fusible links to isolate such elements and allow the others to continue functioning. The incorporation - - of fusible links introduces yet another source of possible failures, and 4 does not allow the minimisation of the power requirement of the wafer by switching off individual elements tha might not be required to" be incorporated in the operatio of the wafer. It is therefore desirable to provide an integrated circuit, suitable for use as a memory and for fabrication as a whole-wafer device, comprising a plurality of individual elements ' having the minimum of common circuitry, where the elements may be tested and incorporated into the operation of the wafer in a manner which allows for the incorporation of a high proportion of all functi-onal elements where the coupling of power to an element is selectable, and wherein data may be deposited or retrieved rapidly. According to a first aspect, the invention consists in an integrated circuit comprising: a plurality of functionally testable cells, any previously untested cell being operable in response to a common control- signal and an initiating signal -from a neighbouring cell to participate in a functional test and, .if said test is passed, to be . - functionally coupled to said neighbouring cell, and to any cell which has passed said test being capable of providing said initiating signal to a plurality of neighbouring cells, and being operable, each ' time it receives said common control signal, to select one of said neighbouring cells for provision thereto of said initiating " signal, at least one of said cells being provided with means for receiving -said initiating signal from, and functionally coupling to, an input port. According to a second aspect, the invention consists in an integrated circuit comprising, a. plurality of cells, each cell being operable, in response to a common control signal and an initiating signal from a neighbouring cell, to participate in a functional test provided it has not already done so, and, if said test is passed, to functionally couple to said neighbouring cell and in response to said common control signal to provide said initiating signal to any other neighbouring cell, at least one of said cells being provided with means for receiving said initiating signal from, and functionally coupling to, an input port. According to a third aspect, the invention consist in an integrated circuit comprising: a plurality of cells O Vi?l interconnected to receive a common control signal from an input port, wherein at least one of said cells is connected also to receive an initiating signal from said input port, and is arranged to respond to said initiating signal to participate in a functional test, wherein, if said at least '#_ one of said cells passes said test, it is coupled functionally to said input port and responds to said common control signal to select a neighbouring cell, and to supply said initiating signal to the selected neighbouring cell in order to cause said neighbouring cell to be tested and to be functionally coupled thereto if said selected neighbouring cell passes said test, and wherein each of said cells which has passed said test is capable of providing said initiating signal to a plurality of neighbouring cells and is operable each time it receives said common control signal to select one of said plurality of neighbouring cells and to provide said initiating signal thereto for causing said selected neighbouring cell to participate in said test provided said selected neighbouring cell has not previously undergone said test, and to be functionally coupled to said selected neigh¬ bouring cell if said selected neighbouring cell passes said tes S » According to a fourth aspect, the invention consist fe ' in an integrated circuit comprising a plurality of functionally intercouplable cells on a wafer wherein the supply of power to all of or a portion of each of said cells is conditional upon said cell being functionally coupled with another. According to a fifth aspect, the invention consists • g 3REA OMPI in a data storage cell comprising, a data storage shift register, a data access shift register, a control character register and a cross-over switch, wherein- said cross-ever switch- is operable, in response to a predetermined character being in said control character register, to cross-over the outputs of aid data access register and said data storage register. According to a sixth aspect, the invention consists in a data storage cell comprising a data storage shift register, a data access shift register, a control character shift register, a cross-over switch, and a. data comparator for comparing the output of said data storage register with the output of said data access register, wherein said cross-over switch is operable when initialised by a control signal, in response to said outputs being the same, and a predetermined character being in said control character register, to cross-over the outputs of said data .storage and said data access register, to maintain said crossing-over whenever said predetermined character is not in said control character register, to abandon said crossing-over if said outputs are not the same and said predetermined character is in said control character register and to maintain said abandonment until reinitialised by said control signal. In the following description and claims functional coupling is defined as coupling for the transfer of data and/or control signals. - - In a preferred embodiment an integrated circuit comprises a plurality of cells preferably on the same wafer. The cells are preferably provided with a common control signal to which each cell is operable to respond by executing a functional test, cells which have already passed the test being operable to initiate the test in any neighbouring cell in a selectable direction provided the neighbouring cell has not already undergone the. test, and to functionally link to the neighbouring cell if the neighbouring cell passes the test. The selected direction of test preferably ^rotates by fixed increments or decrements after each functional test cycle. The cells are preferably square, in which case the - direction of test preferably decrements or increments by 90 . The cells -pre erably test and interconnect to form * a branched labyrinth structure over the surface of the wafer . The testing preferably starts at an input port - - The tests are preferably conducted under instruction- from a controller, connected "at the input- port. - • • The cells are preferably identical . The cells are preferably interconnectable to form a^ -chain shift register memory looping once around the labyrinth. _%_, Each cell preferably comprises a state machine for conducting the functional test supervision . The cells % • preferably comprise a switching matrix at each boundary edge to each neighbouring cell . The matrix preferably allows that signals pass in and out of the cell when instructed in a first manner, allowssignals to loop around the cell when instructed in a second manner, and allcws a form of coupling required for testing when instructed in a third manner. The chain shift register memory preferably comprises a data storage chain in parallel with a data access chain and a control character chain, together with cross-over switches operable to cross-over the data in the data storage chain and the data access chain whenever the register in the control character chain which is associated v j th a switch contains a predetermined character. The individual registersin the data access chain and the control character chain are preferably only one bit long. The chain shift.register memory-preferably comprises a data comparison element for comparing the output of each data storage register with the output of its associated data access register and activating the cross-over switch when a data match is found and a predetermined character is in the associated control register to provide a content addressable feature. The supply of power to each cell, whether in whole o-i: in part, is preferably dependent upon whether or not that cell is functionally coupled to another- The invention is further described, by way of an example, by the following description in conjunction with the appended drawings, in which: Figure 1 shows the cells and the coupling port on the wafer . CI.5 Figure 2 shows the interconnections of the cells. Figure 3 shows the connections at the coupling port. Figure 4 shows details of the individual cells. Figures 5A to 5F show coupling modes of the switching matrices. Figure 6 shows the .intercoupling between matrices on adjacent cells. Figure 7 shows the data comparison facility on each matrix. " . Figure 8 shows a schematic of the state machine. Figures 9A to 9E show the growth of the labyrinth-. Figure 10 shows -a labyrinth at an advanced- growth stage. " . Figure 11 shows an advanced-growth labyrinth on a wafer with inoperative cells. Figure 12 shows the manner of coupling of the wafer to a host system. Figure 13 shows the" ' path of data and control characters during cell test. Figure 14 shows the test pattern path through a t * cell during a first part of the test. Figure 15 shows the test pattern path through a cell during a second part of the test. Figure 16 shows the state diagram of the state machine. Figure 17 shows the path of the serial shift O FI register memory established by the testing. Figure 18 -shows! details of the shift register chain. Figures 19A to 19C show the movement of data and control characters through the chain. Figure 20 shows a modification to make the chain into a content—addressable memory. Figure 1 shows the cells on the wafer. A full size silicon wafer 10 has fabricated thereon a plurality of square, contiguous, memory storage cells 12 in regular array arranged in a square tesselatibn. The site which should- be occupied by one of the cells 12 is left blank to make a coupling port 14. Each cell 12 is operable to test a selectable one of its bordering neighbours, with the ^.exception of the edge cells 16, which have one or more sides unbounded by a neighbour, and cannot therefore test in those directions. Figure 2 shows, in schematic form, the interconn¬ ections between cells 12 on the wafer 10. Each of the cells- "12 is coupled, along -its.:boundary . edges, with each of the four bordering cells. . There are seven connections between bordering edge . A fast in line 20 conveys rapid transit data into each cell 12. A control in line 22 conveys control characters into the cell 12. A slow in line 24 conveys slow, shift register contained stored data between cells 12. A bidirectional control line 26 is used for cells 12 to signal to neighbouring cells 12 along their boundaries during testing. A slow out line 28 conveys slow, shift register stored data " out of each cell. A control «<__- out line 30 conveys control characters out of each cell. A fast out line 32 conveys rapid transit data out of each cell 12. In addition, every cell 12 on the wafer 10 is coupled to a power line 34, for providing D.C. power to each cell 12, a clock line 36 for conveying a common clock signal to each -12- cell 12, and a function line 38 for conveying common command to each cell 12. These last three lines 34, 36, 38 are known as global lines, being common to all cells 12. For clarity these lines 34, 36, 38 are not shown connected to each cell 12, but it is to be understood that a pattern of metalisation carries and connects them to each cell 12 on- the wafer 10. Figure 3 shows the coupling port 14. One edge of the coupling port 14 is provided with pads for connecting the wafer 10 to the -outside world. These pads are connected by gold wire bonding in .the manner normal for integrated circuit manufacture, to external connections on the wafer enclosure. The pads connect to a - first cell 40 " which cannot test- in the direction of the pads just as the edge cells 16 cannot test into the void. A fast out pad 320 carries rapid transit data out of the wafer 10. A control out pad 300 conveys control characters out of the wafer_-10. A slow out pad 280 conveys slow, shift register stored data out of the wafer 10. A power in pad 340 conveys power to each ceil 12 on the wafer 10 via the power line 34. A clock input pad 360 provides an input for the common clock line 36. A command input pad 380 provides an input to the function line 38. .A command line * pad 260 allows a comm¬ and line signal to be linked to the first cell 40. A slow in pad 240 couples slow data into the wafer 10. A control in pad 220 couples control characters into the wafer 10. A fast in pad 200 couples rapid transit data into the wafer 10. f Figure 4 shows details of the individual cell 12 in the polycellular array on the wafer 10. Each cell 12 has four sides, hereinafter referred to by the points of the compass. North N, South S, East E and West W. Each of the boundaries N,E,S,W is provided with a signal switching matrix, 5ON, 50E, 5OS and 50W-respectively, hereinafter collectively referred to as 50(NESW). The matrices 50 (NESW) are interconnected by four data storage shift registers 52NE, 52ES, 52SW and 52WN respectively, the first letter suffix indicating the matrix 50.of origin and the second letter of the suffix indicating the matrix 50 of destination. The length of the shift registers 52 is immaterial to the operation of the present. invention. In the particular case of the preferred embodi¬ ment they are 360 bits long. The shift registers 52NE, 52ES, 52SW and 52WN represent the data storage capacity of the cell 12. The matrices 50(NESW) are similarly interconnected by four single bit -fast registers 54NE, 54ES , 54SW and 54WN respectively, the letter suffices having the same meaning as before. In just the same manner, four single bit control registers 56NE, 56ES, 56SW and 56WN are interconnected between the.matrices 50(NESW) with the letter suffices yet again indicating the same information. A state machine 58 controls the matrices 50(NESW) via connect signals on connect command couplings, one to each matrix 6ON, 60E, 60S and 60W respectively, and cross-over PI signals on cross-over couplings .62N, 62E, 62S and 62W respectively— The state machine 58 is responsive to and operable to provide signals on the command lines- 26N, 26E, 26S and 26W, these being the lines used to signal-between adjacent state machines 58 in the polycellular array. The power line 34 , is coupled to every element in the cell 12, via the state machine 58, the clock line 36 is coupled to every element in the cell 12, and the function line 38 is coupled to the state machine 58. Each of the matrices 50 (NESW) contains a comparison element for . bit-by-bit comparisons of incoming and outgoing data. The detection of an error in the compar¬ ison is signalled to the state machine-58 via the error cou¬ plings 64N, 64E, 64S and 64W. The state machine is responsive to the contents of the control shift registers 56NE 56ES, 56SW and 56WN and is coupled thereto via the control couplings 66NE, 66ES, 66SW and 66WN respectively. When the state machine 58 provides the connect- signal to any one of the matrices 50N, 50E, 50S or 50W that matrix couples the contents of its incoming fast register 54WN, 54NE, 54ES or 54SW respectively, into the fast out line 32N, 32E, 32S or 32W respectively and couples the contents of the incoming control register 56WN, * 56NE, 56ES or 56SW respect- ' ively into the control out line 30N, 30E, 30S or 30w respect¬ ively, couples the output of the incoming slow register 52WN, 52NE, 52ES or 52SW respectively into the slow out line 28N, 28E,28S, or 28W respectively couples the data arriving cm the slew in line 24N, 24E, 24S or 24W respectively as the input to the outgoing shift register 52NE, 52ES, 52SW or 52WN respectively couples the control bits arriving on the control in line 22N, 22E, 22S or 22W respectively to the outgoing control register 56NE, 56ES, 56SW or 56WN respectively, and couples the data arriving on the' fast in line 20N, 20E, 20S or 20W respectively as the input to the outgoing fast register 54NE, 54ES, 54SW or 54WN respectively. When the state machine 58 does not provide the connect command to one of the matrices 5ON, 50E Λ 5OS or 50W,- that matrix couples the output of the incoming slow register 52 N, 52NE, 52 ES or 52 SW respectively as the input to the outgoing slow register 52NE, 52ES, 52 SW or 52 WN • respectively, couples the output of the incoming fast register 54WN, 54NE, 54ES or 54SW respectively as the input to the outgoing fast " register 54NE, 54ES, 54SW or 54WN respectively, and couples the output of the incoming control register 56WN, 56NE, 56ES or 56SW respectively as the input to- the outgoing control register 56NE, 56ES, 56SW or 56WN respectively. * Notwithstanding the above, whenever the state machine provides the cross-over command to any one of the OMPI matrices 50N, 50E, 50S or 50W, should the state machine 58 also be providing the connect command,-that matrix 5ON, 50E, 50S or 50W changes its function from the foregoing by coupling the output of the incoming slow register 52WN, 52NE, 52ES or 52SW respectively into the fast out line 32N, 32E, 32S or 32W respectively, coupling the output of * the incoming fast register 54WN, 54NE, 54ES or 54SW respectively into the slow out line 28N, 28E, 28S or 28W respectively, coupling the data on the slow in ine 24N, 24E, 24S or 24 respectively as the input to the outgoing fast register 54NE, 54ES, 54SW or 54WN respectively, and coupling the data on the fast in line 2ON, 20E, 2OS or 20W respectively as the input to the outgoing slow register 52NE, 52ES, 52SW or 52WN, and should the state machine 58 not be providing the connect command, that matrix 5ON, 50E, 5OS or 50W changes its function by coupling the output of the incoming slow register 52WN, 52NE, 52ES or 52SW respectively as the input to the outgoing fast register 54NE, 54ES 54SW or 54WN respectively and coupling the output of the incoming fast register 54WN, 54NE, 54ES or 54SW respectively as the input to the outgoing slow register 52NE, 52ES, 52SW or 52WN respectively. The state machine 58 further provides, to the matrices 50N, 50E, 50Ξ and 50W, a test signal via the test connectors 68N, 68E, 68S and 68W respectively. Whenever a matrix 50N, 50E, 50S or 50W is in receipt of the test signal it responds by coupling the output of the incoming OMPI -1 - control register 56WN, 56NE, 56ES or 56SW respectively as the input to the outgoing control register 56NE, 56ES, 56SW or 56WN respectively and as the input to the control out line 30N, 30E, 3OS or 30W respectively, couples the output of the incoming fast register 54WN, 54NE, 54ES or 54SW respectively as the input to the outgoing fast register 54NE, 54ES, 54SW or 54WN respectively and as the input to the fast out line.32N, 32E, 32S or 32W respectively, and couples the output of the incoming slow register 52WN, 52NE, 52ES or 52SW respectively as the input to the outgoing slow register 52NE, .52ES, 52SW or 52WN respectively, and as the input to the slow out line 28N, 28E, 28S or 28W respectively, while still responding to the cross-over instruction to swap the fast and slow data whenever the state machine 58 provides the cross-over instruction. Figures 5A through 5F shew the coupling function of the .North matrix 50N in schematic form, it being understood that the other three matrices 50E, 5OS and 50W function in the same manner. Figure 5A shows the situation where the matrix 50N is in receipt of neither the cross-over instruction, the connect instruction nor the test signal. Figure 5B shows the situation where the matrix 5ON is in receipt of neither the connect instruction nor the test signal but is in receipt of the cross-over command. Figure 5C shows the situation where the matrix 50N is in receipt of the connect command. Figure 5D shows the situation where the matrix SON is in receipt of both the connect command and the cross-over command. - Figure 5E shows the situation when the matrix is in receipt of the test signal. Figure 5F shows the' situation where the matrix 50N ' is in receipt of both the test signal and the. cross-over command- Figure 6. shows, in schematic detail, the inter- coupling across the Northern edge N of the cell 12, it being understood that the intercoupling . across the three remaining . edges E,S and W is the same. A flip-flop, the CON F/F 5IN is set by the application of either the test " command or the connect command and an'establish connection signal on the connector 93. The output of CON F/F 51N is used to maintain the permanent coupling across the boundary N to the adjacent matrix 50S, consistently with Figures 5C and 5D, when either the test command or the connect command is removed by state machine 58 after determining that such a permanent connection should be established. The flip-flop 5IN is reset by a master reset signal on the connector 95. The superscript on any number or letter is indicative of the part indicated by that number or letter being a member of the adjacent cell. The fast out line 32N couples to the fast in line 20S* of the adjacent cell. The control out line 30N couples to the control in line 22S' of the adjacent cell. The. slow out line 28N couples to the slow in line 24S* of the adjacent cell. The command line of the adjacent cell. The fast out line 32S* of the adjacent cell couples to the fast in line 20N. The control out line 30S' of the adjacent cell couples to the control in line 22N. The slow out line 28S' of the adjacent cell couples to the slow in line 24N. These intercouplings allow adjacent state machines 58 to signal to one another via the command lines 26, and allow the transfer of data and control charact¬ ers between corresponding registers in adjacent cells. In a similar manner, the Eastern face E would couple to an adjacent Western face, the Southern face-S would couple to an adjacent Northern face, aLnd.the Western face W would couple to an adjacent Eastern f ' ace. Figure 7 shows the manner in which the- Northern - • matrix 50N detects and signals errors to the state machine 58, it being understood that the other three matrices 50E, 50S and 50W function in the same manner. A first exclusive or gate 72 monitors the data arriving on the incoming fast in line 20N and going to the outgoing fast out line 32N. If the two data bits so presented are not the same, an error is indicated and the first exclusive or gate 72 provides a logically true output. In the same manner, a second exclusive or gate 74 monitors the data going out on the outgoing slow out line 28N and the data arriving on the incoming slow in line 24N and provides a logically true output if the data bits so OMF delivered are not the same. The output of the first and second exclusive or gates 72 and 74 are logically combined by an or gate 76 whose output provides a logically true error indication on the error coupling 64N in the event of either data mismatch as described. Figure 8 shows, in -schematic form, the elements and intercouplings of the state machine 58. The state machine 58 comprises a logic network SO which is control and next state logic under the command of a three bit state counter 82. The state counter 82 and the logic element 80 together form a sequential logic state machine- aving eight main states designated' β to 7 inclusively and six subsidiary states 0' to 5' inclusively. A command decoder 84 receives the clock signal from the clock line 36 and the common command signal from the function line 38 and decodes them in a manner * explained below to provide a master reset signal MR, a first global signal Gl and a second global signal G2, all three used for the control of the state machine 58. A two bit direction counter 86 provides a two binary digit, steering output to a selection gate 88. The selection gate, 88, in response to the output of the counter 86 steers the common command line 90 onto a selected one of the command lines 26N, 26E, 26S or 26W, steers the common connect line 92 onto a selected one of the connect lines 60N, 60Ξ, 60S or 60W, and- steers the common test line 94 onto a selected one of the test lines 68N, 68Ξ, 68S or 68W. The direction counter 86 is incremented by a Gl signal when the state machine 58 is in state β and reset by the MR signal. A 4 bit latch 96 receives the contents of the control registers 56WN, 56NE C 56ES and 56SVf_via the control couplings 66WN, 66NE, 66 ' ES and 66 ' SW and latches them, in response to a G2 signal, to the cross-over couplings 62N, 62E, 62S and 62 respectively, the latch 96 being reset with its outputs zero by a MR signal. The logic element 80 receives and is responsive to - the error indications on the error couplings ' 64N, 64E, 64S and 64W. The logic element 80 is operable to set and reset, and respond to the states of a complete flip-flop 98, an active flip-flop 100 and a fault flip-flop 102. The selection gate 88 is also responsive to the state of the active flip-flop 100 in- determining the direction in which to steer its input signals. Power enters the state machine 58 via the power line 34. Power is permanently connected to the state machine 58. Power to all other elements in the cell 12 is regulated by a seri switch.104 - which is sensitive to excess current and'switches off power to the rest of the cell 12 via the cell power line 106 in the event of excessive consumption. The switch 104 is also operable, in response to a switch command from the logic element 80 via the switch coupling 108, to selectably remove or supply power to the cell 12. The state machine 58 responds to the global commands Gl, G2 to test adjacent cells and incorporate them into a memory system should they prove working. Starting at the coupling port 14 the first cell 40 is tested by a controller whose details are given below, and if found good, is accepted into the system and itself becomes a tester for the next cell 12. The direction of test is rotated by 90 at each stage, so that the labyrinth of connected cells developes branches. Figures . 9A to 9 illustrate the action of the interconnect method on a perfect wafer 10 having no non¬ functional cells ' thereon. The direction of test is indicated by the arrow 112 next to the labyrinth 110. -It is assumed that the interconnections to the outside world on the coupling port 14 are on its south side and that the-rotation of direction follows the order SWNE repeatedly from figure 9A to 9L. It is seen that the ' labyrinth grows at a rate which increases with size, and -all cells are incorporated. The controller 120 firstly tests in the south direction and incorporates a first cell A, as shown in figure 9A. Having incorporated the first cell A the controller 120, as shown in figure 9B, commands the first cell A to test in a westerly direction whereupon the first cell A incorporates by linking thereto, a second cell B. In figure 9C the " controller 120 commands the first and second cells A, B to test in a northerly direction. The first cell A tries to test the hole 14, but obtains no response. The second cellB picks up a third cell C. Figure 9D shows the controller 120 commanding the first, second and third cells A, B, C to test In an easterly direction. The third cell C tries to test the hole 14 but cannot do so. The second cell B is inhibited from testing the first cell A, because it has already undergone the test, but the first cell A picks up a fourth cell D. Figure 9E-.shows the controller 120 commanding all incorporated cells A, B, C, -D to test in a southerly direction. The third cell C tries to but cannot test the second cell B as the secon cell is already incorporated. The first, second and fourth cells each pick up one fifth cell E. Figure 9F shows the controller 120 commanding all of the incorporated cells A,B, C, D, E to test the adjacent cell in the westerly direction. The first, fourth and two of the fifth cells A, D and E are unable to pick up an adjacent cell as the- cell adjacent theret is already incorporated, * but the second cell B, the third cell C and one of the fifth cells E each manage to pick up sixth cells F. Figure 9G shows all Incorporated cells testing in a northerly direction and all cells free to do so picking up three sixth cells G. In figures 9H to 9L all cells thus far incorporated at each stage test firstly in an..easterly directio then in a southerly, westerly, northerly and again in an easter direction respectively^ incorporating seventh cells H, then eight cells J, ninth cells K, tenth cells L and eleventh cells M wherever the cell adjacent to another is free ' to be incorporated. This process may be continued until the entire wafer 10 is used up. Cells 16 at the edge of the tessellation obviously cannot link other than into the tessellation. Figure 10 shows the labyrinth growth of figure 9A to 9K taken to a total of 20 stages. The pattern of inter¬ connection so obtained is apparent. Figure 11 shows the result of a 20 stage growth OMPI -24 - cycle, executed In the same manner as the growth cycle of figure 10, but-on a wafer with defective cells which are rejected for incorporation and indicated by crosses. It is seen that all good cells around the defective ' cells are incorporated- That is not to say that patterns of defective cells- do not exist which prohibit the incorporation of some working cells, but in general a very high percentage of working cells will be picked up. The .command decoder 84 generates the global signal.::- Gl, G2 and the master reset MR signal from the clock signal OM and the function signal in the manner indicated by table 1 below. It is to be appreciated that the clock signal is a 50% mark to space ratio repetitive clock of fixed period. The decoder 84 operates on the clock signal by means of gates and binary dividers to generate two separate 2-phase clock signals, Cl and C2 each of which comprises every alternate logically true portion of the clock signal, in a manner- well known in the art. Such division leaves an indeterminacy as to which of the Cl and C2 signals occurs first. A method is therefore provided-.to recr&ify- this deficiency,'- as shown in Table 1. logically true 0 logically false FUNCTION CLOCK RESPONSE 0 0 No action 0 1 No action 1 1 * If function went true immediately prior to Cl go true; then this indicates Gl. Ififunction went true immediately prior to C2 going true, then this indicates G2. . 1 0 MASTER RESET (MR) . ' To synchronise clock, take first clock after this to be C2. TABLE 1 The state counter 82 operates in a simple Gray code. If the outputs of the counter 82 are indicated by Al, A2 and A3, then the counter operates as indicated in table 2 below. - - 26 - M A3 STATE o o o o 0 0 1 1 O i l 2 0 1 O ' 3 1 1 0 4 1 1 1 ' 5 1 O 1 - 6 1 O O 7 . TABLE 2 The direction counter 86 operates in the manner indicated by table 3 below.. When ACTIVE lOO is- set the particular ceil is a tester and the test coupling 68 is activated in the appropriate direction. Otherwise, with.ACTIVE lOO reset, the.cell is subject * to testing and connect coupling ' 60 is activated. COUNT ACTIVE ACTIVE 00 SOOTH NORTH 01 WEST EAST 11 NORTH SOUTH 10 EAST WEST TABLE 3 Figure Iw shows the manner of connection of the wafer 10 when employed as a memory. The wafer lO is coupled, via the pads of figure 3 on the coupling port 14, to a controller 120. The controller 120 is operable to execute a test and grown sequence of commands to the wafer lO and thereafter to supervise the deposition and retreival of data in the now established and tested memory. The controller 120 is mutually coupled to a host system, such as a data processor 122. The controller 120 provides- indication to the host 122 when the memory has been tested and established enabling the host 122 to commence to use.it. The size of the memory to be established is either defined by the host 122 signalling to the controller 120, or is a predetermined feature of the controller 120. During the growth phase, the controller 120 issues the operational signals * he first Global signal,- hereinafter referred to as Gl, the second Global signal, hereinafter referred o as G2 and the Master reset signal, hereinafter .. referred to as MR to. the wafer 10., ceded on clock and function lines and between issuing signals runs in test patterns of fast data, slow data and contr characters to test the overall memory loop for errors and in particular to test those cells 12 which are first being coupled into the overall circuit. The checking for errors takes place partly within the controller 120 and partly within the cells 12 themselves. As far as the coupling port 14 is concerned, the controller 120 looks and behaves just like a cell 12 already incorporated into the circuit. The controller, when testing the first cell 40, behaves just as the first cell 40 behaves when testing a following cell 12, after the first cell 40 has been incorporated into the circuit. During the growth phase, cells are distinguished by the state of the ACTIVE flip-flop 100, those cells 12 where it is set being tester cells and cells 12 where it is -28- not set and adjacent in the direction of test to a tester cell being subject cells. The controller 120 first issue the master reset- signal MR to all cells 12 on the wafer, so resetting all counters and latches and putting the state machine 58 into state β. This master reset (χlR) -is used only when testing the first cell 40, -the state machine usually being set into state β by a Gl signal being applied when it is in state 7, as described below. The controller 120 then issues, with the state machine in stat β r a Gl signal, which has the effect of incrementing the direction counter 86 and setting the state machine 58 into state 1. The Gl signal ±s gated by the state machine 58 such ' that it reaches the direction counter 86 only when the - state machine 58 ' is in state β. The gated Gl signal is called the ROTATE signal. The effect of incrementing the direction counter is to swing the direction of test by ninety degree . Figure 13 shows the effect, in schematic form, of the action taken by the controller 120 while the state machine 58 is in state 1. When in state 1 all tester cells 130 place the test signal on the test coupling 68N, 68Ξ, 68S or 63W in the direction of test, and the signal on their command lines 26N, 26Ξ, 26W or 26S, in the direction of test. The subject cells 132 may now be filled with data and control characters which they are not able to pass back into the tester cells 130. The controller 120 runs all ones into the control in pad 220, and knows when all of the subject cells 132 and the tester cells 130 are full when the all ones pattern re¬ appears at the control out pad 300. Receipt of the command signal by the subject cell' 132 causes its logic element 80 to switch on power to the registers and matrices 52, 1 54, 56, 50 via the switch 104. The controller then issues a G2 signal to all of the cells 12, which has the effect of coupling all of the contents of control registers 56W ,56NE,56ES and 56S already filled with all ones, to the cross-over connections 62N,62E,62S and 62W respectively, and so setting all of the matrices 50N,5QE,50S and 50W into the cross-over mode- Figure 14 shows the situation achieved, in terms of fast and slow register 52,54 interconnection, by this last operation.. Every cell 12 is in the-condition indicated, whether it be a tester or a " subject. The one bit long fast registers 54, hereinafter described without their former suffix, and the slow registers 52, .hereinafter also described without their suffix, form two chains passing between the slow in SI line from the incoming matrix to the slow out line SO back to the incoming matrix, and between the fast in line FI from the incoming matrix to the fast out line FO back to the incoming matrix. If the slow registers are n bits long, then the total length of each path is 2n÷2 bits. The controller 120 then administers identical patterns to the fast In pad 200 and to the slow in pad 240, the patterns consisting of pseudo-random sequences each.2nτ2 bits long so that the signal at SI is the same as the signal at SO and the signal at FI is the same as the signal at FO. The controller 120 does this until it sees the patterns returning and knows that it has filled the fast 54 and slow 52 registers. -31 - Each state machine 58 watches the output of the input matrix error line 64N,64S,64E or 64W. It takes at least 2n+2 clock cycles before any match on any cell can be obtained. The error line 64N,64S,.64E or 64W, hereinafter referred tb without its suffix as 64, must show an initi'al fault indication, in response to which the logic element should set the fault flip-flop 102. If the fault flip-flop 102 is not set, the cell 12 is incapable of detecting errors and is therefore inhibited from passing into state 2 of the state machine 58 as it is incapable of testing neighbouring cells. The cell is frozen in state 1, in which frozen state the logic element 80 commands the switch 104 to remove power from the registers. - ' .I i AlJ - cells, both testers and subjects change to the next state on receipt of the appropriate global signals, provided no error condition has occurred during the present state else subjects then freeze. The same fast and slow inputs and outputs are monitored by the error detection circuits in both tester and subject, if an error is indicated in a tester cell where ACTIVE 100 -is set, then FAULT 102 will be set but the cell will neither freeze nor power down. If an error is indicated in a subject cell where ACTIVE 10O is reset,, that cell will freeze and power down. OΪ.ΪFI -32- If, after the controller 120 has filled the registers 54,52 the fault flip-flop 102 Is set, and there is no output on the error line 64, the subject cell 132 is allowed to pass to further tests. If the fault flip-flop 102is not.set,the subject cell 132 is incapable of acting as a tester and is therefore.of no .further use. - After filling the fast registers 54 and the slow registers 52 with he 2n+2 bit long pattern.The controller 120 issues a Gl signal which has the effect of sending all subject cells 132 where the fault flip-flop 102 is set into state 2 and powering down and freezing in state 1 all subject cells where the fault flip-flop 102 is not set. The act of passing into state 2 resets the fault flip-flop 102 In state 2 the data integrity of the registers 52,54'. and cross-over switching .function of the matrices50 is tested. The controller 120 keeps the 2n+ 2 bit long data pattern, circulating all the time. At least one data pattern- is allowed to pass through each subject cell 132. The controller 120 then runs in a pattern of alternate Is and 0s into the control register 56 and strobes the G2 signal to latch the matrices 50 into the connection configuration shown in figure 15, the paths still being 2n+2 bits long. This,action, since it maintains the paths at the same length, does not introduce an indication of error. Having allowed at .least one 2n+ 2 bit .long data pattern to pass through each subject cell 132, the controller then runs in a pattern of alternate 0s and Is into the control registers 56 and issues another G2 signal to flip the connections of figure 15, i.e. cross-over where straight through previously and vice versa, still maintaining a path length of 2N+2' bits and therefore not inducing an indication of error. Having allowed at least one complete data pattern to pass through each subject cell 132, the controller runs all zeros into the control registers 56 and issues a Gl signal, which has the effect of sending all subject cells where there has not been an error, i.e. where the fault flip-flop 102 is not set, into state 3, and powering down and freezing in state 2 any subject cell 132 where there has been an error,i.e. the fault flip-flop is set, on the grounds that there is a fault in the cross-over function of the matrices 50, the registers 52,54 or both. OMPI . In -state 3 the error line 64 is disabled by logic element 80 from setting fault F/F 102, and the complete flip-flop 98 is tested. " The controller 120 issues a G2 command which latches the zeros of the control registers 56 to- the matrices 50 and has the effect of setting the complete flip-flop 98 whose output is ignored by virtue of the state machine 58 being in state 3. The flip-flops 98,100 should initially have been reset by the Master reset signal MR. The function of the complete flip-flop 98,. is to inhibit all further testing and labyrinth growth (when set other than in state 3) . The function of the Active F/F 100 ± s to make a good tested (subject) chip into a tester, in which condition it continues to test its neighbours until Complete is set. When Active is set, the chip does not respond to testing and connection signals. It is only necessary to test the complete flip-flop 98, since a failure of the active flip-flop 100 to reset on MR ensures that no testing will have taken place in the subject cell 132. In state 3 the controller, having set all of the matrices 50 into the straight through mode, so that the path length between the slow incoming line SI and the slow outgoing line SO is 4N bits long and the path length between the fast incoming line FI and the fast outgoing line FO is 4 bits long, runs 4 bit repeating patterns into the fast in pad 200 and 4N bit long repeating patterns into the slow in pad 240 until it knows that the registers 52,54 are full by the reappearance of the 4N bit long patterns on the slow out pad 280. The controller then issues a Gl signal which has the effect of sending all subject cells 132 where the compleJ^ Q ^g flip-flop 98 is set into state 4 and freezing, and powering down any subject cells 132 where the complete flip-flop 98 is not set. The act of entering state 4 causes the complete flip-flop 98 to be reset and the error line 64 is enabled to set fault F/F 102. The controller 120 keeps the wafer 10 in state 4 until a complete data pattern of 4N bits has passed through the slow registers 52. The controller 120 then applies a Gl signal which has the effect of ' sending all subject cells 132 which have not experienced a fault, i.e..v±ieein the fault flip-flop.102 is no.t set, into state 5, and freezing and powering-down all subject cells 132 where the fault flip-flop is set. In state 5 if the fault flip-flop 102 in a tester cell is reset such tester cells 130 continue to signal on their command lines 26 in the direction of the subject cells 132. The subject cells respond thereto by setting the CON F/F 51 in the appropriate direction selected by the connect command and the establish signal on connector 93. The controller next issues a further Gl signal which has the effect of sending all newly tested cells into state 6 provided that the CON flip-flop 51 is set. If the CON flip-flop is not set the newly tested cell is frozen in state 5 and is powered down. In state 6 tester cells 130 drop the signal on their command lines 26 and the newly tested subject cells 132 raise a signal on their command lines 26 in the direction of the tester cells 130. - The controller 120 then applies the Gl signal to take all cells into state 7. In response to this, the tester cells 130 apply the establish signal on connector 93 which, in conjunction with the test command signal 68 sets the CON F/F 51 in the direction towards the subject cells 132 to confirm the connection established in the subject cells in state 5, provided that the Fault F/F's 1O2 in the tester cells are not set, and also provided that the said subject cells have raised the required signal on their command lines 26 in state 6. In state 7 those fully tested subject- cells 132, having the CON F/F 51 set, now set the Active F/F lOO becoming in turn tester cells 130 ready for the next cycle of growth. All cells drop all signals on command lines 26 in state 7 and the controller 120 sends data into the slow registers 52 and waits for its return to measure the length of the memory achieved at the end of each growth phase. If in state 6 the subject does not raise the command signal (becuase CON is not set or some other fault) the tester will not establish a connection in state 7 and the subject will be ignored (although powered up) . Also in state 7 the tester may fail to set its CON F/F for some reason. Neither of these faults will affect the established labyrinth - the worst that can happen is that the (disconnected) subject becomes ACTIVE and starts to build its own separate labyrinth - this just wastes memory. The controller 120 then applies yet" another Gl signal to send the state machine 58 back to state 0. The controller 120 makes the decision if further growth is required. If further growth is required, a Gl signal is applied to the wafer 10 and it continues on a new cycle in the growth phase. If no further growth is required, the controller 120 sets the complete flip-flop 98 in every single cell 12 on the wafer 10, and thus inhibits all • further, testing and growth, by sending a G2 signal while state machines 58 are in state 0. The controller 120 then signals to the host 122 that the memory that has been established is adequate and changes to an operational mode for servicing the data access of the memory in response to host commands. -Xt may be that the controller 120 has been unable to find a large enough memory space to satisfy the needs of the host 122. In this case the controller 120 may scrap the established memory by issuing the master reset MR signal and starting again from another edge of coupling port 14. Repeated failure will result in shutdown. The operation of the state machine 58 is shown and further described by the state diagram of figure 16. The transitions of the state machine 58 when in a subject cell 132 are indicated by solid line, and when in a tester cell 130 are shown by dotted line. Table 4 given hereinafter lists and explains the symbols used in figure 16. Eight main states 0 to 7 are shown, corresponding to the three bit count of the state counter 82. Five default states 1* to 5* are entered - and maintained in the event of a functional test being failed in any of main states 1 to 5 respectively. The termination of growth state 0' is entered from state 0 by the controller 120 issuing a G2 signal Instead of a Gl signal, whereafter the incorporated cells 12 are used as a data store for the ' host 122. Table 5 summarises the actions of the state machine 58 in a subject cell 132 as the state machine 58 moves between the states ilndicated in. figure 16. Table 6 summarises the actions of the state machine 58 in a subject cell 132 in each of the states of figure 16. Table 7 summarises the actions of the state machine 5"8 in a tester cell 130 as the state machine moves between the states allowed to it in figure 16, and table 8 summarises its actions when in those states. Table 9 summarises the actions of the controller 120 taken when the state machine 58 is in each state to test the data transfer properties of each cell 12 and to cycle the state machine 58 between states.. The controller 120 has no direct feedback indicative of the state that any of the statemachines 53 are in, but assumes that the state machines 58 respond- to its sequence of input signals Gl, G2, MR. OMPI -39- TABLE 4 DEFINITIONS OF. SYMBOLS USED IN FIGURE 16 Gl = First Global Signal G2 = Second Global Signal E An error has been detected by the checking. logic in the Matrix 50, and the fault flip flop 102 is therefore set. E = No error has been detected by the checking logic in the Matrix 50 and the fault flip flop 102 is therefore not set. MR Master Reset signal • C Complete flip flop 98 is set C Complete flip flop 98 is not set N CON flip flop. 51' Is set N CON flip flop 51 is not set TABLE 5 ACTIONS OF THE STATE MACHINE 58 IN SUBJECT CELL 132 IN TRANSITIONS BETWEEN STATES RANSITION ACTION to 1 Increment Direction Counter 86 to 2 Reset Fault flip flop 102 to 3 Set complete flip flop 98 to 4 Reset complete flip flop 98 to 5 NIL to 6 NIL to 7 NIL to 0 NIL to 1 ' NIL to 2* NIL ι«ι β --" * ~- ~ f S.'i~ rS ψ" -40- TRANSITION ACTION 3 to 3' NIL 4 to 4' NIL ANY to 0 (MR) Reset all counters -and flip flops Remove power from registers etc. TABLE 6 ACTIONS OF THE STATE MACHINE 58 IN SUBJECT CELL 132 IN EACH STATE STATE ACTION 0 NIL 1 Switch on power to registers and matrices when- signal received from tester on command line 26. Set fault flip flop 102 if data error detected. Raise signal cn connect coupling 6 2 Set f ault flip flop 102 if data error detected Inhibit setting of fault flip-flop 102 Set fault flip flop 102 if data error detected Set OCH FF 51 6 Raise command line 26 to tester Set active flip-flop 100 Drop command line to tester ' Remove power from registers etc. freeze ' Remove power from registers etc. freeze * Remove power from registers etc. freeze ' Remove power from registers etc. freeze ' i.Remove power from registers etc. freeze 0' Not applicable, this state never entered by subject cell £_ -E OMP -41- TABLE 7 ACTIONS OF THE STATE MACHINE 58 IN A TESTER CELL 130 IN TRANSITIONS BETWEEN ITS ALLOWED STATES TRANSITION ACTION 0 to 1 Increment direction counter 86 1 to 2 Reset fault flip-flop 102 .NO ACTION ANY "to 0 (* Reset all counters and flip flops TABLE 8 ACTIONS OF THE STATE MACHINE 58 IN A TESTER CELL 130 IN EACH OF ITS ALLOWED -STATES STATE ACTION 0 NIL 1 Apply test signal on test couplings 68 Raise signal on command line 26 Set fault flip-flop 102 if data error detected Inhibit setting of fault flip-flop 102 Set fault flip-flop 102 if data error detected NIL Drop command signal on command line 26 Set CON F/F 51 * to 5 Not applicable, these states never entered ' Set complete flip-flop 93 TABLE 9 .ACTIONS OF CONTROLLER 120 WHEN THE STATE MACHINE 58 IS IN EACH STATE STATE ACTION 0 Issue Gl signal if growth is to continue, otherwise issue G2 signal to terminate growt 1 Fill control registers 56 with all l's then issue G2 signal., thereafter fill data registe with 2n + 2 hit long patterns. Lastly issue Gl signal. 2 Reep data pattern of state 1 circulating all the time. Allow one full pattern to pass, the run alternate O's an 'l's into control registers and issue G2 signal. Allow one further pattern to pass then run alternate l's and O's into control registers and issue G2 signal. Thereafter, run all O's intocontr registers- and issue Gl signal. 3 - Issue G2 signal. Run 4n bit long pattern into slow registers and 4 bit long pattern into fast registers. Issue Gl signal. 4 Allow passage of at least 4-n bits into and out of slow registers. Issue Gl signal. 5 " ' Issue Gl signal 6 Issue Gl signal 7 Send data pattern around slow registers to measure length of memory achieved, then issue Gl signal. 0' Act as interface to host. (N.B.) the states 1' to 5' are not relevant to the actions of the controller 120 as they are entered autonomously by subject cells under fault conditions, such states never being apparent to controller 120. The invention has so far been described with reference to having connections to the controller 120 on bne edge only of the coupling port 14- It is advantageous to employ connections to two,three or four edges on the coupling port 14 so that the controller 120, when faced with - - 3- a failure to establish a sufficiently large memory, may try again by starting at an alternative face. Figure 1? shows the layout, in ' physical terms, of the memory established by the controller 120, when the memory is finalised in a state corresponding to the growth point indicated in figure SF. The data path 138 wends a labyrinthine route between the cells 12 starting at and ending at the coupling port 1 . The same is true no matter what the size of the established memory. The data path 138 comprises a fast data path consisting of the fast registers 54 connected in series, a slow data path consisting of the slow shift registers 52 connected in series, and a control path, consisting of the control registers 56 connected in series, all three paths running in parallel and all series connectionsbeing established through the matrices 50. It is to be noted that the path 138, topologically speaking,• may be represented as a single loop. Figure 18 shows a portion of the data path 138 stretched out into the topologically equivalent straight line. the chain of fast registers FA, FB, FC, FD are the one bit long fast shift registers 54WN, 54NΞ, 54ΞS, 54SW of figure 4, cut, as will be appreciated from figure 17, the actual coupling need « f ee b-e ia any particular order. Ihε chain or slew registers SA, £3, SC, SO , are the N-bit long shift registers 52WN , 52NE , 52ΞS and 52SW of figure 4 . Once again, they need not be in " any particular order and sequential members in the chain may be OIvIP on adjacent cells 12. The chain of 1 bit long control shift registers CA, CB , CC and CD are the control registers 56WN, 56NE, 56ES and 56S of figure 4 . Yet again, they need not be in any particular order and sequential members of the chain may be in adj acent cells 12. The cross-over matrices MA, MB, MC and MD are part of the switching matrices 50N, 50E , 5 OS and 50W and they too are subj ect to the same indeterminacy of order. The latches LA, LB, LC and LD are individual el ements in the 4 bit latch 96 of figure - 8 and are operable, in response to the second global signal- G2, to latch the state of the control registers CA, CB, CC and CD to the matrices MA, MB , MC and MD, which respond to a latched logical 1 signal by going into the cross-over mode and In response to a latched logical 0 signal - go into the straight through mode. The individual registers are physically associated, -with the elements FA, SA, MA, LA, and CA being in the same quadrant of the same cell 12, EB,. • S3, K5 r -- XBL and CB being similarly associated, as are FD, SD , MD , LD and ' CD and . FC > " SC,. MC, LC~and CC . Figure 19A shows the addressing of a record in the chain 138. The slow registers SA , SB, SC and SD are shown as containing between them, all of four data records Rl , R2 , R3 and R4 and part of a fifth data record R5 " . The records Rl , R2 , R3 , R4 and * R5 are each 1 bit shorter than the s low registers " SA, SB , SC and SD. The first register SA contains all of the first record Rl and one bit of the second record R2. The second slow register S2 contains all but one bit OM of the second record R2 and two bits of the third record.R3. The third slow register SC contains all but 2 bits of the th j record R2 and three bits of the fourth record R3. The fourth slow register SD contains all but 3 bits of the fourtl record R4, and four bits of the fifth record R5. This one- bit-at-a—time overspill continues up the chain 138. In general, if the slow registers SA, ' SB, SC, SD are each N bits long, it will take a maximum of N clock cycles to bring any particular record into a position to be accessed. In this example,-, the first record Rl is to be accessed. The controller 120 has been filling the control line with zeros prior to the first record Rl reaching the first matrix MA. All of the matrices MA, MB,.MC and MD are in the straight ' through position'. Figure 19E shows the situation at the next clock pulse; The controller 120 has previously calculated the number of clock pulses required before the first record Rl reaches the end of a slow register SA, SB, SC or SD and has, at the appropriate moment, fed a"! 1 'into the control register chain such that it reaches the control register, in this case the first control register CA, at the same ' time as the beginning of the first record Rl reaches the output of the corresponding slow register SA. The controller 120 has been keeping track of all of the records by clock pulse counting as they shift along the chain 138, and feeding the records back into the beginning of the chain 138 as they fall out of the end of the chain 138 at the coupling port 14. The controller 120 selects, as the slow register from which to access a particular record, that slow register, in this example the first slow register SA, the output of which the particular record, in this case the first record Rl, will reach in the minimum number of clock pulses. .The controller 120 has, at the same time that it started sending the 1 into the control registers chain, started sending a serial bit representation of a replacement record Rl* into the chain of fast registers such that the first bit of the replace¬ ment record R1-' reaches the first,fast register FA at the same instant that the 1 reaches the first control register CA and the beginning of the first record Rl reaches the output of the first slow register SA. A succeeding record, RO, has begun -:o enter the first slow register SA. All records Rl, R2, R3, 14, R5, RO have moved us cneM lace. The controller 120, laving positioned the first record Rl at the output of the first slow register SA, the 1 on the control- register Cl and -he first bit of the replacement record Rl' on the first fast egister FI, then applies a second global signal G2 which as the effect of latching a zero into- all matrices save the irst matrix MA, which, being in receipt of a latched 1, hanσes to the cross-over mode. .In the cross-over mode, the first matrix MA sends he first record Rl into the second fast register FB and the utput of the first fast register FA into the second slow egister SB. The first record Rl is thus sent, one bit for every successive clock pulse, into the fast chain, and thereon, at speed, to the coupling port 14 , where it is extracted by the controller 120 for transmission to the host 122 if required, and the replacement record Rl' is sen -into the slow chain in place of the first record Rl. Figure 19C shows the situation N clock pulses after the commencement of access. The controller 120 has counted clock pulses and, N-l clock pulses after the commencement of the data exchange, that is, just after the last bit of the first record Rl has passed out of "the first slow register SA, has issued another second global signal G2. Since the control chain is- filled with zeros the first latch LA latches a zero to the first matrix MA which is thereby set back into the straight through mode. The last bit of record Rl is then in fast register FB, the next-to-last bit in fast register FC, etc. This completes the deposition and retrieval process for the first record Rl. The controller 120 uses the same technique when accessing any other record. It will be apparent that this simple method is inadequate to deal with the situation where the 1 in the control chain is still in the control chain when the end-of- record second global signal G2 is sent. It will be apparent that simple data replacement techniques and various » αanipulations of the control character on the control chain nay overcome this problem. It is also possible to arrange :hat the number of bits in a record, N-l, is more than -he maximum number of registers SA, SB, SC, SD etc. permissible in the chain 133 , and to arrange that the controller 120 does not access a further , record until it sees the 1 on the control chain returning to the coupling port 14 . It will also be apparent that the controller 120, by manipulating the start-of -record and the end-of— record global signal G2, in conjunction with appropriate bit patterns in -the control register chain, may read in and out an indefinitely and selectably long string of data, being many records , portions of records, and even portions contained within a record. Figure 20 shows how, by the . ddition of a data comparison facility between the ast and slow chains o figure 18, the memory is made both randan access and oαntent addressable. With all cells 12- in state 0 * (COMPLETE 98 set) global signal G2 is used, in conj unction with l 's on the control register chain , to set switches "50- to cross-over node. In state 0 ' , global signal Gl can be used to place all cells in content addressable mode (state 0" ) in which state suitable signals on the control line can be used to set switches to cross-over mode when appropriate. Global signal Gl is used ' to return all cells to state 0 ' (random access) from state ' 0 " when required. he state machines 53X, 5SY in " two consecutive ns∑rbers of the chain. 133 are rectified over those previously described to generate an enabling signal in res cnsa to the first glcbal signal Gl- Cαrparisαi gates 150X, 150Y compare the contents of the fast register 54X, 54Y with the first bit in the slow register 52X, 52Y. The comparison gate 150X, 150Y gives a logically true signal at its outout if there is a difference between its inouts . The output of the comparison gate 150X, 150Y is coupled as a conditional reset input to a data selection flip-flop 152X, 152Y. The data selection flip-flop 152X, 152Y is also responsive to the initiating signal from the state machine 58X, 58Y on' the initiating coupling 156X, 156Y and the enabling signal from the state machine 58X, 58Y on the enabling coupling 154X, 154Y. The flip-flop 152X, 152Y is set by the initiating signal from the state machine 58X, 58Y becoming logically true, and is reset whenever the enabling signal from the state machine 58X, 58Y is logically true and the comparison gate 150X, 150Y sees a data mis¬ match. The flip-flop 152X-, " 152Y stays- reset or set despite data mismatches if the enabling signal becomes false. On entering the content-addressable state (after Gl signal) flip-flop 152 is reset and the state ' machine 58 is responsive to pairs of bits on the control ' line i.e- the bit currently in register 56 and the immediately following bit (seen as the input 56) . When 56 contains a '1' and the following bit is *0', initiating line 156 is raised to set flip-flop 152 (and dropped on the following clock cycle) and enabling line 154 is also raised to enable data/key comparison to be made by gate 150. A subsequent '10* bit pattern on. he control line will reset the enabling line 154, disabling data comparisons so that mismatches have no effect on flip-flop 152. Data comparison is again enabled by another '10' bit pattern, so providing a masking function. At any time subsequent to the first, 0MPI initiating '10' pattern, a 'll* bit pattern on the control line will cause the st.ate. machine 58 to.-set the matrix 50 to the cross-over mode -if, and only if, the flip-flop 152 is set. The timing of the '11* bi -pattern by the controller 120 is such that the desired matched record, or part ϋϊerεάf,-is correctly provided as output onto the fast line 54. A subsequent l ll' pattern returns all matrices 50 to straight-through mode and resets all flip-flops 152 ready for another comparison sequence. The data records RA, RB, RC, RD as shown in Figure 20 are still one bit shorter than the slow registers 52X, 52Y. " - - The controller 120 runs a literal, a serial data word, which is to be matched against the data in the slow registers 52X, 52Y and so on, as a key match, Into the fast line in synchronism with a mask sequence of pairs of Is and 0s into the control line. Whenever a 10 pair reaches the control register 56X, 56Y the data comparison is alternately enabled and disabled. To illustrate access by content addressing, figure 20 shows the first bit of record RA entering slow register 52X, record KBoccupying the remainder of slow register 52X, and slow register 52Y containing record RC and the last bit of record RD. The literal, or key, to be matched against the data records is input to the fast registers, with its first bit in register 54X currently being compared with the first bit of record RA. -The control _ £7 OMPI register 56X contains a '1' with the following bit (the .input to 56X) being a '0', causing flip-flop 152X to be 'set by initiating signal 156X and enabled by line 154X. If the key and record comparison shows a match (logically false output from gate 150X) flip-flop 152X remains set. A the next clock cycle the second bit of record RA enters slow register 52X and the first bit of record RB enters slow register 52Y. The first bit of the comparison literal moves-on to fast, register 54Y and is compared with the first bit of record RB via gate 150Y. Flip-flop 152Y is set and enabled by the *1' now- in control register 56Y and the '0' in control register 56X. If there is a mismatch between the literal and RB, flip-flop 152Y will be reset, otherwise it will remain set. Within this same clock period the second bit of the literal in fast register 54X is compared with the second bit of record RA and flip- flop 152X either remains set if the bits match, or is reset by a mismatch. The comparison process can be disabled at any time by the propagation of a '10' bit pair along the control line, and subsequently re-enabled by another '10' bit pair, allowing selected fields of the comparison literal to be masked. During subsequent clock periods the data records and the comparison literal continue to move along the slow and fast lines, respectively, with the result that the literal is compared bit-by-bit with each and every data record (subject to any required masking) in the time taken for the literal to completely traverse the length of the OM fast line. When the comparison process is complete i.e. when the last bit of the literal has been matched against the last bit of record RA, the latter having just entered slow register 52X, the bit pair 'll 1 is placed on the control line, control register 56X containing- a '!' and having its input also a'l'. If flip-flop 152X is still set, Indicating that record RA matched the non-masked parts of the literal, this control command causes state machine 58X to set matrix 50X to cross-over mode at the next clock cycle. At this time the first bit of record RA irea ' ches the end of slow register 52X and record RA is subsequently output to the fast line. Whether record RA matched the literal or not, the '11' bit pair propagates along the control line ready to set a matrix to cross-over mode wherever a data match is indicated and synchronised to the arrival of the first bit of the matched record at the end of the appropriate slow register. Assuming that record RA matched and is output, when the last bit of RA is transferred to the fast line another '11' bit pair on the control line resets all flip-flops 152 uncondition¬ ally, ready for another comparison and data output sequence. When several data records in the slow registers 52 match the comparison literal so that several flip- flops 152 are set, the '11' control command will cause several matrices 50 to be set along data path 138 in the ' OMP ι -53- appropriate clock cycles. The overall result is that the matched record furthest along data path 138 is output from the end of the fast.line, and the record next furthest along data path 138 moves along the fast, line then back on to the slow line to take the place of the output record. Other matched records move similarly to advance their positions along the slow line. Repeating th comparison process with the same literal will output the set of 'matched*records one by one. .0 It will be apparent to those skilled in the art that the cells 12 need not necessarily be square. The cells may be of any shape f which provides a tesselation and provided with coupling on every edge. It will also be apparent that the cells 12 may be adapted to comprise •5 data processing elements of any kind. When the cells are used as a memory, many wafers 10 may be provided accessed together to provide a parallel data word memory. There .- can be more than one coupling port 1 . The wafer 10 may have coupling means provided at its edges. The 0 state machine 58, which normally receives power ' at all times, may have its power supply made conditional upon the raising of the signal on the command line 26, by an adjacent tester cell 130. Many data chains 138 may be provided on one wafer 10 by growth from more than one port 14 or edge coupling means. A wafer may be divided into several, mutually exclusive areas of cells 12, each area accessed from its own port 14.

Claims: CLAIMS: 1. An integrated circuit comprising; a plurality of functionally testable cells, any previously untested cell being operable in response to a common control signal and an initiating signal from a neighbouring cell to participate in a functional test and, if said test is passed, to be functionally coupled to said neighbouring cell, any cell which has passed said test being capable of providing said initiating signal to a plurality of neighbouring cells, and being operable, each time it receives said common control signal, to select one of said neighbouring cells for provision thereto of said initiating signal, at least one of said cells being provided with means for receiving said initiating signal from, and functionally coupling to, an input port. 2. An integrated circuit according to claim 1 wherein each of said cells comprises a plurality of data processing elements and coupling logic operable- in response to coupling commands to provide data coupling between selectable ones of said plurality of data processing elements within each cell or to provide, in co-operation with coupling logic in selectable neighbouring cells . , data coupling between selectable ones of the plurality of data processing elements in _ OMPI each cell and selected ones of the corresponding plurality of data processing elements in said selectable neighbouring cells. 3. An integrated circuit according to claim 2 comprising a state machine operable in response to said common control signal to provide said coupling commands to said coupling logic, to monitor said data passing in and out of data processing elements, and, in response to the results of said monitoring, to provide indication as to whether or not its associated cell has passed said functional test. 4. An integrated circuit according to cla 3 wherein each cell comprises', a power switch, operable in response to -said initiating signal to supply power to at least part of the cell, and operable in response to said state machine indicating that the cells has failed said functional test, to remove said power from said at least part of the cell. 5. An integrated circuit- according to claim 4 wherein each. of said plurality of data processing element comprises; a plural bit data storage serial-in serial-out -shift register, an associated, parallel access register for receiving data from and transferring data to said OM data storage register, and an associated control register for holding a control character for govorning the transfer of data between said data storage register and said access register, said coupling logic comprising cross-over switch means responsive to said character in said control register for. effecting said transfer between said data storage and said access register. 6. An integrated circuit according to claim 5 wherein said state machine comprises direction counting means incrementable in response to each receipt of said common control signal to select each neighbouring cell in turn for the thereto of said initiating signal . 7. An "integrated circuit according to claim 6 wherein each of said plurality of data processing elements further comprises; cross-over switch control means comprising a latch and a data comparator, , - said data comparator comparing, bit-by-bit, the output of said data storage register and the output of said data access register and providing an output indicative of a match whenever they are the same, said latch being settabl-e whenever a predetermined character is in said control register, said comparator provides " said output indicative of a match and a second common control signal -is provided to said latch, said cross-over switch means being operable in response to said latch being set, and said latch being reset and said cross-over switch means being disabled whenever said predetermined character is in said control register and said comparator does not provide said indication of a match. 8. An integrated circuit according to claim 7 wherein said plurality of cells forms a tesselation accross a common substrate. 9. An integrated circuit according to claim 8 wherein said common substrate is a silicon wafer. 10. An integrated circuit according to claim 9. wherein said port is formed by the omission of a cell from one of the sites of s . aid tesselation. 11- An integrated circuit according to claim 10 wherein each of said plurality of cells is square, and said plurality of data processing elements consists in four of said elements. 12. A data storage cell comprising a data storage shift register, a data access shift register, a control character shift register, a cross-over switch, and a OMP data comparator for comparing the output of said data storage register with the output of said data access register, wherein said cross-oveτ switch is operable when initialised by a control signal, in response to said outputs being the same, and a predetermined character being in said control character register, to cross-over the outputs of said data storage and said data access register, to maintain said crossing- over whenever said predetermined character is not in said control character register, to abandon said crossing-over if said outputs are not.the * same and said predetermined character is in said control character register and to maintain said abandonment until reinitialised by said control signal. 13. An integrated circuit comprising;a plurality of -cells interconnected to receive a common control signal from an input port, wherein at least one of said cells is connected also to receive an initiating signal from said input port, and is" arranged to respond to said initiating si «gnal to participate in a functional test, wherein, if said at least one of said cells passes said test, it is coupled functionally to said input port and responds to said common control signal to select a neighbouring cell, and to supply said initiating . signal to the selected neighbouring cell in order to cause said neighbouring cell to be tested and to be functionally coupled thereto if said selected neighbouring cell passes said test, and wherein each of said cells which has passed said test is capable of providing said initiating signal to a plurality of neighbouring cells and is operable each time it receives said common control signal to select one of said plurality of neighbouring cells and to provide - said initiating signal thereto for causing said selected neighbouring cell to participate in said test provided said selected neighbouring cell has not previously undergone said test, and to be. functionally coupled to said selected neighbouring cell if said « selected neighbouring cell passes said test. 14. An integrated circuit comprising; a plurality of functionally intercoupla ' ble data processing cells on a wafer wherein the supply of power .to all of or a . portion of each of said cells is conditional upon said cell being functionally coupled with another. 15. An integrated circuit according to claim 14 wherein said functional coupling is dependent upon each cell having passed a functional test. OM 16. An integrated circuit according to claim 15 wherein each of said cells comprises one oτ more data storage shift registers. 17. An integrated circuit according to claim 16 wherein said cells form a tesselation across said wafer, a port is provided on said wafer for the provision of a power line to each of said cells, said port is formed By the omission of a cell from one .of the sites of said tesselation, and each cell comprises a power switch and a monitor, said monitor monitoring the progress of said functional test and providing affirmative output of said test is passed, and said switch discontinuing the supply of power from said line to said all or said portion of said cell in the absence of said affirmative indication after said test. " 18. An integrated circuit according to claim 17 wherein said switch is operable to prevent the supply of power from said line to said all or said portion of said cell until the commencement of said functional test. 19- - An integrated circuit according to claim 18 wherein the commencement of said -functional test in any particular cell Is dependent upon that test having been passed in a neighbouring cell. 20. An integrated circuit substantially as described with reference to the appended drawings . OMPI BRANCHED LABYRINTH WAFER- ' S ' CALE INTEGRATED CIRCUIT . ABSTRACT OF THE DISCLOSURE A memory system includes an integrated circuit comprising a plurality of testably interconnectable cells . (12,16) in a tessellation on a semiconducting wafer (10). A controller (14) for acting as an interface between the wafer (10) and some host system (122) is coupled to the wafer (10) via a port (14) formed by the omission of one of the cells (12,16) from the .tessel&tiori. Each cell • (12, 16) comprises plural-bit data storage registers each having an associated single-bit access register (54) and an associated single-bit control register (56) . During a growth phase .a state machine (58) co-operates with global signals and test data from the controller (120) to operate data-testing and inter-register (52,54,56) coupling logic (50) to form a branched-labyrinth of tested cells (12,16) characterised by rapid growth and efficient incorporation of functional cells. After growth data is transferred between the chain of data storage registers (52) and the chain of access registers (54) so formed dependently upon the contents of an associated chain of control registers (56) . A rapid retrieval associative memory facility is incorporated allowing named data to be withdrawn on presentation of a maskable naming word to the control register chain. (Figures 1,4 _ 12)

Inventors: CHAMBERLAIN JOHN TERENCE, CHAMBERLAIN, JOHN, TERENCE
Applicants: BURROUGHS CORP, BURROUGHS MACHINES LTD, BURROUGHS CORPORATION, BURROUGHS MACHINES LIMITED
Application year: 1981
Main classification: G01R31
IPC codes: G01R31, G11C29, H01L21, H01L27