Programmable connector

Abstract: In a configurable logic array, a plurality of conductive interconnect lines is located along the perimeter of a logic array chip. Lines running from exterior pins or pads can be used by a programmable interconnect circuit to control signals applied to these interconnect lines. In particular, both the signal and the complement of the signal can be used by the programmable interconnect to control application of a supply voltage to an interconnect line. A second supply voltage is applied through a resistor to the interconnect line with the result that the interconnect line will carry a logical signal representing a logical function, for example AND, of a selected set of input signals or their complements. Lines running from points interior to the configurable logic array chip may also contribute to the signal generated on an interconnect line. In one embodiment, bidirectional programmable interconnect circuits allow the input pins to function as either input or output pins. An application of the decoder circuit is described for use with a latch as a data/address demultiplexer.

Description: This invention relates to connectors, such as find application in large integrated circuits. Prior art programmable logic devices can perform diverse logic functions. These functions include computing combinatorial logic functions such as AND, NAND, XOR, as well as storing such logic functions. Further, particular inputs can be selected from multiple inputs to a chip. U.S. Patent 4,870,302 describes an invention of Xilinx, Inc., assignee of the present invention, for performing such functions. U.S. Patent 4,706,216 describes a logic element used by Xilinx, Inc. to generate logic functions. Products made as described in the above two patents are general and powerful, able to perform selectable logic functions of many variables and able to be reprogrammed by a user to change which logic functions are generated. Devices made by Xilinx, Inc. are described in " The Programmable Gate Array Data Book ," available from Xilinx, Inc., 2100 Logic Drive, San Jose, CA 95124. In order to direct the signals around a logic array chip to a particular logic element which will perform the desired function, it may be desired to buffer a signal before placing it onto an interconnect line. This is particularly true of signals coming from off the chip or going off the chip. U.S. Patent 4,855,619 discloses a structure of controlling placement of signals from a plurality of lines onto another line, with buffering if the line is of sufficiently high capacitance to need buffering. Signals placed onto this interconnect line may be generated by a logic element of the type described in U.S. Patent 4,706,216. Some simple logic functions do not require the general and powerful abilities of the configurable logic element described in U.S. Patent 4,706,216. Further, such simple logic functions might be used together with other more complex functions for which the full abilities of a configurable logic array chip are needed. Reference is now made to Figs. 1 and 2 of the accompanying drawings, of which Fig. 1 shows a prior art programmable decoder, and Fig. 2 shows a prior art implementation of a wired AND gate. One simple logic configurable logic array chip are needed. One such simple function is the AND function. To perform this function quickly, manufacturers provide a wide wired AND gate such as shown in Fig. 1. Suppose that each of the-transistors is N-channel and that the inputs I 1 -I 3 to the function are applied through inverters INV 1 -INV 3 to the gates of transistors N 1 -N 3 respectively. When any of transistors N 1 -N 3 is turned on by a low input signal on I 1 , I 2 , or I 3 , interconnect line IC will be pulled to ground, generating a logical 0 output signal. Only when all inputs I 1 -I 3 are high will all transistors N 1 through N 3 be off so that resistor R 1 can pull the interconnect line IC high to produce a logical 1 output signal. Thus the signal on interconnect line IC is the AND-function of the signals I 1 -I 3 . Xilinx, Inc. provides a means of performing such a function in a configurable logic array chip. A buffer usable for such a purpose may be as shown in Fig. 2 and described in U.S. Patent 4,855,619. The circuit of Fig. 2 can be programmed to present a high impedance to line LL1 when the value on line L1 is high and a low voltage when the value on line L1 is low. A high value in memory cell M61 turns on N-channel transistor T61, placing the signal from line L1 onto line L2. A low value in memory cell M41 turns on transistor T42 and turns off transistor T41 placing the signal from line L1 into inverter B41 which puts the complement of the signal on line L1 onto the gate of transistor T32. Thus a high value of L1 turns off transistor T32, presenting a high impedance on line LL1 whereas a low signal on L1 turns on transistor T32 and is propagated through T32 to line LL1. A plurality of lines such as L1 and L3 can be connected this way to line LL1, which in combination with resistor R62 can generate the AND function. While this more sophisticated wired-AND gate has many advantages, there are still some occasions where further flexibility is desirable. For example, in complex information processing applications it is sometimes desired to have more than one logical function of the same set of variables available simultaneously. Additionally, if the logic function of the complement of an input signal is required, that input signal will first have to be routed to a logic element where it will be inverted. Then the inverted signal will have to be routed back to line LL1 which will generate the AND function of the inverted input signal and other signals. Generating the complement of an input signal in this way has two disadvantages. Firstly, it slows down the speed of information processing. Secondly, it uses valuable resources in the interior of the chip which could otherwise be available for performing more complex functions. According to the present invention, there is provided a programmable connector for a programmable logic device comprising: a plurality of I/O lines, at least one interconnect line, at least one programmable interconnect corresponding to one of the I/O lines and to the interconnect line or to one of the interconnect lines, the or each programmable interconnect comprising: means for applying a first voltage to the corresponding interconnect line; means for providing a second voltage to the corresponding or any interconnect line on which there is no first voltage being placed by any of the means for applying a first voltage; and programmable control means for controlling the means for applying a first voltage, characterised in that the programmable control means is programmable to at least a first state and a second state such that: in the first state the means for applying a first voltage provides the first voltage to the corresponding interconnect line in response to a first signal on the corresponding I/O line and provides a high impedance to the corresponding interconnect line in response to a second signal on the corresponding I/O line; in the second state the means for applying a first voltage provides the first voltage to the corresponding interconnect line in response to the second signal on the I/O line and provides a high impedance to the corresponding interconnect line in response to the first signal on the corresponding I/O line; and in that the programmable connector further comprises means for programmably applying one of a signal present on the interconnect line and the complement of the signal present on the interconnect line to at least one of the I/O lines. Thus, a circuit may generate at least one logic function from selected ones of a set of signals, wherein the set of signals consists of a first subset of signals and a second subset made up of the complements of the signals in the first subset. The logic function is generated without using general purpose logic resources. The output signals are generated quickly, preferably in a physically small portion of a logic array chip close to the edge of the chip. For each of a group of input signals, the input signal, the complement of that input signal, or neither value can be used to control a transistor which applies a voltage or a high impedance to an interconnect line which holds the function. Transistors which, when on, apply a first voltage to the interconnect line are controlled by a programmable interconnect. The programmable interconnect causes a respective transistor to turn on either in response to a high input signal, in response to a low input signal, or to remain off in response to either value of the input signal. The transistor, in turn, applies either the first voltage, for example ground, or a high impedance to an interconnect line on which the function is generated. Other transistors (or similar control means) may also apply either the first voltage or a high impedance to the interconnect line. Means for applying a second voltage, for example a positive supply voltage, to the interconnect line only when no transistor is applying the first voltage, for example a pull-up resistor connecting the interconnect line to V CC , are also provided. Thus the first voltage is present on the interconnect line when any transistor is turned on, and the second voltage is present on the interconnect line when no transistor is turned on. Therefore, the interconnect line carries the combinatorial function of the set of signals selected by the means for programming. In one embodiment, each programmable interconnect is separately programmable to select between responding to a signal, its complement, or neither. A choice between the function generated on the interconnect line and the complement of the generated function can be made by selecting whether the generated function is inverted before being applied to an output line. When the first voltage source is ground and the second voltage source is the positive voltage supply, each interconnect line provides the AND function of any selection of input signals or their complements. The AND function can be programmed to be independent of any particular input signal or its complement. In a preferred embodiment, the input and interconnect lines are available in close proximity, so the length of the input and interconnect lines is short and their capacitance small, thus allowing still faster operating speed. The invention is further described below, by way of exampie, with reference to the remaining Figures of the accompanying drawings, in which: Fig. 3 shows a schematic representation of a programmable connector; Fig. 4 shows a programmable connector element for use in a programmable connector of the invention; Fig. 5 shows another programmable connector element; Fig. 6 shows yet another programmable connector element; Fig. 7 shows a symbolic representation of a data/address demultiplexer using a latch with a programmable connector element; Fig. 8 shows a bidirectional programmable connector; Fig. 9 shows an embodiment of a bidirectional programmable connector of the present invention. Fig. 10a shows a symbolic representation of a programmable connector in which input and output lines are provided. Fig. 10b shows logic functions which can be generated by the circuit of Fig. 10a. Fig. 11 represents the layout of the programmable connector in an integrated circuit chip with the connector located between the edge of the chip and logic elements internal to the chip, and having connections to both internal and external points. Referring to Fig. 3, two input terminals IT 1 and IT 2 and two interconnect lines Q C and O D are shown. Each interconnect line is connected through a pull-up resistor R C or R D to voltage source V CC . Each input line is connected by means of one programmable interconnect to each of the interconnect lines O C and O D . Each programmable interconnect can use either the signal on the input line or the complement of that signal, or neither, for controlling whether a voltage is applied to the interconnect line. The programmable connector of Fig 4 provides means for placing the signal carried by an input line I onto interconnect line IC. The programmable connector also provides means for effectively disconnecting input line I from interconnect line IC by providing a high impedance between the two lines. The interconnect line IC is provided with a pull-up resistor tied to a constant voltage. Thus, the circuit of Fig. 4 implements a programmable connector to provide the AND function. That is, line IC is pulled high if there are no low signals being placed on it, and it is pulled down if there is even one low signal being placed on it. Thus, programmable interconnect 1 is designed to provide a high impedance to IC to represent a high signal on input line I, and a low signal to IC to represent a low signal on input line I. If the signal carried on the input line I is to be included in the AND function, memory cell M1 is programmed to provide a low signal to input 2 of NOR gate NOR1. With input 2 forced low, NOR gate NOR1 will invert the signal carried on input line 1. When input line I carries a low signal, NOR gate NOR1 will place a high signal on the gate of transistor T1 thus turning it on, and pulling interconnect line IC low. When input line I places a high signal on input I of NOR gate NOR1, NOR gate NOR1 will place a low signal on the gate of transistor T1. This turns T1 off and provides high impedance between interconnect line IC and input line I. If the logic function generated on IC is to be independent of the signal on 1, then memory cell M1 is programmed to provide a high signal to input 2 of NOR gate NOR1. This forces the output of NOR gate NOR1 low, which forces transistor T1 off. When T1 is off, a high impedance is provided between the interconnect line IC and the input line 1, which effectively disconnects the two lines, thus making the logic function provided on IC independent of the signal carried on input line I. Programmable interconnect 1 of Fig. 4 provides means for placing only the signal carried on input line I, and not the complement of that signal, onto interconnect line IC. To provide means for placing the complement of a signal as well as the signal itself, onto an interconnect line, a programmable interconnect 2 shown in Fig. 5 can be used. Programmable interconnect 2 provides two simple programmable interconnects as shown in Fig. 4 cascaded together, where the input signal is applied directly to NOR gate NOR2 and is passed through inverter 10 before being applied to NOR gate NOR3. To control placement of a voltage onto interconnect line IC in response to the signal carried by input line 1, memory cells M2 and M3 are programmed to ensure that section 52 turns on transistor T2 in response to a low signal on input line 1, and that section 53 maintains transistor T3 off regardless of the signal on input line 1. Memory cell M2 is programmed to provide a low signal to NOR gate NOR2, which allows NOR gate NOR2 to provide the complement of input I to transistor T2. A high signal at input I thus results in a high impedance to IC to represent a high signal on input I and a low signal to IC to represent a low signal on input I. Memory cell M3 must be programmed to provide a high signal to NOR gate NOR3, thereby forcing the output of NOR gate NOR3 low and transistor T3 off regardless of the signal on input I. This effectively disconnects section 53 of programmable interconnect 2 from interconnect line IC. If, however, a logical function of the complement of the signal carried on input line I is required, then memory cells M2 and M3 are programmed to turn section 53 on and section 52 off. Memory cell M3 is programmed to provide a low signal to NOR gate NOR3, which allows NOR gate NOR3 to provide a low output in response to a low signal on input 1, in turn causing transistor T3 to provide a high impedance to interconnect line IC (by turning T3 off) to represent the low signal on input I. In this mode, NOR gate NOR3 will cause transistor T3 to apply a low signal to interconnect line IC (by turning T3 on) to represent a high signal on input I. When memory cell M3 provides a low signal, memory cell M2 must be programmed to provide a high signal to NOR gate NOR2 regardless of the state of input 1, thereby forcing the output of NOR gate NOR2 low and transistor T2 off. This effectively disconnects section 52 of programmable interconnect 2 from interconnect line IC. If it is required that the signal on interconnect line IC be independent of input signal 1, then both of memory cells M2 and M3 are programmed to provide high signals, whereby transistors T2 and T3 provide high impedance to line IC regardless of the state of input signal I. A third programmable interconnect is shown in Fig. 6. As does programmable interconnect 2, programmable interconnect 3 provides means for placing either a signal or its complement onto interconnect line IC. Also, like programmable interconnect 2, programmable interconnect 3 provides a high impedance to IC to represent a high signal (or a high complement signal) on input line 1, and a low signal (or low complement signal) to represent a low signal on input line I. Programmable interconnect 3 is preferred, however, because it adds less capacitance to interconnect line IC than does programmable interconnect 2. For the arrangement shown in Fig. 6, if an AND function of the input signal I is required, memory cell M5 is programmed to place a high signal on input 4 of OR gate ORS and memory cell M4 is programmed to place a low signal on input 1 of OR gate OR4. This forces the output of OR gate ORS high, which in turn forces the input 20 of NAND gate NAND1 high. With input 20 forced high, the output of NAND gate NAND1 will be determined by input 21, which receives the output of OR gate OR4. Since memory cell M4 is programmed to place a low signal on input 1 of OR gate OR4, the output of OR gate OR4 follows the input signal placed by input line I on input 2 of OR gate OR4. Since the output of OR gate OR4 is the input 21 of NAND gate NAND1, the output of NAND gate NAND1 will be the complement of the signal on input line I. Thus, for a high signal on input line I, transistor T4 will be turned off and a high impedance will be provided to interconnect line IC. For a low signal on input line I, transistor T4 will be turned on, and interconnect line IC will be pulled low. If an AND function of the complement of the input signal is required, memory cell M4 is programmed to place a high signal on input 1 of OR gate OR4 which forces the output of OR gate OR4 high. This in turn forces the input 21 of NAND gate NAND1 high. With input 21 forced high, the output of the NAND gate NAND1 will place the complement of the signal on the other input 20 of the NAND gate onto the gate of T4. Memory cell M5 is programmed to place a low signal on input 4 of OR gate OR5 so that the output of OR gate OR5 follows the complement of the input signal carried by input line I, placed by inverter 20 on input 3 of OR gate OR5. Since the output of OR gate OR5 is the input 20 of NAND gate NAND1, the output of NAND gate NAND1 will turn transistor T4 off when input signal I is low, thereby providing a high impedance to interconnect line IC. Likewise, NAND gate NAND1 turns on transistor T4 when input signal I is high, thereby pulling down line IC. In this way the logic function provided by interconnect line IC will be a function of the complement of the signal on input line I. Finally, if the function on interconnect line IC is to be independent of the input signal I, memory cells M4 and M5 are programmed to provide high signals to gates 1 and 4 of OR gates OR4 and OR5 respectively, thus applying high signals to both of inputs 20 and 21 of NAND gate NAND1, causing transistor T4 to be off regardless of the state of input signal I. The determination of a specific logic function will be explained with reference to Fig. 3. Suppose that signal A is placed on input terminal IT 1 and signal B is placed on input terminal IT 2 . Further suppose that interconnect line O C is required to carry the function A AND B , and interconnect line O D is required to carry the function A . To generate the function A AND B on interconnect line O C , programmable interconnect C1 and programmable interconnect C2 must be appropriately programmed. Programmable interconnect C1 is programmed (as discussed above) to represent the input signal carried by input terminal IT 1 on interconnect line O C (i.e. high impedance represents a high input signal; a low voltage represents a low input signal). Programmable interconnect C2 is programmed to represent the complement of the input signal carried by input terminal IT 2 to interconnect line D C . In this way the interconnect line O C will carry the logical function A AND B . To generate the function A on interconnect line OD, programmable interconnect D1 is programmed to represent the complement of the signal carried on input terminal IT 1 to interconnect line O D . Programmable interconnect D2 is programmed to effectively disconnect interconnect line O D from input terminal IT 2 so that the signal on O D will be independent of both the signal and the complement on IT 2 . In this way, the interconnect line O D will carry the logical function A . Referring to the data/address demultiplexer shown in Fig. 7, input line I carries a time multiplexed signal which part of the time represents an address, and part of the time represents data present at that address. Input line I is connected to the input port D of latch 31. An enable signal, typically generated offchip, is applied to the enable port E of latch 31. The output port Q of latch 31 is connected to a programmable interconnect A1. When the signal applied to enable port E is high, the signal presented at input port D by input line I is passed to the output port Q of latch 31. Programmable interconnect A1 then passes the signal on Q, or its complement, or neither, to the interconnect line IC. This signal is part of an address which will be sent to the appropriate circuit element or set of circuit elements by interconnect circuitry to which interconnect line IC may be connected. While a particular value is latched into latch 31 (and typically other latches, not shown, which carry other parts of the address), a certain device will be enabled by the address. When the signal presented to E then goes low, the address is latched into latch 31, and the data on input line I (and other lines, not shown) which are demultiplexed at latch 31 (and other latches, not shown) can be sent to the addressed device (or to general interconnect circuitry which will then route the signal to the addressed device) by line 32 (and other data lines not shown). In an arrangement using bi-directional programmable interconnects, a single pin can be used as either an input pin or an output pin. Two examples of such bi-directional programmable interconnects are shown in Figs. 8 and 9. The bi-directional programmable interconnect shown in Fig. 8 is structurally similar to the programmable interconnect 1 discussed earlier and shown in Fig. 4, except that the bi-directional programmable interconnect contains an additional memory cell M10 and an additional transistor T10. These two extra components of the bi-directional programmable interconnect make it possible to pass a signal either from input/output line I/O to interconnect line IC, or from the interconnect line IC to input/output line I/O or for input/output line I/O to be disconnected from interconnect line IC, and therefore independent of each other. Thus for input/output line I/O to function as an output line, node A is connected to the input/output line I/O by programming memory cell M10 to turn transistor T10 on. Further, Node C is effectively disconnected from input/output line I/O by turning transistor Tll off. Transistor Tll can be turned off by programming memory cell Mll to place a high signal on input 51 which forces the output of NOR-gate NOR50 low. When input/output line I/O is functioning as an input line, node C is used as discussed earlier. Node A is disconnected from input/output line I/O by programming memory cell M10 to turn transistor T10 off. Further, memory cell Mll is programmed to place a low signal on input 51 so that NOR gate NOR50 works exactly as NOR gate NOR1 does in the programmable interconnect of Fig. 4. A more sophisticated bi-directional programmable interconnect according to the invention, shown in Fig. 9 has three modes of operation. In the first mode, input/output line I/O functions as an output line, and the bi-directional programmable interconnect can pass a signal on an interconnect line or the complement of a signal on an interconnect line to an I/O line. In the second mode, input/output line I/O functions as an input line, and the bi-directional programmable interconnect can pass a signal on an I/O line or the complement of a signal on an I/O line to an interconnect line. In the third mode the bi-directional programmable interconnect can effectively disconnect an interconnect line from an I/O line by providing high impedance between the two lines. Operation in the first mode, that is, when input/output line I/O is functioning as an output line, is as follows. Node E is used for routing a signal from interconnect line IC to line I/O. Node F is used to route the complement of the signal on interconnect line IC to line I/O. Node D is used in the input mode. For the output mode, node D is disconnected from the interconnect line by programming both memory cells M21 and M22 to place a high signal on inputs 61 and 62 of OR-gates 71 and 72, respectively. This forces the outputs of these OR gates high, which in turn forces the output of NAND gate 73 low, which turns off transistor T20. If the signal on interconnect line IC is to be placed onto input/output line I/O, then transistor T21 is turned on by memory cell M23 and T22 is turned off by memory cell M24. This allows passage of the signal on the interconnect line to input/output line I/O through transistor T21. If the complement of the signal on interconnect line IC is to be placed on input/output line I/O, then transistor T22 is turned on by memory cell M24 and T21 is turned off by memory cell M23. This allows the signal on interconnect line IC to be inverted by inverter 10 before being placed on input/output line I/O. Operation in the second mode, where input/output line I/O is to function as an input line, is achieved by disconnecting both nodes E and F from the interconnect line. This can be done by programming memory cells M23 and M24 to turn off transistors T21 and T22, respectively, by placing a low signal on the gate of each transistor. Then, memory cells M21 and M22 are programmed as were memory cells M4 and M5 in Fig. 6. Operation in the third mode, where input/output line I/O is independent of interconnect line IC, is achieved by programming memory cells M21 and M22 to place high signals on inputs to OR gates 71 and 72 and simultaneously programming memory cells M23 and M24 to place low signals on gates of transistors T21 and T22. With all three of transistors T20, T21, and T22 off, the programmable interconnect of Fig. 9 disconnects input/output line I/O from interconnect line IC. In addition, the bi-directional programmable interconnect of Fig. 9 also allows the programmable connector to generate additional logic functions. This is because when the input/output line I/O functions as an output line, the bi-directional programmable interconnect of Fig. 9 provides means for placing either the signal or the complement of the signal carried by interconnect line IC onto input/output line I/O. This ensures a structure parallel to the ordinary programmable interconnect wherein the signal carried by the input line, or the complement of that signal, can be placed onto the interconnect line. Fig. 10a shows a schematic representation of the circuit for generating functions of input signals A and B and placing a function of A and B onto output line OUT. Programmable interconnects PI A and PI B may be dedicated input interconnects as shown in Figs. 5 and 6 or bidirectional interconnects such as shown in Fig. 9. Likewise, programmable interconnect PI O may be bidirectional as shown in Fig. 9 or may comprise only the output circuit elements shown on the right side of Fig. 9. Fig. 10b represents the set of functions which can be generated when the signal present on interconnect line IC can be inverted before applying to output line OUT. For the case where the signal on interconnect line IC is generated from input signals A and B, inverting of the output signal allows the following additional functions to be provided: (A+ B ), ( A +B), ( A + B ), and (A+B). Moreover, these additional logic functions are generated without using any of the more general purpose logic resources located in the chip. An embodiment shown in Fig. 11 illustrates several more features of the invention. As shown in Fig. 11, the input and interconnect lines are placed between the edge E of the chip and logic blocks such as LOGIC 1 and LOGIC 2 interior to the chip. This way, the delay a signal experiences, for example, while traveling from input pins IP 1 and IP 2 through input/output buffers IOB 1 , IOB 2 , through programmable interconnects such as Al to interconnect line O A2 , is minimized, thus minimizing capacitance and increasing the speed of the circuit. Further, the signal on an interconnect line OA, OB, OC or OD can easily be sent off the chip by simply routing it to an appropriate output line such as OUT and through an input/output buffer such as IOB 3 to an output pin such as OP 1 . The speed can also be improved by locating pass transistors or transmission gates along the interconnect lines O A , O B , O C and O D . For example, if the logic functions of the signals on pins IP 1 and IP 2 will be used at LOGIC 2, then pass transistors or transmission gates T5-T8 controlled by memory cells M5-M8 are turned on so that the signal on the selected interconnect lines O A2 -O D2 will be available to the switch matrix 1 interconnect leading to LOGIC 2. In this case, pass transistors or transmission gates T1-T4 are turned off, effectively separating interconnect line segments O A1 , O B1 , O C1 and O D1 from interconnect line segments O A2 , O B2 , O C2 , and O D2 . If the signal on an interconnect line is needed in close proximity to the input lines, for example at LOGIC 1 or OUT, pass transistors or transmission gates T5-T8 controlled by memory cells M5-M8 can also be turned off, further decreasing the length and thereby the capacitance of the interconnect lines O A2 -O D2 , and consequently the switching times of the signal. Provision of pass transistors or transmission gates such as T1-T8 to segment the interconnect lines allows one chip to have a selectable number of separate decoders or other programmable connectors located around the perimeter of the chip. In order for each separable segment to operate as discussed, a pull-up resistor is connected to every segment of every interconnect line, as shown, so that each separate segment can provide both high and low voltages as required. For example resistor R D1 is connected to segment O D1 , resistor R D2 is connected to segment O D2 and resistor R D3 is connected to segment O D3 . In order for a segment to operate as an interconnect line for transmitting a signal between I/O lines connected to the interconnect line, and not to operate as a function generator, some of the resistors, in this case resistors R A1 , R B1 , R C1 and R D1 , shown in figure 12 are formed in series with pass transistors, T A1 , T B1 , T C1 and T D1 respectively. When a pass transistor is off, the corresponding pullup resistor is disconnected, thus allowing the interconnect line to pass a signal from one I/O line to another I/O line. For example, turning off transistors T A1 and T 4 allows line segment O A1 to serve as an interconnect line for input/output lines (not shown) connected to line segment O A1 . Also, if several segments are connected together it may be desirable to connect only one resistor to the connected set of line segments in order to save power, or conversely to connect more than one resistor in order to increase speed. Further, the input signals can come either from input pins such as IP 1 or IP 2 , or from circuitry in the interior of the chip, for example from switch matrix 1 or logic device LOGIC 1. Similarly, the generated logical functions can be sent directly to output pins such as OP 1 , or routed to the general interconnect circuitry at the interior of the chip. It is within the scope of the present invention to programmably divide lines running along the perimeter of a chip into any number of segments by using pass transistors or transmission gates to separate the segments. Likewise, the invention may provide segments which do not extend around the full perimeter, may provide segments within the interior of a chip, and may provide segments which extend from the perimeter to the interior of the chip. Any number of interconnect lines may be provided. It is further within the scope of the present invention to provide input lines which can connect to less than all the lines crossed. Also, not all input lines need have their complement signals readily available to the interconnect lines. It is further within the scope of the invention to provide bi-directional buffers so that input pins to which the buffers connect can be used as either input or output pins. Further, it is possible to implement other logic functions including OR, NAND, and NOR, just as the AND function which has been described, by changing the polarity of the voltages applied to the interconnect line or by adding inverters. Further modifications will become obvious to those skilled in the art in light of the above disclosure and are also intended to fall within the scope of the invention as defined in the appended claims.

Claims: A programmable connector for a programmable logic device comprising: a plurality of I/O lines (I/O;I,A,B,OUT), at least one interconnect line (IC), at least one programmable interconnect (T20,73;PI;A1) corresponding to one of the I/O lines and to the interconnect line or to one of the interconnect lines, the or each programmable interconnect comprising: means (T20) for applying a first voltage to the corresponding interconnect line; means (R) for providing a second voltage to the corresponding or any interconnect line on which there is no first voltage being placed by any of the means for applying a first voltage; and programmable control means (73,M21,M22) for controlling the means for applying a first voltage, characterised in that the programmable control means is programmable to at least a first state and a second state such that: in the first state the means for applying a first voltage provides the first voltage to the corresponding interconnect line in response to a first signal on the corresponding I/O line and provides a high impedance to the corresponding interconnect line in response to a second signal on the corresponding I/O line; in the second state the means for applying a first voltage provides the first voltage to the corresponding interconnect line in response to the second signal on the I/O line and provides a high impedance to the corresponding interconnect line in response to the first signal on the corresponding I/O line; and in that the programmable connector further comprises means (T21,T22,M23,M24,10) for programmably applying one of a signal present on the interconnect line and the complement of the signal present on the interconnect line to at least one of the I/O lines. A programmable connector as claimed in claim 1 in which the programmable control means (M21,M22) is programmable to a third state in which the means for applying a first voltage provides a high impedance to the corresponding interconnect line (IC,O) in response to the first and second signals on the corresponding I/O line (I/O;I,OUT). A programmable connector as claimed in claim 1 or 2 in which one programmable interconnect (IC,O) corresponds to each of the I/O lines (I/O;I,OUT). A programmable connector as claimed in claim 1,2 or 3 in which the means for programmably applying (T21,T22,M23,M24,10) can be programmed to apply neither of the signal present on the interconnect line (IC,O) and its complement to the said one of the plurality of I/O lines (IO;I,OUT). A programmable connector as claimed in claim 1 having a plurality of the interconnect lines (IC,O) and in which one programmable interconnect (T20,73; PI;A1) corresponds to each of the interconnect lines. A programmable connector as claimed in claim 1 or 2 having a plurality of interconnect lines (O), in which at least one programmable interconnect (A1) corresponds to each of the I/O lines (I/O) and at least one programmable interconnect (A1) corresponds to each of the interconnect lines. A programmable connector as claimed in any preceding claim comprising an external pin (IP,OP) connected to the I/O line (I,OUT) or to at least one of the I/O lines. A programmable connector as claimed in any preceding claim in which the I/O lines (I/O;I,OUT), the at least one interconnect line (IC,O), and the at least one programmable interconnect (T20,73;PI;A1) are located between the edge of an integrated circuit (E) and logic circuitry (LOGIC1,LOGIC2) internal to the integrated circuit. A programmable connector as claimed in any preceding claim comprising means for placing at least one signal generated internally to an integrated circuit onto at least one of the I/O lines (I/O;I,OUT). A programmable connector as claimed in any preceding claim comprising a latch inserted between at least one I/O line and the programmable interconnect, the latch comprising a data port connected to the I/O line, an enable port, and an output port connected to the programmable interconnect, the output port being connected to the I/O line when a signal on the enable port has a first state, and the output port being disconnected from the I/O line when a signal on the enable port has a second state, the output port providing to the programmable interconnect a signal related to a signal present on the I/O line when the signal on the enable port last had the first state. A programmable connector as claimed in any one of claims 1, 2 and 8-10 comprising means for segmenting the interconnect line (O) or at least one of the interconnect lines comprising at least one controllable switching means (M1-8; T1-8) located along the interconnect line. A programmable connector as claimed in any one of the preceding claims in which the means for applying a first voltage is a transistor (T20) having one current carrying terminal connected to the first voltage supply, another to the interconnect line (IC), and its control terminal to the programmable control means (73). A programmable connector as claimed in claim 12 in which the transistor (T20) is an N-channel FET and the programmable control means (73) comprises: a NAND gate (73) having an output terminal connected to the control terminal of the transistor, and at least two input terminals, each receiving input from an output terminal of a programmable logic gate (71,72), one said programmable logic gate (71) having an input terminal connected to the I/O line (I/O) and another input terminal connected to a memory cell (M21) which determines whether the logic gate will pass a signal from the I/O line to the NAND gate, and another said programmable logic gate (72) having an input terminal connected to receive the complement of a signal on the I/O line and another input terminal connected to a memory cell (M22) which determines whether said another logic gate will pass the complement of the signal from the I/O line to the NAND gate.

Inventors: CARTER WILLIAM S, DUONG KHUE, ERICKSON CHARLES R, FREEMAN ROSS H, HSIEH HUNG-CHENG, CARTER, WILLIAM S., DUONG, KHUE, ERICKSON, CHARLES R., FREEMAN, ROSS H., HSIEH, HUNG-CHENG
Applicants: XILINX INC, XILINX, INC.
Application year: 1991
Main classification: H03K19
IPC codes: H01L21, H03K19, G06F3