1. Field of the Invention
This invention relates to integrated circuits. More particularly, this invention relates to the generation of a configuration for an interconnect component and devices within an integrated circuit.
2. Description of the Prior Art
It is known within the field of integrated circuits to provide an interconnect component which serves to link a plurality of functional units (devices/components) so that they can communicate and operate together. This type of arrangement is becoming increasingly important in the design of system-on-chip integrated circuits where a large number of devices are provided together upon a single integrated circuit and must be connected together so as to operate in the desired manner. The devices which are connected in this way are often pre-existing designs, such as microprocessors, memories, peripheral devices and the like. These different devices require a diversity in the interfaces between the devices and the interconnect component.
One known form of interconnect component is the ARM PL301 interconnect provided by ARM Limited of Cambridge, England. The configuration of such an interconnect is a complex and potentially error prone task. The ARM PL301 interconnect, for example, has over 2500 parameters which require setting and many of these parameters interact with each other in some way. As an example, the different devices may be capable of operating at different speeds and with different interface parameters. Higher performance may be achieved with some of these settings compared to others and it will be required that the settings used are compatible with the other devices within the integrated circuit. Selecting compatible parameters for the devices and the interconnect whilst maintaining the compatibility with all of the devices is a time consuming and difficult task.
Another trend within integrated circuit design is the trend towards design reuse. Portions of an integrated circuit or devices to be used within a system-on-chip integrated circuit represent a considerable investment in time and effort. It is desirable where possible that this effort and investment should be reused within other integrated circuits. In order to facilitate this reuse there has been developed a standard for the formal characterisation of such devices or portions of an integrated circuit and this is known as the SPIRIT/IP-XACT standard.
Viewed from one aspect the present invention provides a method of generating a configuration of an integrated circuit having an interconnect component connected a plurality of devices, said method comprising the steps of:
(i) selecting a device to be connected to said interconnect component;
(ii) reading interface parameters of said device;
(iii) selecting parameters of an interface of said interconnect component with said device to match interface characteristics of said device specified by said interface parameters;
(iv) detecting and making any settings in a configuration of said interconnected component required to match said selected parameters of said interface; and
(v) detecting and making any changes in a configuration of a device previously connected to said interconnected component required to match said configuration of said interconnect component.
The present invention provides a technique whereby the configuration of an integrated circuit including an interconnect component and a plurality of devices may be more readily and methodically achieved thereby reducing the likelihood of error and reducing the cost of such activity. The present technique recognises that when connecting a device to an interconnect component the interface parameters of that new device can be used to select parameters of the interconnect component to match the new device being connected. Furthermore, when the interconnect component has been configured by the newly attached device the technique recognises that it is also possible to detect if any changes are required in the configuration of a device previously connected to the interconnect component so as to match the new configuration of that interconnect component. Thus, the flow of control or influence across the interface between the devices and the interconnect component not only flows from the device to the interconnect component when a new device is connected, but also from the interconnect component across to a previously connected device in order to make changes in the configuration of that previously connected device where appropriate. The configuration of the integrated circuit including the plurality of devices and the interconnect component can thus be performed in an at least semi-automated fashion with self-checking thereby reducing the likelihood of error and increasing the speed with which such operations can be performed.
Viewed from another aspect the present technique further provides the steps of:
(vi) detecting if a change is made in step (v) to a configuration of a device previously connected to said interconnected component requires a consequential change in said configuration of said interconnect component;
(vii) making any said consequential change in said configuration of said interconnect component; and
(viii) repeating steps (v), (vi) and (vii) until no further changes are required or an incompatibility is detected.
It will be appreciated that the techniques described above can be iterative in the sense that when a new device is connected to the interconnect component the consequential changes to the interconnect component and previously connected devices can propagate around the system as a whole until a mutually self-consistent configuration for the integrated circuit is achieved.
The present techniques can also be used to detect any incompatibility between a newly connected device and the interconnect component that cannot be resolved by a change in the configuration of the interconnect component. The early recognition of such incompatibilities is strongly desirable.
The techniques outlined above can be applied when each of a plurality of different devices are connected to the interconnect component. This need not necessarily correspond to all the devices to be connected to the interconnect component, but in many designs the technique will be used for all of the devices to be connected to the interconnect component.
The different devices which can be connected to the interconnect component can take a wide variety of different forms. In some embodiments these include at least one device that initiates communication and at least one device that responds to communication (e.g. master-slave arrangements).
The interface parameters associated with the devices and the interconnect component can have a wide variety of different forms. In some embodiments there can be associated default parameter values defining default interface characteristics of the devices to be used. The default parameter values may be fixed default parameter values with default parameter values that are determined dynamically in dependence upon detected configurations of at least one of the interconnect component and the plurality of other devices already connected to the interconnect component.
In order to enhance the design flexibility provided to the user of the techniques outlined above, at least one of the parameters among the interface characteristics, the configuration of the interface component and the configuration of the plurality of devices may be a user selectable parameter.
A user may be presented with a range of options that are selectable by the user with that range of options being determined in dependence upon other parameters already set for the other elements within the integrated circuit.
When a user selectable parameter is set the techniques of propagating the consequences of that setting around the different elements of the integrated circuit may be performed with the changes and influences propagating in either direction across the interfaces between the interconnect component and the devices until a self-consistent configuration of the integrated circuit as a whole is achieved or incompatibility is detected.
It will be appreciated that the configurations of the interconnect component and the devices which may be set can take a wide variety of different forms. These forms include a transaction identifier width, a data width, an address space associated with a device, a bandwidth requirement, a registration status of ports of a device, a clock speed, a maximum clock speed, a constraint upon one or more characteristics set during synthesis of the integrated circuit and a matching test data set to be used in testing the integrated circuits manufactured in accordance with that design. It will be appreciated that many additional and/or alternative configuration parameters may be controlled using the techniques described herein.
A further refinement which may optionally be provided is to detect if an alternative device for a device being connected to the interconnect component is available and would provide an improvement in one or more characteristics of the integrated circuit and then to notify a user of the alternative device. As an example, a user may be attempting to connect an out-of-date design of memory to an interconnect component being used within an integrated circuit when it is known that a more suitable memory is available that would improve the performance of the integrated circuit concerned and better match the other devices or components within that integrated circuit. The user may be notified of the existence of such an alternative device in order that they may consider its use instead of the initially intended device.
The outline form of the integrated circuit to be produced can be set out in advance in received user input defining at least the plurality of devices which are to be connected to the interconnect component and communication paths which are to exist between the plurality of devices. This high-level design information can be used to guide the configuration selections being made for the devices and the interconnect component so as to target the communication paths which are desired and with an awareness of the devices which are to be attached. Such high level design information can be provided by the integrated circuit designer who will generally know what are intended to be the main communication paths between the devices concerned and accordingly can provide this information in order that the interconnect component is configured to match these requirements.
As an example of further user input which can define characteristics of the system known to the designer, the user can define the relative arbitration priority levels of the devices which are to be connected. Again the system designer will generally already have a good idea of which arbitration priority levels should be assigned due to their knowledge of the intended use of the integrated circuit being designed and the likely important communication paths which should be given priority.
Viewed from another aspect the present invention provides a computer program storage medium storing a computer program for controlling a computer to perform a method of generating a configuration of an integrated circuit having an interconnect component connected a plurality of devices, said method comprising the steps of:
(i) selecting a device to be connected to said interconnect component;
(ii) reading interface parameters of said device;
(iii) selecting parameters of an interface of said interconnect component with said device to match interface characteristics of said device specified by said interface parameters;
(iv) detecting and making any settings in a configuration of said interconnected component required to match said selected parameters of said interface; and
(v) detecting and making any changes in a configuration of a device previously connected to said interconnected component required to match said configuration of said interconnect component.
The above, and other objects, features and advantages of this invention will be apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings.
The interconnect component 14 is used to provide desired communication paths between the devices 4, 6, 8, 10, 12 so as together form the system-on-chip integrated circuit 2. The interconnect component 14 may have the form of the known ARM PL301 interconnect previously discussed. The interfaces “if” between the respective devices 4, 6, 8, 10, 12 and the interconnect component 14 have configuration parameters associated therewith. The interconnect component 14 also has configuration parameters as do the individual devices 4, 6, 8, 10, 12. All of these parameters require setting in order for the design of the integrated circuit 2 to be settled in a form suitable for synthesis and production. The setting of what can be a very large number of potentially interrelated parameters within the integrated circuit 2 is a time consuming and potentially error prone process when performed by a user.
A user will typically already know the main communication paths which it is desired to provide between the various devices 4, 6, 8, 10, 12 via the interconnect component 14. As an example, the system designer may at the outset know that master device 4 requires the ability to communicate with all of the slave devices 6, 8, and 12, whereas the master device 10 only requires the ability to communicate with the slave device 6 and 8, but does not require the ability to communicate with the slave device 12. The interconnect component 14 provides the appropriate multiplexers, buses and arbitration circuitry to support such a communication topology. This type of consideration and communication support is known within interconnect components such as the ARM PL301 and will be familiar to those skilled within this technical field.
As is illustrated in
At step 20 the first device to be connected to the interconnect component 14 and to have its configuration set is selected. At step 22 the parameter values for that device are read from a model or file characterising that device. At step 24 the fixed parameters specified within the model or file are applied both to the device concerned and the interconnect component interface for that device and the compatibility of those fixed parameters checked against the existing configuration of the interconnect device. User selectable parameters may also be set at the same time with the user being prompted to select these parameters either freely or from a list of options dynamically determined in dependence upon constraints imposed by other existing parameters or configurations of the system which have already been established. If an incompatibility is detected which is not resolvable by an allowed change in a configuration parameter, then this can be flagged to the user. Furthermore, if an alternative device to the device being connected is indicated as being available within a library of available devices and such a device could improve performance or other characteristics of the system, then this can be flagged to the user so that they can change the device they are connected if appropriate.
At step 26 the parameters set for the interface with the newly connected device are propagated through the interconnect component 14 to influence where necessary other parameters already set within the interconnect component 14 as well as to other devices already connected to the interconnect component 14 in order that compatibility between the parameters of the system as a whole can be checked and any necessary identified changes made or fundamental incompatibilities flagged. At step 28 any changes necessary within optional component or interconnect parameters may be flagged to the user such that the user can select a new compatible parameter from the range of permitted or preferred parameter values which are optionally selectable for that configuration parameter. As an example, a user may have previously selected a desired clock frequency for a particular device from among a range of potential clock frequencies but the connection of a new device may have made that particular individual previous clock frequency selection inappropriate and accordingly the user can be prompted to make a new selection from what are the permitted clock frequencies given the new configuration of the system as a whole.
At step 30 a determination is made as to whether all of the components/devices have yet been connected to the interconnect component 14. If some devices remain to be connected, then the next of these is selected and processing is returned to step 20. Otherwise the configuration of the interconnect component 14 and the devices 4, 6, 8, 10, 12 is complete and processing terminates.
If the determination at step 48 was that the interconnect component should have its clock frequency changed, then this is done at step 52 and appropriate changes in the clock speeds and/or necessary clock domain crossing components are added in order to support the already connected devices within the system at step 54. If a device has its clock speed changed from that which was set when it was previously connected then it is treated as a newly connecting device for the purpose of checking clock compatibility and any requirement for clock domain crossing components with processing being returned to step 44.
If the user or system were to charge the transaction identifier width from zero to non-zero, then the process illustrated in
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings: it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
0717607.6 | Sep 2007 | GB | national |