Integrated circuit test-port architecture and method and apparatus of test-port generation
AssigneeSandia Corporation
InventorJohn Teifel
Life of this patent
Estimating the term…
Abstract
A method and apparatus are provided for generating RTL code for a test-port interface of an integrated circuit. In an embodiment, a test-port table is provided as input data. A computer automatically parses the test-port table into data structures and analyzes it to determine input, output, local, and output-enable port names. The computer generates address-detect and test-enable logic constructed from combinational functions. The computer generates one-hot multiplexer logic for at least some of the output ports. The one-hot multiplexer logic for each port is generated so as to enable the port to toggle between data signals and test signals. The computer then completes the generation of the RTL code.
Claims11
A design method for integrated circuits, comprising:
- in a data structure referred to here as a “specification table”, providing a configuration that relates defined signals to corresponding test-port pins of a test-port interface according to each of a plurality of defined test modes, wherein:
- (a) some but not all of the test-port pins are designated as address pins that are to be used to specify what test mode is to be enabled according to what signal values are applied to them, and (b) the different test modes have different configurations;
- in a digital data-processing machine, responsive to the specification table, automatically analyzing pin requirements for the test-port interface, wherein said analysis includes determining port names for at least input signals, output signals, local signals, and output-enable signals;
- in a digital data-processing machine, generating address-detect logic and test-enable logic, wherein:
- (a) said logic is combinational;
- and (b) said logic is adapted to respond to the signal values on the address pins by enabling at each given time only such test mode as corresponds to the values of those signals at that time;
- in a digital data-processing machine, for at least some ports designated as output ports, generating multiplexer logic configured to allow only a single input at each given time, such that each said port can toggle between data signals and test signals;
- and
- recording a representation in RTL code of at least a test-port interface for an integrated circuit, wherein:
- (a) the RTL code includes said address-detect logic, said test-enable logic, and said multiplexer logic, and (b) the RTL code logically defines all wires and ports required to implement the configurations specified in the specification table.
A digital data processing machine comprising:
- a memory area containing a stored set of instructions that configure the said machine to read a plurality of configurations from input comprising a data structure referred to here as a “specification table”, wherein each of the configurations relates defined signals to corresponding test-port pins of a test-port interface according to each of a plurality of defined test modes, some but not all of the test-port pins are designated as address pins that are to be used to specify what test mode is to be enabled according to what signal values are applied to them, and the different test modes have different configurations;
- a memory area containing a stored set of instructions that configure the said machine to respond to the specification table by automatically analyzing pin requirements for the test-port interface, wherein said analysis includes determining port names for at least input signals, output signals, local signals, and output-enable signals;
- a memory area containing a stored set of instructions that configure the said machine to generate address-detect logic and test-enable logic, wherein said logic is combinational, and wherein said logic is adapted to respond to the signal values on the address pins by enabling at each given time only such test mode as corresponds to the values of those signals at that time;
- a memory area containing a stored set of instructions that configure the said machine to generate multiplexer logic for at least some ports designated as output ports, wherein the multiplexer logic is configured to allow only a single input at each given time, such that each said port can toggle between data signals and test signals;
- and
- a memory area containing a stored set of instructions that configure the said machine to record a representation in RTL code of at least a test-port interface for an integrated circuit, wherein:
- the RTL code includes said address-detect logic, said test-enable logic, and said multiplexer logic;
- and the RTL code logically defines all wires and ports required to implement the configurations specified in the specification table.
An integrated circuit, comprising:
- a core that can be tested by stimulating it with stimulus signals and observing observation signals that are generated in response to the stimulus signals;
- a circuit adapted to implement a plurality of distinct test-mode blocks, each of which is to be enabled for performance in a respective test mode;
- a plurality of bidirectional test-port pins;
- a multiplexer circuit adapted to enable the test-mode blocks to share a common group of the test-port pins for input and output and to merge the outputs of the respective test-mode blocks such that output from only one test-mode block at a time is enabled;
- a circuit adapted to enable only one test-mode block at a time according to its respective test mode and to determine which test mode block is to be activated in response to signal values on a plurality of test-port pins that are designated as address pins;
- and
- a circuit adapted to configure the test-port pins in a respective configuration for each of the test modes;
- wherein each test-mode block is adapted to monitor specified core observation signals and to drive specified core stimulus signals via at least some of the test-port pins;
- and
- wherein each configuration has a distinct mapping of functions to the test-port pins.
Dependencies are inferred from the claim text.