1. Field of the Invention
The present invention generally relates to an architecture and methodology in which the connectivity between cores, in a system-on-chip, can be verified to prevent connectivity errors, and help in verifying large designs.
2. Description of the Related Art
System-on-chip manufacturers receive system cores and integrate these system cores onto a chip. These system-on-chip manufacturers are concerned about the connections between the system cores and need a system and method to guarantee correct connectivity between the system cores.
As the capacities of integrated circuits continue to increase, more and more circuits are being integrated onto the same die. In the interest of time to market, larger numbers of logic cores are being used on the same die as well. Simple connectivity mistakes will become more likely given this growth in the size of system-on-chip designs.
The traditional solution to this problem is a thorough simulation of the chip at the top level. This solution becomes less feasible as chips grow larger due to an increase in complexity of function and exponential growth in the functional range to be simulated. For example, corner cases will be less likely to be hit in a reasonable amount of time.
IEEE specification 1149.1, otherwise known as Joint Test Action Group, has been used to check connectivity for chips on boards through scan chain structures. In this procedure, patterns are scanned into a chain on the outputs of a device, the signals are clocked into a scan chain on the inputs, and then the results are scanned out and compared against the input pattern. Similar concepts can be applied to on-chip cores. However, unique work must be done for each particular system-on-chip implementation to generate unique scan patterns.
Other conventional methodologies exist to check inter-core connections in processor-based system-on-chips. These conventional methodologies use specific, directed accesses over the processor-to-core interconnect to verify inter-core connectivity. This conventional methodology requires a large amount of simulation resources because the entire chip is being simulated. Further, this conventional methodology is not capable of checking every inter-core connection. Rather, only those inter-core connections that are within the processor interconnect hierarchy are checked.
Therefore, there exists a need to provide checking of all inter-core connections without requiring the testing of the entire chip functionality.
Further, there exists a need for minimizing the amount of simulation.
Additionally, a need exists for checking inter-core connectivity for any core interface in which two cores from a library are connected to one another.
In view of the foregoing and other exemplary problems, drawbacks, and disadvantages of the conventional methods and structures, an exemplary feature of the present invention is to provide a method and structure which verifies system-on-chip connectivity.
In a first exemplary aspect of the present invention, a system-on-chip interconnect verification circuit includes a first linear feedback shift register coupled to an output interface of a first system-on-chip component, a second linear feedback shift register instantiated in a second system-on-chip component, and a comparator coupled to input interface of the second system-on-chip, and the output of the second linear feedback shift register.
In a second exemplary aspect of the present invention, a method of verifying an interconnect between system-on-chip components on an integrated circuit includes connecting a first linear feedback shift register to an output interface of a first system-on-chip component, instantiating a second linear feedback shift register in a second system-on-chip component, generating a pseudo-random number sequence with the first linear feedback shift register and the second linear feedback shift register using an identical first initial state, and comparing an output of the first linear feedback shift register with an output of the second linear feedback shift register and reporting a miss-compare.
In a third exemplary aspect of the present invention, a system for simulating system-on-chip interconnect verification includes instructions for simulating a first linear feedback shift register coupled to an output interface of a first system-on-chip component, instructions for simulating a second linear feedback shift register coupled to an input interface of a second system-on-chip component, instructions for simulating a comparator coupled to second linear feedback shift register and the input interface of the second system-on-chip, instructions for generating a pseudo-random number sequence with the first linear feedback shift register and the second linear feedback shift register using an identical initial state, and instructions for comparing a simulated output of the first linear feedback shift register with a simulated output of the second linear feedback shift register and reporting a miss-compare.
An exemplary embodiment of this invention provides an architecture and methodology in which the connectivity between cores, in a system-on-chip, can be verified to prevent connectivity errors, and to help in verifying large designs.
An exemplary embodiment of the present invention works at the core interface level, and is independent of other chip structures. Patterns may be generated internally, and no unique work is required to perform checks of the connections.
An exemplary embodiment of the present invention uses Linear Feedback Shift Registers at the inputs and outputs of cores to verify connectivity of integrated digital cores.
In an exemplary embodiment of the present invention two identical Linear Feedback Shift Registers are instantiated, one at the outputs of a core interface, and one at the inputs of the core at the sinks of the connect nets of the outputs. The cores operate in a “connectivity verification” mode, in which the Linear Feedback Shift Registers drives the outputs, cycles through the Linear Feedback Shift Registers states on the clock, and then the outputs of the input Linear Feedback Shift Register are compared against the incoming values each cycle. Miss-compares represent a connection error. Modifications may be made to accommodate addressed bus-structures.
Further, an exemplary embodiment of the present invention only requires the simulation of the linear feedback shift registers, multiplexors, and comparators. There is no need to run a simulation of the full chip functions, and as such, the simulation time is greatly reduced by the present invention.
These and many other advantages may be achieved with the present invention.
The foregoing and other exemplary purposes, aspects and advantages will be better understood from the following detailed description of an exemplary embodiment of the invention with reference to the drawings, in which:
Referring now to the drawings, and more particularly to
An exemplary embodiment of the present invention uses Linear Feedback Shift Registers. These Linear Feedback Shift Registers may include an implementation of a shift register, in which the last bit is fed back to the first bit, and exclusive-OR'd into a select number of other bits. Selection of these bits can be made to produce appropriately long pseudo-random number sequences.
In an exemplary embodiment of the present invention one Linear Feedback Shift Register is created and the outputs from its registers are connected to a core's outputs. An identical Linear Feedback Shift Register is created on the target of the interface. Every core with a specific type of interface should have the same Linear Feedback Shift Register, with the same bits of the Linear Feedback Shift Register connected to the same pins.
If the interface for a core has some configurability to it, such as, for example, optional pins or varying bus-widths, then the Linear Feedback Shift Register should be large enough to accommodate every configuration of that core, with the same bits of the Linear Feedback Shift Register connected to the same pins, regardless of instantiated configuration.
The Linear Feedback Shift Registers for an input/output pair should be seeded with the same seed value, with care such that if there are multiple instantiations of the interface, then each interface gets a unique seed value. Improperly connected pins will be attached to different bits of either the same Linear Feedback Shift Register or a different Linear Feedback Shift Register, and the possibility of a substantially long bit sequence matching is extremely small.
The output of each shift register 212 is provided to a corresponding multiplexor 216. The multiplexors 216 determine which of the output from each shift register 212 or the normal pin function from the outputs 210 of the normal core operation are provided to the inter-core connections 206.
The second linear feedback shift register 218 is formed at the inputs to the second core 204. The second linear feedback shift register 218 is identical to the first linear feedback shift register 208.
A series of Exclusive-NOR logic elements 220 are connected to the inter-core connections 206 and the corresponding outputs from the shift registers of the second linear feedback shift register 218. The outputs from the Exclusive-NOR logic elements 220 are examined to determine whether there is any error in the inter-core connections.
In accordance with an exemplary embodiment of the present invention, the seed value for the Linear Feedback Shift Registers may be determined based upon a simulation such that each unique interface is seeded with a unique value. This logic may be included in the design source and is flagged for deletion in the synthesis flow.
In an exemplary operation of the present invention to check the inter-core connections 306, the Linear Feedback Shift Registers 308 and 318 are seeded with 0×FF. Table 1 below illustrates how the connection sequence identifies the error. On the fifth, seventh, and eighth cycles the compare outputs are non-zero, indicating a connection error on the respective bits.
A second exemplary embodiment of the present invention provides secondary models (i.e. separate VHDL architectures) that are created alongside the source, in which the same Linear Feedback Shift Registers may be instantiated. These secondary models may be simulated in the design to verify connectivity, and this simulation will be faster. Since these are different models, they will not be included in synthesis.
A third exemplary embodiment of the present invention verifies connectivity on shared bus networks. If all devices on a shared signal can drive and sample, then only one connection sequence needs to be performed. However, if there is more than one device that can drive, but not sample, then a separate connection sequence will need to be performed for each such device.
In this regard,
In cases where devices are only partially connected, yet another exemplary embodiment of the present invention may check connectivity by only considering the compare bits of pins that are connected.
For example,
While this exemplary embodiment was illustrated with reference to an eight bit bus, the present invention may be used on an interface having any width, as well as any number of dropped connections.
For cases in which the bus does not have a tri-state architecture, additional control may be supplied. In these cases, master and slave cores may be connected with some additional glue logic to gate off outputs of cores to prevent multiple driving.
In this exemplary embodiment, the data bus 602 and enable 604 from each core 606, 608, 610, and 612 are connected to an AND logic element 614. Each AND logic element 614 is, in turn, connected to an OR logic element 616. The output of the OR logic element is connected to “data_in” 618 of each core 606, 608, 610, and 612. Therefore, the data bus 602 is ANDed with an enable 604 from each core, and subsequently ORed to form the net that will be input 618 to each core 606, 608, 610, and 612.
To check the connectivity of this architecture 600, the enable output 604 is overridden and set to one for the core whose driving connectivity is being checked. The other enable outputs 604 are set to zero. For this exemplary embodiment this step is repeated four times, once for each device core 606, 608, 610, and 612 that is capable of “driving” the bus. Note that the connectivity of the enable pin 604 itself is not checked.
The above-described exemplary embodiments may rely on software control of the simulation to set the Linear Feedback Shift Register values and to start and stop checking. However, control of the Linear Feedback Shift Registers may be handled entirely in hardware as illustrated by the following description of exemplary embodiments.
Given the above non-tri-state architecture, as illustrated by
At the top chip level, the parameters are chosen such that no two cores are connected to the same decode bit. Note that the size of the decoder should be large enough to accommodate the maximum number of devices allowed on one interface. The input Linear Feedback Shift Register is extended by the same two bits, but only the original bits are compared with the input signals.
At the chip level, there may be multiple instantiations of the same interface as illustrated in
An exemplary embodiment of the present invention may address this situation. Given the two enet link/phy interfaces, if a bad connection was made between the “datavalid” pins, then if both Linear Feedback Shift Registers (not shown) are started with the same seed value, this bad connection will not be detected.
There are multiple ways to address the false positive results. One is to override the seed value using simulation control software. Another is to implement the initial seed values as overriding parameters in the design source, such that at the top level, an automatically generated list of parameter overrides sets the seed values, and these types of false positives are resolved.
Another exemplary embodiment of the present invention uses this same idea to verify connectivity of cores on the chip boundary. Cores connecting off chip can have the core-to-chip pin connection tested through use of simulation models containing Linear Feedback Shift Registers for connectivity testing. The chip may be simulated connected to these models, which then verifies the connectivity of the boundary cores to the chip pins.
An exemplary embodiment of the present invention may also be used to check pin connections that are specified to be connected to power or ground as illustrated by
In step S1106, for each instance of the set of multiple instances of the same interface the control routine executes step S1108. In step S1108, the control routine picks a random seed value for each linear feedback shift register.
After the loop from step S1106 is completed, the control routine continues to step S1110. In step S1110 a loop is initiated for each interface on the chip that continues with step S1112. In step S1112, the control routine initiates a sub-loop for each non-sampling driver on the current interface that starts at step S1114.
In step S1114, the control routine sets seed values for the linear feedback shift registers, operates the linear feedback shift register and then continues to step S1116. In step S1116 the control routine determines whether any miss-compare bits were asserted. If in step S1116, the control routine determines that a miss-compare bit was asserted, the control routine continues to step S1118. In step S1118, the control routine fixes the miss-compare bits that were asserted and returns to step S1110.
On the other hand, if in step S1116, the control routine determines that no miss-compare bit was asserted, then the control routine returns to step S1112.
After the control routine processes each interface at step S1110, the control routine finishes at step S1120.
The CPUs 1211 are interconnected via a system bus 1212 to a random access memory (RAM) 1214, read-only memory (ROM) 1216, input/output (I/O) adapter 1218 (for connecting peripheral devices such as disk units 1221 and tape drives 1240 to the bus 1212), user interface adapter 1222 (for connecting a keyboard 1224, mouse 1226, speaker 1228, microphone 1232, and/or other user interface device to the bus 1212), a communication adapter 1234 for connecting an information handling system to a data processing network, the Internet, an Intranet, a personal area network (PAN), etc., and a display adapter 1236 for connecting the bus 1212 to a display device 1238 and/or a printer 1240.
In addition to the hardware/software environment described above, a different aspect of the invention includes a computer-implemented method for performing the above method. As an example, this method may be implemented in the particular environment discussed above.
Such a method may be implemented, for example, by operating a computer, as embodied by a digital data processing apparatus, to execute a sequence of machine-readable instructions. These instructions may reside in various types of signal-bearing media.
This signal-bearing media may include, for example, a RAM contained within the CPU 1211, as represented by the fast-access storage for example. Alternatively, the instructions may be contained in another signal-bearing media, such as a magnetic data storage diskette 1300 (
Whether contained in the diskette 1300, the computer/CPU 1211, or elsewhere, the instructions may be stored on a variety of machine-readable data storage media, such as DASD storage (e.g., a conventional “hard drive” or a RAID array), magnetic tape, electronic read-only memory (e.g., ROM, EPROM, or EEPROM), an optical storage device (e.g. CD-ROM, WORM, DVD, digital optical tape, etc.), paper “punch” cards, or other suitable signal-bearing media. In an illustrative embodiment of the invention, the machine-readable instructions may comprise software object code, compiled from a language such as “C”, etc.
While the invention has been described in terms of several exemplary embodiments, those skilled in the art will recognize that the invention can be practiced with modification. For example, the Linear Feedback Shift Registers used in the above-descriptions are based on the polynomial 0×07 for demonstration purposes only and any Linear Feedback Shift Register may be used and still practice the invention.
Further, it is noted that, Applicant's intent is to encompass equivalents of all claim elements, even if amended later during prosecution.
The present Application is a Continuation Application of U.S. patent application Ser. No. 10/906,388, filed on Feb. 17, 2005.
Number | Date | Country | |
---|---|---|---|
Parent | 10906388 | Feb 2005 | US |
Child | 11819748 | US |