Programmable logic device

Abstract: A programmable array logic device including a program­ mable logic array, at least one register pair, a multiplexer cou­ pled to the register pair so that they can share a common I/O pin, and an observability buffer for controlling the multiplexer. A dual clock buffer is provided so that registers within the register pair can be clocked singly when in a preload mode or together when in a logic or verification mode. When in the logic mode, either the output of a buried state register or an output register is observed at the I/O pin under the control of a product term generated by the logic array. When in the preload mode the register to be preloaded is selected by an externally provid­ ed preload select signal. In the verification mode, which typi­ cally follows a programming mode, individually selected product terms within the logic array can be observed by clock­ ing them into the register pairs.

Description: The present invention relates to a programmable logic device. Reference may be made to our European Application EP-A-0 227 329 in which a set of dedicated buried state registers having no allocated Input/Output pins are nevertheless observable, under control of the user, owing to a control signal forming an observability signal that is derived from the logic array. EP-A-0 227 329 constitutes a state of the art according to Article 54(3) EPC. This invention relates generally to programmable logic devices, and more particularly to programmable logic devices having buried state registers. Programmable logic devices such as the programmable array logic (PAL) device offer digital designers a flexible and cost effective implementation for complex logic circuits. PAL, the acronym for a Programmable Array Logic device is a registered US trademark of Monolithic Memory, Inc. A typical PAL includes a fuse programmable array of AND gates, and a fixed array of OR gates. In some PALs, the outputs of the OR gates are coupled directly to an I/O pin, and in other PALs the outputs of the OR gates are input into clockable, D-type or S/R-type registers. PALs having clockable registers are ideal for use as state machines or, as they are sometimes called, sequencers. A state machine includes a number of registers which store the current state of the machine, input combinatorial logic, and output combinatorial logic. Typically, the outputs of the input combinatorial logic determine the next state to be stored within the state registers, and the current state stored in the state registers form a part of the input to the output combinatorial logic. Quite frequently, outputs of the output combinatorial logic are fed back as inputs to the input combinatorial logic. Complex state machine designs push the limits of prior art PAL devices. For a variety of practical technical and economic reasons, it is desirable to keep the PAL device package as small as possible and to limit the number of pins associated with the package. PAL device designers found that one way to shrink package size is to provide several "buried" state registers which can be used to store the current state number, and separate out put registers which can output data to an I/O pin. By not assigning a I/O pin to the buried state registers the number of pins required to implement the device is reduced. A problem with the above mentioned prior art PAL design having separate buried state registers and output registers is that it is difficult to observe the contents of the buried state registers. With such designs, the output of a buried state register must be clocked through the output combinatorial logic and an output register before appearing at an I/O pin. This process can take several cycles, and is thus both inconvenient and time consuming. European Patent specification No. A-0,177,280 discloses a multiplexer arranged to select between a direct output from a logic array and a registered output from the same output of the logic array, to be applied to an output pin. A paper by Vincent J Coli et al published in the "Wescon Proceeding", San Francisco, CA, US, 19-22th November 1985, discloses a multiplexer arranged to select between an output from a logic array and an output from a register which is not responsive to that logic array, to be applied to an output pin. Accordingly the present invention provides a programmable logic device comprising: programmable logic array means having a plurality of array inputs and a plurality of array outputs; a number of input/output ports; and a number of pairs of register devices each such pair including an output register having an output register input coupled to a first one of said array outputs, and a buried register having a buried register input; characterised in that said buried register input of each said pair is coupled to a second one of said array outputs; and characterised by multiplexer means responsive to a register select signal derived from a respective output from said array and, arranged to selectively couple said register pairs to a shared one of said input/output ports whereby a buried register output of said buried register and an output register output of said output register may be selectively coupled to said input/output port; and register select means operative to pass said register select signal to said multiplexer. We will describe a preferred arrangement of a PAL circuit for efficiently loading buried registers or output registers. Briefly, the logic device to be described includes a programmable logic array, at least one register pair including a buried register and an output register, a multiplexer coupling the outputs of the buried register and the output register to a common I/O pin, an observability buffer for controlling the multiplexer, and a dual clock buffer for selectively preloading the buried register or the output register. The contents of the buried register and the output register can be observed in three operational modes of the device, namely the logic mode, the preload mode, and the verification mode. The verification mode is claimed in divisional application EP-A-0 428 504. When in the logic mode, either the output of the buried register or the output register can be multiplexed to the I/O pin under the control of an observability produce term generated by the logic array. More specifically, under normal operating conditions in the logic mode the output register is multiplexed to the I/O pin, and under debug operating conditions in the logic mode the buried register is multiplexed to the I/O pin. When in the preload mode, the observability product term is disabled, and data is synchronously input into either the buried register or the output register from the I/O pin under the control of the dual clock buffer. In the verification mode, the observability produce term is once again disabled, the logic array is enabled for product term output, and product terms are clocked into the buried register and the output register for multiplexing to the I/O pin. An advantage of the embodiment of the invention described is that a buried register and an output register share a common I/O pin, which minimizes pin count and package size while permitting the contents of buried registers to be quickly and easily observed. Another advantage is that the buried register and the output register can be preloaded from their shared I/O pin under user control. Another advantage is that product terms from the logic array can be observed via the register pair when the device is in its verification mode. The features and advantages of the present invention will become apparent upon consideration of the following detailed description and the accompanying drawings, in which like reference designations represent like features throughout the figures. BRIEF DESCRIPTION OF THE DRAWINGS FIGURE 1 is a block diagram of a preferred programmable logic device in accordance with the present invention; FIGURE 2a is a truth table illustrating the logic signals at various points in the block diagram of Fig. 1; FIGURE 2b is a legend for the truth table of Fig. 2a; FIGURE 3 is a timing diagram of various signals used during the preload mode; FIGURE 4 is a timing diagram of the various signals during the programming mode and verification mode; and FIGURE 5 is a schematic of the observability buffer 20 shown in Fig. 1. DETAILS DESCRIPTION OF THE INVENTION Reference is made now in detail to a specific embodiment of the present invention, which illustrates the best mode presently contemplated by the inventor for practicing the invention. Alternative embodiments are also briefly described as applicable. Referring to Fig. 1, a programmable array logic (PAL) device 10 includes a programmable logic array 12, a register pair 14: a multiplexer 16, input logic 18, an observability buffer 20, and a dual clock buffer 22. Associated with logic array 12 are a number of input buffers such as buffers 24 and 26, a number of output buffers such as buffers 28 and 30, and a number of data sense amplifiers such as those shown at 32 and 34. External inputs and outputs to logic device 10 include pins 1, 2, 5, and 11 as well as input pin 36 and I/O pins 38 and 40. Logic array 12 is preferably a fuse programmable AND array and a fixed OR array having a plurality of array inputs such as inputs 42a/b and 44a/b, a plurality of control inputs such as control input 46, and a plurality of array outputs such as outputs 48, 50, 52, 54, and 56. Alternatively or additionally, logic array 12 can include a fuse programmable OR array. The manufacture and use of a logic array 12 is well known to those skilled in the art, and will not be discussed here in detail. A good reference describing PAL architecture is the Programmable Array Logic Handbook published by Advanced Micro Devices, Inc. of Sunnyvale, California. Input buffer 24 couples input pin 36 to array input lines 42a and 42b. More specifically, input pin 36 is coupled to the input of a first inverter 58, the output of which is coupled to array input 42b and to the input of a second inverter 60 which has an output coupled to array input 42a. Thus, a signal applied to pin 36 is developed on input 42a, and its inverse is developed on input 42b. In an analogous manner, a signal applied to pin 38 develops a signal on input 44a, and an inverse signal on input 44b. Array outputs 48 and 50 are inverted by inverters 28 and 30, respectively, to produce a synchronous preset (SP) signal on a line 62, and an asynchronous reset (AR) signal on a line 64. Data sense amplifier 32 includes a first inverter 66 and a second inverter 68 which produce a data (D) signal on a line 70 and an inverse data signal (ID) on a line 72. Similarly, data sense amplifier 34 produces a data signal (D) on a line 74 and an inverse data signal (ID) on a line 76. The register pair 14 includes a buried register 78 and an output register 80. Both buried register 78 and output register 80 include a preload enable (P) input, an inverse data input (ID), a data input (D), an asynchronous reset input (AR), a synchronous preset input (SP), a preload data input (PD), and a clock input (CI). Buried register 78 has a data output QB, and output register 80 has a data output Q. Buried register 78 has its ID and D inputs coupled to lines 76 and 74, respectively, and its AR and SP inputs coupled to lines 64 and 62, respectively. Output register 80 has its ID and D inputs coupled to lines 72 and 70, respectively, and its AR and SP inputs coupled to lines 64 and 62, respectively. The P inputs of buried register 78 and output register 80 are both coupled to a line 82, and their PD inputs are coupled to I/O pin 40 by a line 84. Multiplexer 16 has a Q input which is coupled to the Q output of output register 80, and a QB input which is coupled to the QB output of buried registers 78. Multiplexer 16 also has an IOBS select input coupled to a line 86, and an OBS select input coupled to a line 88. The IOBS and OBS select inputs determine which of data inputs Q and QB is multiplexed to line 84 and thus to I/O pin 40. Input logic 18 includes a zenered buffer 90, a zenered inverter 92, a zenered NOR gate 94, a zenered OR gate 96, a zenered inverter 98, and a pair of NAND gates 100 and 102. Zenered gates 90-98 are tri-level logic devices having input logic levels LO, HI, and ZHI. In TTL implementations of the present device, a LO input is no more than .8 volts, a HI input is no less than 2.0 volts, and a ZHI input is nominally 11 volts. While the outputs of zenered gates 90-98 have internal logic levels that are either LO or HI, only ZHI is recognized as a logical high input to the zenered gates. Thus, applying ZHI to the input of zenered buffer 90 produces an internal logic level HI on line 82, and applying a LO or HI to the input of zenered buffer 90 produces an internal logic level LO on line 82. The rest of the gates of logic device 10 are not zenered, and thus are responsive to and generate only LO and HI logic signals. Pin 2 is coupled to a line 104 which is connected to inputs of zenered buffer 90, zenered inverter 92, and zenered NOR gate 94. Zenered buffer 90 develops a preload enable signal (PRELOAD) on line 82, zenered invertor 92 develops an inverted preload enable signal (IPREEN) on a line 105, and zenered NOR gate 94 develops an observability disable (OBSD) signal on a line 106. Pin 1 is connected to a line 108 which is coupled to dual clock buffer 22, zenered NOR gate 94, and zenered OR gate 96. Except during the program mode of the present device, pin 1 is used as an external clock input pin, and develops a CLOCK signal on line 108. The CLOCK signal on line 108 can generally be considered to be the master clock for the device 10. Pin 11 is coupled by a line 115 to an input of zenered NOR gate 94 and to an input of zenered OR gate 96. Zenered OR gate 96 develops a programming and verification (PVCC) signal on line 46 which is input to logic array 12 and to NAND gates 100 and 102. Pin 5 is coupled to a line 112 which is input into zenered inverter 98 and to NAND gate 100. The output of NAND gate 100 on a line 114 is input to NAND gate 102 as the signal I5. Zenered inverter 98 develops an observe during preload signal (IOBSPRE) on a line 116, and NAND gate 102 develops an observe during verify (IOBSVER) signal on a line 118. The observability buffer 20 includes an AND gate 120 and an OR gate 122. AND gate 120 is coupled to line 56 of logic array 12 and to line 106 of input logic 18. The output of AND gate 120 is developed on a line 124 which is a non-inverted input to OR gate 122. OR gate 122 has a pair of inverted inputs which are coupled to lines 116 and 118 of input logic 18, and an inverted output on line 86 and a non-inverted output on a line 88. The signal on line 88 is the observation signal (OBS), and the signal on line 86 is the inverse observation signal (IOBS). Clock buffer 22 includes a pair of AND gates 126 and 128, and a pair of OR gates 130 and 132. Inverted inputs of AND gates 126 and 128 are coupled to line 105, and non-inverted inputs to AND gates 126 and 128 are coupled to lines 86 and 88, respectively. The outputs of AND gates 126 and 128 on lines 134 and 136, respectively, are input to OR gates 130 and 132, respectively. Inverted inputs to OR gates 130 and 132 are coupled to line 108. OR gate 130 develops a buried register clock signal (CPB) on a line 138, and OR gate 132 develops a output register clock signal (CPO) on a line 140. Line 138 is coupled to the clock input of buried register 78, and line 140 is coupled to the clock input of output register 80. As mentioned previously, logic device 10 operates on three input logic levels, namely LO, HI, and ZHI. The logic device 10 has four modes of operation, namely the logic mode, the preload mode, the verify mode, and the program mode. Of these four modes, the first three are associated with observing the contents of register pair 14, and the program mode is used to program the logic array 12. The four modes of operation will be discussed one at a time, commencing with the observability modes, and finishing with the programming mode. LOGIC MODE The logic mode of operation of logic device 10 will be discussed with reference to Figs. 1, 2a, and 2b. Fig. 2a is a truth table for the various input, output, and internal signals found in logic device 10, and Fig. 2b is the legend for Fig. 2a. The encircled letters A-P in Fig. 1 correspond to the encircled letters A-P of Fig. 2a. When in the logic mode, data of either output register 80 or of buried state register 78 can be observed under user control by producing an OBSPT signal on line 56. To observe the data of output register 80, the OBSPT signal on line 56 must be LO, and to observe the data of the buried state register 78 the OBSPT on line 56 must be HI. The OBSPT is produced within logic array 12 from the various inputs 36 and 38. When in the logic mode, none of pins 1, 2, 5, or 11 are zenered. Thus, the PRELOAD signal on line 82 is LO, the IPREEN signal on line 105 is HI, the OBSD signal on line 106 is HI, the IOBSPRE signal D on line 116 is HI, and the IOBSVER signal on line 118 is HI. Since the PRELOAD enable inputs of buried register 78 and output register 80 are not enabled by the PRELOAD signal, register pair 14 operate as standard Set/Reset (SR) or D-type registers. Since the IPREEN signal on line 105 is HI, the output signals at L and M of AND gates 126 and 128, respectively, are LO. Therefore, the CLOCK signal on line 108 is inverted by OR gates 130 and 132 and are output on lines 138 and 140, respectively, as clock signals CPB and CPO. It should be noted that when in the logic mode, clock signals CPB and CPO are synchronized, and are essentially an inverted image of the CLOCK signal. Therefore, buried registers 78 and output register 80 are clocked together during the logic mode, and the device 10 operates as if it only had a single clock. Every clock cycle the buried register 78 and the output register 80 clock in data from the outputs of data sense amplifier 34 and 32, respectively. The data being clocked into registers 78 and 80 will, after a short internal delay, show up at outputs QB and Q, respectively. Multiplexer 16 couples either the Q output of output register 80 or the QB output of buried register 78 to line 84 under the control of the IOBS and the OBS signals on lines 86 and 88, respectively. Since the OBSD signal on line 106, the IOBSPRE signal on line 116, and the IOBSVER signal on line 118 are all HI, the OBS signal on line 88 is essentially the same as the OBSPT signal on line 56. When OBS on line 88 is HI and IOBS on line 86 is LO, QB is multiplexed to line 84, and in the inverse case Q is multiplexed to line 84. Thus, when in the logic mode, a logical HI signal on line 56 allows the observation of the contents of buried register 78, while a logical LO signal on line 56 allows the observation of output register 80. PRELOAD MODE Still referring to Figs. 1, 2a, and 2b, to preload the buried register 78 and output register 80 the pin 2 is raised to a ZHI logic level, which causes the PRELOAD signal on line 82 to go HI, the IPREEN signal on line 105 to go LO, and the OBSD signal on line 106 to go LO. The HI on line 82 enables the preload inputs of buried register 78 and output register 80. The HI on line 82 furthermore disables multiplexer 16, causing its output on line 84 to be tri-stated via an inverted enable input EN. The LO logic level IPREEN signal on line 105 enables AND gates 126 and 128, and the LO logic level OBSD signal on line 106 disables AND gate 120, causing the signal level on line 124 to go LO. If the input signal on pin 5 is LO or HI, the signal IOBSPRE on line 116 will be HI, as will be the IOBSVER signal on line 118. Since the signal level on line 124 is LO, and the signals on lines 116 and 118 are HI, the OBS signal on line 88 will be LO, and the IOBS signal on line 86 will be HI. Furthermore, since line 86 and 88 are also inputs to the clock buffer 22, a HI signal for IOBS and a LO signal for OBS enables AND gate 126 and disables AND gate 128. Since the IPREEN signal on line 105 is LO, the output of AND gate 126 is HI and the output of AND gate 128 on line 136 is LO. Thus, the CPB signal on line 138 must always be HI, while the signal CPO on line 140 will be the inverse of the CLOCK signal on line 108. In consequence, only output register 80 will be clocked when pin 2 is at a ZHI level and pin 5 is at a LO or HI level, and only output register 80 will be preloaded via a line 84. If pin 5 is raised to ZHI while pin 2 is still at a ZHI level, IOBSPRE on line 116 is forced LO which, in turn, forces OBS on line 88 HI and IOBS on line 86 LO. As mentioned previously, multiplexer 16 is disabled and its output on line 84 is tri-stated during the preload cycle. Furthermore, the OBS and IOBS signals on lines 88 and 86, respectively, disable AND gate 126 and enable AND gate 128. Thus, when OBS is HI and IOBS is LO, CPO on line 140 is HI while CPB on line 138 is essentially an inversion of the clock signal on line 108. In consequence, only buried register 78 is clocked and thus only buried register 78 preloads data from line 84. It is important to note that clock buffer 22 operates differently in the preload mode than it did in the logic mode. As mentioned previously, in the logic mode CPB and CPO were essentially the same clock signals. However, in the preload mode only one of the clock signals CPB and CPO is activated at a time under the control of the input signal applied to pin 5. The preload waveforms will be discussed with reference to Fig. 3. Time delays or periods are indicated by tD, and are not necessarily to scale. During a first period 300, Pin 5 is raised to ZHI if the buried state registers are to be preloaded, and is HI or LO if the output registers are to be loaded. During period 302, pin 2 is raised to ZHI to preload enable the buried register 78 and the output register 80. After a time delay in period 304, the preload data is clocked into the selected register during a period 306. After time delay periods 308 and 310 the ZHI logic level on pin 2 is removed and the preload cycle is completed. VERIFICATION MODE The verification mode can be used to verify product terms stored within logic array 12. Since all of the product terms are associated either with a buried register 78 or an output register 80, it is necessary to clock the desired product term into a register and then observe the contents of that register. To enter the verification mode, pin 11 is forced to a ZHI level which, in turn, forces OBSD on line 106 to a LO, and PVCC on line 46 to a HI. The HI logic level PVCC signal on line 46 is input to logic array 12 to enable appropriate gates within the logic array so that individually selected product terms are developed on the array outputs 52 and 54. The HI logic level PVCC signal is also input into NAND gates 100 and 102. As before, the LO logic level OBSD signal on line 106 forces AND gate 120 to output a LO logic level signal on line 124. Pin 5 is used to select either the output QB of buried register 78 or the output Q of register 80 for observation. When pin 5 is LO, signal I5 on line 114 is HI and signal IOBSVER on line 118 is LO. This, in turn, forces OBS on line 88 to go HI and IOBS on line 86 to go LO. Since IPREEN on line 105 is HI, CPB on line 138 and CPO on line 140 are essentially inversions of the CLOCK signal on line 108. Thus, individually selected product terms from logic array 12 are being loaded into buried register 78 and output register 80 on a CLOCK pulse. With OBS on line 88 HI, multiplexer 16 selects input QB for output on line 84. When pin 5 is HI, signal I5 on line 114 is forced LO and IOBSVER on line 118 is forced HI. Since the signal on line 124 is LO, IOBSPRE on line 116 is HI, and IOBSVER on line 118 is HI, the OR gate 122 forces the OBS signal on line 88 to a LO level and IOBS on line 86 to a HI level. Again, individually selected product terms from logic array are clocked into buried register 78 and output register 80 on a CLOCK pulse. However, multiplexer 16 is caused to select input Q for output on line 84 when pin 5 is forced HI. Referring now to Fig. 4, the verification waveforms will be discussed. As before, tD represents a time delay or period, and is not necessarily to scale in the drawings. Starting in period 410, pin 11 is at the ZHI level to force device 10 into its verification mode. After a time delay in period 410, a CLOCK signal is applied to pin 1 to permit individually selected product terms from logic array 12 to be clocked into buried register 78 and output register 80. The data output at pin 40 is stable after the end of period 412. PROGRAMMING MODE Referring now to Figs. 1 and 4, to enter the programming mode the CLOCK signal, if present, is removed from pin 1 and a ZHI signal is applied to pin 1. The ZHI level signal on line 108 forces OBSD on line 106 to go LO, causing signal on line 124 to also go LO and the PVCC signal on line 46 to go HI. Control logic within logic array 12 is activated by the HI level PVCC signal on line 46 to permit individually selected product terms within logic array 12 to be programmed. Referring more particularly to the waveforms of Fig. 4, after a settling period 400, pin 1 is raised to ZHI during period 402. Column addresses are applied to various input pins, and a programming voltage VOP, is applied to the device 10 during a period 404. During period 406, pin 11 is raised to ZHI to blow the appropriate fuse of the individually selected product term. In the present implementation of device 10, a blown fuse is a logical LO as verified on an appropriate output pin. With reference to Fig. 5, an observability buffer 20' includes a number of bipolar NPN transistors 510, 512, 514, 516, 518, 520, and 522; a number of diodes (rectifiers) 524, 526, 528, 530, and 532; and a number of resistors 534, 536, 538, 540, 542, 544, 546, and 548. A fuse 550 is provided to balance a fuse within logic array 12 (not shown). When in the logic mode, OBSD, IOBSPRE, and IOBSVER are all HI, and the OBSPT signal on line 56 controls the outputs of observability buffer 20'. When OBSPT is LO, the base of transistor 510 will be LO, causing the transistor to turn off. This will force the base of transistor 512 HI, causing it to conduct and thereby turning off transistor 514 and turning on transistor 516. This, in turn, causes the OBS signal on line 88 to go LO, turns off transistor 518, turns on transistor 520, and turns off transistor 522 to raise the IOBS signal on line 86 to HI. When in the logic mode and when OBSPT is HI, transistor 510 is turned on, forcing the base of transistor 512 to a LO signal level. This causes transistor 512 to turn off, transIstor 514 to turn on, and transistor 516 to turn off, causing the OBS signal on line 88 to go HI. The base of transistor 518 is coupled to line 88 by diode 530 and will therefore also be at a HI logic level, turning on transistor 518 and 522, with the result that the IOBS signal on line 86 will go LO. In the preload mode, the OBSD signal on line 106 is LO, which pulls the base of transistor 510 down to a LO logic level, shutting it off. In consequence, the OBSPT signal on line 56 is disabled. Since, in the preload model the IOBSVER signal on line 118 is always HI, the IOBSPRE signal on 116 will control the outputs of observability buffer 20'. When the IOBSPRE signal on line 116 is HI, transistor 512 is turned on, shutting off transistor 514 and turning on transistor 516. The OBS signal on line 88 will therefore be LO when the IOBSPRE signal 116 is HI. The IOBS signal on line 86 will be the inversion of the OBS signal on line 88 (i.e. HI) because transistors 518 and 522 will be off, and transistor 520 will be on. When the IOBSPRE signal on line 116 is LO, the base of transistor 512 is pulled LO, shutting off transistor 512. This, in turn, turns on transistor 514 and turns off transistor 516, causing the OBS signal on line 88 to go HI and the IOBS signal on line 86 to go LO. In the verify mode, the OBSD signal on line 106 is LO which ensures that transistor 510 is off and that the OBSPT signal on line 56 is disabled. Since the IOBSPRE signal on line 116 is always HI, the IOBSVER signal on line 118 controls the outputs of the observability buffer 20'. The IOBSVER signal on line 118 controls the observability buffer 20' during the verify mode in the same manner that the IOBSPRE signal on line 116 controls the observability buffer 20' during the preload mode. The observability buffer 20' can be thought of as being comprised of three stages, namely an input stage 552, a first inversion stage 554, and a second inversion stage 556. The input stage 552 is responsive to a first input signal OBSPT, a second input signal OBSD, a third input signal IOBSPRE, and a fourth input signal IOBSVER, and is operative to develop an intermediate signal on a line 558. In effect, transistor 510 and diodes 524 and 526 cooperate to perform the logical NAND operation on the OBSPT and OBSD signals, and line 558 serves as a hard-wired AND for the signal on the collector of transistor 510 and for the IOBSPRE and IOBSVER signals. The first inversion stage 554 and the second inversion stage 556 are substantially identical, and are coupled together by diode 530. It should be noted that the logic gates of observability buffer 20 of Fig. 1 are slightly different than the logic embodied in the three stages of observability buffer 20' of Fig. 5. This serves as an example that there are many possible logic gate combinations for the observability buffer which can produce the results shown in the truth table of Fig. 2a. The foregoing description of the preferred embodiment of the present invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. It is possible that the invention may be practiced in many fabrication technologies in MOS or bipolar processes. Similarly, any process steps described might be interchangeable with other steps in order to achieve the same result. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto.

Claims: A programmable logic device comprising: programmable logic array means (12) having a plurality of array inputs (42,44) and a plurality of array outputs (52,54); a number of input/output ports (40); and a number of pairs of register devices each such pair including an output register (80) having an output register input (D) coupled to a first one of said array outputs (52), and a buried register (78) having a buried register input (D); characterised in that said buried register input (D) of each said pair is coupled to a second one of said array outputs; and characterised by multiplexer means (16) responsive to a register select signal (OBS, IOBS) derived from a respective output (56) from said array (12) and, arranged to selectively couple said register pairs to a shared one of said input/output ports (40) whereby a buried register output (QB) of said buried register and an output register output (Q) of said output register may be selectively coupled to said input/output port; and register select means operative to pass said register select signal to said multiplexer. A programmable logic device as claimed in Claim 1, characterised in that said register select means includes an observability buffer (20) responsive to said respective array output (56) in the form of an observability product term (OBSPT) developed at one of said array outputs, said observability buffer developing said register select signal, when in a logic mode. A programmable logic device as claimed in any preceding claim, characterised by a clock buffer (22) responsive to a master clock signal (CLK) and operative to produce a buried register clock signal (CPB), and an output register clock signal (CPO), and characterised in that said buried and output registers are responsive to said buried register and output register clock signals, respectively. A programmable logic device as claimed in Claim 3, characterised in that said clock buffer (22) is further responsive to said register select signal (OBS,IOBS) to determine whether said buried register clock signal or said output register clock signal is disabled. A programmable logic device as claimed in Claim 2, 3 or 4, characterised in that said observability buffer (20) is further responsive to a first control signal (OBSD) supplied from a first terminal pin (11) by way of a first zenered buffer gate (94) whereby the first control signal is effective only on the application of a voltage (ZH1) which is above the supply voltage of the device to said first terminal pin, to disable the effect of said observability product term (OBSPT) on the observability buffer. A programmable logic device as claimed in any one of Claims 2 to 5, characterised in that said observability buffer (20) determines said register select signal (OBS, IOBS) to cause said buried register clock signal (CPB) to be disabled in response to said first control signal (OBSD). A programmable logic device as claimed in Claim 5 or 6, characterised in that said observability buffer determines said register select signal (OBS, IOBS) to cause said output register clock signal (CPO) to be disabled in response to said first control signal (OBSD) and a second control signal (OBSPRE) supplied from a second terminal pin (5) of the device by way of a second zenered buffer gate (98) whereby said second control signal is only effective on the application of a voltage (ZH1 ) which is above the supply voltage of the device, to said second terminal pin. A programmable logic device as claimed in any one of Claims 2 to 7, characterised in that said observability buffer (20) includes an input stage (120) responsive to said observability product term (OBSPT) and said first control signal (OBSD) to produce an intermediate control signal (124); and an output stage (122) responsive to said second control signal (IOBSPRE), a third control signal (IOBSVER), and said intermediate control signal (124) to produce said observability signal (OBS, IOBS). A programmable logic device as claimed in Claim 8, characterised in that said observability buffer (20) also produces the inverse (IOBS) of said observability signal (OBS), and said multiplexer means (16) is also responsive to said inverse signal. A programmable logic device as claimed in Claim 8 or 9, characterised in that said input stage includes first transistor means (552), and wherein said observability product term and said first control signal are both coupled to a control gate of said transistor means. A programmable logic device as claimed in Claim 10, characterised in that said observability product term (OBSPT) is coupled to said control gate through a forward biased rectifier (526), and wherein said first control signal (OBSD) is coupled to said control gate through a reverse biased rectifier (524). A logic device as claimed in Claim 11, characterised in that said first transistor means includes an NPN transistor (510) having an emitter, a base, and a collector, said base comprises said control gate, said emitter is coupled to a lower potential than said collector, and in that said second (IOBSPRE) and third (IOBSVER) control signals are coupled to said collector, and said intermediate control signal (124) is derived from said collector. A programmable logic device as claimed in any one of Claims 8 to 12, characterised by a first inversion stage (554) responsive to said intermediate, first and second control signals, including a transistor means having a control gate coupled to said intermediate first and second control signals. A programmable logic device as claimed in Claim 13, characterised in that said transistor means includes a first NPN transistor (512) having an emitter, a base, and a collector, where said base is coupled to said control gate of the NPN transistor of said first transistor means, and where said emitter is coupled to a lower potential than said collector. A programmable logic device as claimed in Claim 14, characterised in that said first inversion stage further includes a second NPN transistor (514) having an emitter, a base, and a collector, where said base of said second NPN transistor is coupled to said collector of said first NPN transistor; and a third NPN transistor (516) having an emitter, a base, and a collector, where said base of said third NPN transistor is coupled to said emitter of said first NPN transistor. A programmable logic device as claimed in Claim 15, characterised in that said collector of said second NPN transistor (514) is coupled to a higher potential than said emitter of said third NPN transistor; said emitter of said second NPN transistor is coupled to said collector of said third NPN transistor by a forward biased rectifier (528), and said observability signal (OBS) is derived from said collector of said third NPN transistor. A programmable logic device as claimed in any one of Claims 8 to 16, characterised by a second inversion stage (556) responsive to said observability signal (OBS) and including second transistor means having a control gate coupled to said observability signal. A programmable logic device as claimed in Claim 17, characterised in that said control gate is coupled to said observability signal by a rectifier (530); and said second transistor means includes a first NPN transistor (518) having an emitter, a base, and a collector, where said base comprises said control gate, and where said emitter is coupled to a lower potential than said collector. A programmable logic device as claimed in Claim 17 or 18, characterised in that said second inversion stage further includes a second NPN transistor (520) having an emitter, a base, and a collector, where said base of said second NPN transistor is coupled to said collector of said first NPN transistor; and a third NPN transistor (522) having an emitter, a base, and a collector, where said base of said third NPN transistor is coupled to said emitter of said first NPN transistor. A programmable logic device as claimed in Claim 19, characterised in that said collector of said second NPN transistor is coupled to a higher potential that said emitter of said third NPN transistor; said emitter of said second NPN transistor is coupled to said collector of said third NPN transistor by a forward biased rectifier (532); and said inverted observability signal (IOBS) is derived from said collector of said third NPN transistor. A programmable logic device as claimed in any one of Claims 3 to 20, characterised in that said buried register (78) and said output register (80) have respective preload data inputs (PD) coupled to said Input/Output port (40), and in that said clock buffer (22) is further responsive to a preload enable signal (PREEN), such that either said buried register clock signal or said output register clock signal may be selectively disabled so that only one register may be preloaded at a time with a data signal applied to the input/output port (40), when in a preload mode. A programmable logic device as claimed in Claim 21, characterised in that said buried register and said storage register clock signals are synchronised in the absence of said preload enable signal (PREEN). A programmable logic device as claimed in Claim 21 or 22, characterised in that said pre-load enable signal (PREEN) is supplied from a third terminal pin of the device by way of a third zenered buffer gate (92) whereby the pre-load enable signal is effective only on the application of a voltage (ZH1 ) which is above the supply voltage of the device, to said first terminal pin. A programmable logic device as claimed in Claim 21, 22 or 23 characterised in that said buried register and said storage register each have a pre-load enable input (P D ) responsive to a pre-load signal (PRELOAD) to pre-load the registers with a signal applied to their respective pre-load data inputs. A programmable logic device as claimed in Claim 24, characterised in that said multiplexer means (16) is further disenabled in response to said pre-load signal (PRELOAD). A programmable logic device as claimed in Claim 24 or 25, as dependent upon Claim 7, characterised in that said pre-load enable signal (PRELOAD) is supplied from said third terminal pin (2) of the device by way of a fourth zenered buffer gate (90) whereby the pre-load signal is effective only on the application of said voltage (ZH1).

Inventors: SHANKAR KAPIL, YOUNG MICHELE, SHANKAR, KAPIL, YOUNG, MICHELE
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1987
Main classification: G06F11
IPC codes: H03K19, G06F11, G06F7, G01R31