Embodiments generally relate to the design of printed circuit board (PCB) layouts (e.g., “floorplans”). More particularly, embodiments relate to artificial intelligence (AI) based component placement technology for PCB circuits.
PCB component placement typically involves the participation of highly skilled and experienced engineers, as it is becoming increasingly difficult and expensive to keep up with the demand as the number of central processing unit (CPU) stock keeping units (SKUs) and platforms grows. Although certain electronic design automation (EDA) tools may offer auto-placement routines, such tools are often not suitable for more complex circuit designs.
The various advantages of the embodiments will become apparent to one skilled in the art by reading the following specification and appended claims, and by referencing the following drawings, in which:
Turning now to
There are various design rules to be met as well as various design criteria that can be optimized. A partial list of the design rules and objectives are provided in Table I below.
The technology described herein includes an augmented intelligence approach that alleviates difficulties encountered in subcircuit placement. The technology reduces the workload for engineers and accelerates the learning curve for junior engineers. More particularly, embodiments are able to capture design constraints defined from multiple interactions and capture design user preferences.
The technology described herein uses a set of parameterized placement procedures that adhere to the design rules and constraints of the circuit. Additionally, a scoring of the placements has also been parameterized. For example, minimize (a*overlap-area+b*net-length+c*area) may be used, where a, b, c are optimization parameters.
This approach enables trade-offs to be made among user preferences such as component overlap, area, net-length and so forth. The parameterization of the procedures avoids the difficulties of direct placement (xi, yi, roti) optimization and permits the use of federated learning (e.g., only parameters are saved, not the actual placements). Federated learning enables embodiments to 1) build personal models for capturing the preferences of individual designers, 2) build a global model to improve overall placement quality of the artificial intelligence (AI) tool, and 3) protect data privacy.
Indeed, the design files for different entities (e.g., customers) may not be able to be shared. Using federated learning can keep the files local to protect data confidentiality and avoid compliance issues. Applying federated learning to circuit placement usage as described herein uses the rating of different placement options by one user to train a personal model of placement parameters (e.g., enabled by parameterized placement). Using this method, the experience and personal preferences of a designer can be effectively captured. By aggregating the ratings of all users, a global model of placement parameters can be built as the default model for any user (e.g., capturing the experience and considerations of multiple design factors from all of the designers participating in the local rating sessions).
The result is faster placements than manual placement (e.g., ˜3.5 hours to place components on a PCB using the technology described herein compared to days under design engineer manual placement). Embodiments also facilitate junior engineer training, provide superior performance over existing auto-placement routines, enable trainability through machine learning, and are suitable to federated learning). As already noted, the AI-based technology described herein can reduce the PCB component placement time from days (e.g., manual efforts) to hours. Compared to manually placing components one by one, embodiments can place tens of subcircuits (e.g., each containing tens of components) simultaneously and in parallel within hours. The technology described herein generates and recommends a few top scored placement options for users to choose from. The combined leanings from expert rules and active labeling of placement options by experts produces superior placement quality (e.g., close to human expert placement) compared to existing auto-placement solutions.
The problem of subcircuit placement can be viewed as a multi-objective optimization problem:
Turning now to
There are numerous placement procedures (not shown), so choosing a placement procedure is also a parameter. Thus, the number of parameters for the placement procedures is not limited to fourteen (e.g., new parameters may be added as design complexities grow or with different sets of circuitries). Where some of the parameters can take on more than two values, the number of permutations is relatively high. Since each combination of parameters can generate a new placement, the number of possible placements from parameters is also substantially high. Machine learning technology is used to accelerate the discovery of the best set of parameters.
The various scoring procedures (e.g., netlength, area, alignment, uniformity, . . . ) can also be parameterized. It is this combined parameter space (placement+scoring) that lends itself to machine learning and federated learning and provides a highly evolvable scheme for future placement enhancements. Additionally, the federated learning feedback can provide valuable insight to junior engineers through the use of variable importance techniques. Moreover, the use of federated learning can provide a mechanism to create a stop/exit criteria for the machine learning and optimization schemes.
A single user (or entity) can rate the various options provided by the placement procedures (e.g., many placements are possible). As the user provides the feedback, a machine learning model (e.g., decision tree) can be built to:
Both of these operations improve the performance of the placement and reduce the time taken to find optimal placements. Since the rating session 50 is local, the placement information can be used in conjunction with the learnings.
A federated learning approach can be applied to aggregate the “results” (e.g., the user-ranked scores) from local learning sessions. Since the results from local learning are purely parameters (e.g., design information and/or layout information is excluded), those results can used to build a global parameter/scoring model that can be distributed back to the entire user base.
Computer program code to carry out operations shown in the method 71 can be written in any combination of one or more programming languages, including an object-oriented programming language such as JAVA, SMALLTALK, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. Additionally, logic instructions might include assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, state-setting data, configuration data for integrated circuitry, state information that personalizes electronic circuitry and/or other structural components that are native to hardware (e.g., host processor, central processing unit/CPU, microcontroller, etc.).
Illustrated processing block 73 receives one or more parameters associated with one or more placements of a subcircuit in a bounded area. Block 75 conducts the one or more placements of the subcircuit in the bounded area with the received one or more parameters to obtain one or more parameterized placements. Block 77 conducts score collections for the parameterized placements. In one example, the score collections are parameterized score collections. Additionally, block 79 conducts a training of a local machine learning model based on the parameterized placements and the score collections. A determination is made at block 81 as to whether an exit condition is satisfied. In one example, block 81 includes determining whether a confidence level of the output of the local machine learning model has reached a confidence threshold and/or whether an error level of the output of the local machine learning model has fallen below an error threshold. If the exit condition has not been satisfied, the method 71 returns to block 73 (e.g., for a new user/entity). Otherwise, the method 71 terminates.
Illustrated processing block 74 receives parameter results and scores of one or more local sessions with respect to subcircuit components in a bounded area and block 76 aggregates the parameter results and scores. In one example, block 76 excludes design data and/or layout data from the aggregated parameter results. The aggregated parameter results may include, for example, a circuit rotation parameter, a recenter procedure parameter, a complexity order parameter, a size parameter, a pin location parameter, a group scheme parameter, a route length weight parameter, a power weight parameter, a convex hull parameter, a local fine tune parameter, an order scheme parameter, a pairing scheme parameter or a second pass parameter, etc., or any combination thereof.
The circuit rotation parameter refers to the rotation angle of a component, chosen from 0°, 90°, 180° and 270°. The recenter procedure parameter determines whether to place the circuit components at the center of the bounding box. The complexity order parameter determines the placement order of the components (e.g., which component is placed first). The size parameter refers to the component size. The pin location parameter refers to the pin location in each component. Therefore, the size parameter and pin parameter affect the complexity order parameter. The group scheme parameter determines whether certain components are grouped together to obtain better placement results. The route length weight parameter is the weight of netlength in the optimization objective. The power weight parameter refers to the power net lengths. The convex hull parameter is the convex hull bounding box of all the components. The local fine tune parameter fine tunes the locations of each component to obtain better placement results. The order scheme parameter and pairing scheme parameter are from machine learning of user preferences to generate results that better suit to the user. The second pass parameter determines whether a second run is appropriate based the placement quality.
Block 78 determines whether an exit (e.g., stop) condition has been satisfied. In one example, block 78 includes determining whether a confidence level of the aggregated parameter results and scores has reached a confidence threshold and/or whether an error level of the output of the aggregated parameter results and scores has fallen below an error threshold. If the exit condition has not been satisfied, the method 70 returns to block 74 (e.g., for a new user/entity). Otherwise, block 80 generates a global placement model based on the aggregated parameter results and scores.
The methods 70 and/or 71 (
Turning now to
Turning now to
In the illustrated example, the system 280 includes a host processor 282 (e.g., central processing unit/CPU) having an integrated memory controller (IMC) 284 that is coupled to a system memory 286 (e.g., dual inline memory module/DIMM including a plurality of dynamic RAMs/DRAMs). In an embodiment, an IO (input/output) module 288 is coupled to the host processor 282. The illustrated IO module 288 communicates with, for example, a display 290 (e.g., touch screen, liquid crystal display/LCD, light emitting diode/LED display), mass storage 302 (e.g., hard disk drive/HDD, optical disc, solid state drive/SSD) and a network controller 292 (e.g., wired and/or wireless). The host processor 282 may be combined with the IO module 288, a graphics processor 294, and an AI accelerator 296 (e.g., specialized processor) into a system on chip (SoC) 298.
In an embodiment, the AI accelerator 296 and/or the host processor 282 execute instructions 300 retrieved from the system memory 286 and/or the mass storage 302 to perform one or more aspects of the placement flow 30, the method 71 (
The computing system 280 is therefore considered performance-enhanced at least to the extent that generating the global placement model based on the aggregated parameter results and scores is faster than manual placement. Additionally, training the local machine learning model based on the parameterized placements provides more accurate results and facilitates the training of junior engineers/personnel. Moreover, excluding the design and/or layout data from the aggregated parameter results addresses privacy concerns while maintaining a relatively high level of accuracy.
The logic 354 may be implemented at least partly in configurable or fixed-functionality hardware. In one example, the logic 354 includes transistor channel regions that are positioned (e.g., embedded) within the substrate(s) 352. Thus, the interface between the logic 354 and the substrate(s) 352 may not be an abrupt junction. The logic 354 may also be considered to include an epitaxial layer that is grown on an initial wafer of the substrate(s) 352.
The processor core 400 is shown including execution logic 450 having a set of execution units 455-1 through 455-N. Some embodiments may include a number of execution units dedicated to specific functions or sets of functions. Other embodiments may include only one execution unit or one execution unit that can perform a particular function. The illustrated execution logic 450 performs the operations specified by code instructions.
After completion of execution of the operations specified by the code instructions, back end logic 460 retires the instructions of the code 413. In one embodiment, the processor core 400 allows out of order execution but requires in order retirement of instructions. Retirement logic 465 may take a variety of forms as known to those of skill in the art (e.g., re-order buffers or the like). In this manner, the processor core 400 is transformed during execution of the code 413, at least in terms of the output generated by the decoder, the hardware registers and tables utilized by the register renaming logic 425, and any registers (not shown) modified by the execution logic 450.
Although not illustrated in
Referring now to
The system 1000 is illustrated as a point-to-point interconnect system, wherein the first processing element 1070 and the second processing element 1080 are coupled via a point-to-point interconnect 1050. It should be understood that any or all of the interconnects illustrated in
As shown in
Each processing element 1070, 1080 may include at least one shared cache 1896a, 1896b. The shared cache 1896a, 1896b may store data (e.g., instructions) that are utilized by one or more components of the processor, such as the cores 1074a, 1074b and 1084a, 1084b, respectively. For example, the shared cache 1896a, 1896b may locally cache data stored in a memory 1032, 1034 for faster access by components of the processor. In one or more embodiments, the shared cache 1896a, 1896b may include one or more mid-level caches, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, a last level cache (LLC), and/or combinations thereof.
While shown with only two processing elements 1070, 1080, it is to be understood that the scope of the embodiments are not so limited. In other embodiments, one or more additional processing elements may be present in a given processor. Alternatively, one or more of processing elements 1070, 1080 may be an element other than a processor, such as an accelerator or a field programmable gate array. For example, additional processing element(s) may include additional processors(s) that are the same as a first processor 1070, additional processor(s) that are heterogeneous or asymmetric to processor a first processor 1070, accelerators (such as, e.g., graphics accelerators or digital signal processing (DSP) units), field programmable gate arrays, or any other processing element. There can be a variety of differences between the processing elements 1070, 1080 in terms of a spectrum of metrics of merit including architectural, micro architectural, thermal, power consumption characteristics, and the like. These differences may effectively manifest themselves as asymmetry and heterogeneity amongst the processing elements 1070, 1080. For at least one embodiment, the various processing elements 1070, 1080 may reside in the same die package.
The first processing element 1070 may further include memory controller logic (MC) 1072 and point-to-point (P-P) interfaces 1076 and 1078. Similarly, the second processing element 1080 may include a MC 1082 and P-P interfaces 1086 and 1088. As shown in
The first processing element 1070 and the second processing element 1080 may be coupled to an I/O subsystem 1090 via P-P interconnects 10761086, respectively. As shown in
In turn, I/O subsystem 1090 may be coupled to a first bus 1016 via an interface 1096. In one embodiment, the first bus 1016 may be a Peripheral Component Interconnect (PCI) bus, or a bus such as a PCI Express bus or another third generation I/O interconnect bus, although the scope of the embodiments are not so limited.
As shown in
Note that other embodiments are contemplated. For example, instead of the point-to-point architecture of
Example 1 includes a performance-enhanced computing system comprising a network controller, a processor coupled to the network controller, and a memory coupled to the processor, wherein the memory includes a set of instructions, which when executed by the processor, cause the processor to receive parameter results and scores of one or more local sessions with respect to subcircuit components in a bounded area, aggregate the parameter results and scores, and generate a global placement model based on the aggregated parameter results and scores.
Example 2 includes the computing system of Example 1, wherein the instructions, when executed, further cause the processor to exclude one or more of design data or layout data from the aggregated parameter results.
Example 3 includes the computing system of Example 1, wherein the one or more local rating sessions include parameterized placements of the subcircuit components in the bounded area, score collections for the parameterized placements, and a training of a local machine learning model based on the parameterized placements and the score collections, and wherein the scores are to be parameterized scores.
Example 4 includes the computing system of Example 1, wherein the plurality of local rating sessions are conducted with respect to a plurality of users.
Example 5 includes the computing system of Example 1, wherein the plurality of local rating sessions are conducted with respect to a plurality of entities.
Example 6 includes the computing system of any one of Examples 1 to 5, wherein the aggregated parameter results include one or more of a circuit rotation parameter, a recenter procedure parameter, a complexity order parameter, a size parameter, a pin location parameter, a group scheme parameter, a route length weight parameter, a power weight parameter, a convex hull parameter, a local fine tune parameter, an order scheme parameter, a pairing scheme parameter or a second pass parameter.
Example 7 includes at least one computer readable storage medium comprising a set of instructions, which when executed by a computing system, cause the computing system to receive parameter results and scores of one or more local sessions with respect to subcircuit components in a bounded area, aggregate the parameter results and scores, and generate a global placement model based the aggregated parameter results and scores.
Example 8 includes the at least one computer readable storage medium of Example 7, wherein the instructions, when executed, further cause the computing system to exclude design data from the aggregated parameter results.
Example 9 includes the at least one computer readable storage medium of Example 7, wherein the instructions, when executed, further cause the computing system to exclude layout data from the aggregated parameter results.
Example 10 includes the at least one computer readable storage medium of Example 7, wherein the one or more local rating sessions include parameterized placements of the subcircuit components in the bounded area, score collections for the parameterized placements, and a training of a local machine learning model based on the parameterized placements and the score collections, and wherein the scores are to be parameterized scores.
Example 11 includes the at least one computer readable storage medium of Example 7, wherein the one or more local rating sessions are conducted with respect to a plurality of users.
Example 12 includes the at least one computer readable storage medium of Example 7, wherein the one or more local rating sessions are conducted with respect to a plurality of entities.
Example 13 includes the at least one computer readable storage medium of any one of Examples 7 to 12, wherein the aggregated parameter results include one or more of a circuit rotation parameter, a recenter procedure parameter, a complexity order parameter, a size parameter, a pin location parameter, a group scheme parameter, a route length weight parameter, a power weight parameter, a convex hull parameter, a local fine tune parameter, an order scheme parameter, a pairing scheme parameter or a second pass parameter.
Example 14 includes a semiconductor apparatus comprising one or more substrates, and logic coupled to the one or more substrates, wherein the logic is implemented at least partly in one or more of configurable hardware or fixed-functionality hardware, the logic to receive parameter results and scores of one or more local sessions with respect to subcircuit components in a bounded area, aggregate the parameter results and scores, and generate a global placement model based on the aggregated parameter results and scores.
Example 15 includes the semiconductor apparatus of Example 14, wherein the logic is to exclude design data from the aggregated parameter results.
Example 16 includes the semiconductor apparatus of Example 14, wherein the logic is to exclude layout data from the aggregated parameter results.
Example 17 includes the semiconductor apparatus of Example 14, wherein the local rating sessions include parameterized placements of the subcircuit components in the bounded area, score collections for the parameterized placements, and a training of a local machine learning model based on the parameterized placements and the scores, and wherein the score collections are to be parameterized scores.
Example 18 includes the semiconductor apparatus of Example 14, wherein the one or more local rating sessions are conducted with respect to a plurality of users.
Example 19 includes the semiconductor apparatus of Example 14, wherein the one or more local rating sessions are conducted with respect to a plurality of entities.
Example 20 includes the semiconductor apparatus of any one of Examples 14 to 19, wherein the aggregated parameter results include one or more of a circuit rotation parameter, a recenter procedure parameter, a complexity order parameter, a size parameter, a pin location parameter, a group scheme parameter, a route length weight parameter, a power weight parameter, a convex hull parameter, a local fine tune parameter, an order scheme parameter, a pairing scheme parameter or a second pass parameter.
Example 21 includes a method of conducting a plurality of local rating sessions with respect to subcircuit components in a bounded area, the method comprising conducting parameterized placements of the subcircuit components in the bounded area, conducting score collections for the parameterized placements, and a conducting a training of a local machine learning model based on the parameterized placements and the score collections.
Example 22 includes a method of operating a performance-enhanced computing system comprising aggregating parameter results and collected scores of a plurality of local rating sessions with respect to subcircuit components in a bounded area, applying a federated machine learning approach to the aggregated parameter results and collected scores, and generating a global placement model based on an output of the federated machine learning approach.
Example 23 includes an apparatus comprising means for performing the methods of any one of Examples 21 to 22.
Example sizes/models/values/ranges may have been given, although embodiments are not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the figures, for simplicity of illustration and discussion, and so as not to obscure certain aspects of the embodiments. Further, arrangements may be shown in block diagram form in order to avoid obscuring embodiments, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the computing system within which the embodiment is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments, it should be apparent to one skilled in the art that embodiments can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.
The term “coupled” may be used herein to refer to any type of relationship, direct or indirect, between the components in question, and may apply to electrical, mechanical, fluid, optical, electromagnetic, electromechanical or other connections. In addition, the terms “first”, “second”, etc. may be used herein only to facilitate discussion, and carry no particular temporal or chronological significance unless otherwise indicated.
As used in this application and in the claims, a list of items joined by the term “one or more of” may mean any combination of the listed terms. For example, the phrases “one or more of A, B or C” may mean A; B; C; A and B; A and C; B and C; or A, B and C.
Those skilled in the art will appreciate from the foregoing description that the broad techniques of the embodiments can be implemented in a variety of forms. Therefore, while the embodiments have been described in connection with particular examples thereof, the true scope of the embodiments should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims.