1. Field of the Invention
The present invention relates to a technology for supporting (aiding) designing a circuit in which a Programmable Logic Device (PLD) is used as a component.
2. Description of the Related Art
In designing an electrical circuit in which the PLD such as an FPGA (Field Programmable Gate Array) is used as a component, a pin assignment of the PLD in a component design may be changed in the package design. This is because, in the PLD, motion inside the component can be changed by a rewrite of a program, so that a pin replacement of the PLD is performed in a phase of the package design to perform a pin layout easily.
When a pin assignment is changed in the package design, the change of the pin assignment in the package design needs to be reflected in PLD design information to ensure a consistency of package design information and the PLD design information. Consequently, there has been developed such a technology that a pin replacement in a package design is reflected in PLD design information. For example, Japanese Patent Application Laid-open No. 2006-79447 discloses an FPGA design supporting apparatus in which information on a pin layout that is changed in a package design or a circuit design is reflected in FPGA design information.
However, there is a problem in the above FPGA design supporting apparatus such that a change of a pin layout in a package design or a circuit design can be reflected in an FPGA design, but a change of a pin layout in a package design cannot be reflected in a circuit design.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
According to an aspect of the present invention, a circuit-design supporting apparatus that supports designing a circuit in which a PLD is used as a component includes a pin-swap-information receiving unit that receives pin swap information, which is information on a pin swap performed in a package design with respect to the PLD; and a pin-swap processing unit that reflects the pin swap in a circuit diagram by using the pin swap information.
According to another aspect of the present invention, a method for supporting designing a circuit in which a PLD is used as a component includes first receiving including receiving pin swap information, which is information on a pin swap performed in a package design with respect to the PLD; and reflecting the pin swap in a circuit diagram by using the pin swap information.
According to still another aspect of the present invention, a method of manufacturing a printed circuit board, the method being employed by a circuit-design supporting apparatus that supports designing a circuit in which a PLD is used as a component includes receiving pin swap information that is information on a pin swap performed in a package design with respect to the PLD; and reflecting the pin swap in a circuit diagram by using the pin swap information.
According to still another aspect of the present invention, a computer-readable recording medium stores therein a computer program that causes a computer to implement the above methods.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
Exemplary embodiments according to the invention are explained in detail below with reference to the accompanying drawings. Incidentally, a case in which the present invention is applied to an FPGA is mainly explained in the embodiments.
First, a concept of an FPGA coordinated design according to a first embodiment of the present invention is explained.
Specifically, the circuit-designing CAD apparatus 100 receives FPGA information such as a pin layout that is created by the FPGA-designing CAD apparatus 10, and creates a symbol library. When creating a symbol library of an FPGA, if the FPGA subjected to create a symbol library is arranged in a circuit diagram, i.e., if a symbol library is newly created due to a change in the FPGA, the circuit-designing CAD apparatus 100 creates a symbol library by using information on the existing symbol, such as a portion assignment and a layout of a symbol pin, as much as possible.
As described above, the circuit-designing CAD apparatus 100 creates the symbol library of the FPGA by using the FPGA information, so that a circuit designer needs not create the symbol library of the FPGA. Therefore, workloads of the circuit designer can be reduced. Also, when a symbol library is newly created due to a change of the FPGA, the circuit-designing CAD apparatus 100 creates a symbol library by using information on the existing symbol as much as possible. Therefore, it is possible to reduce modifications of the circuit diagram, and thus an efficiency of the circuit design can be improved.
Furthermore, when a DRC (design rule check) is performed, the circuit-designing CAD apparatus 100 performs the DRC by referring to the FPGA information such as a pin input/output attribute that is created by the FPGA-designing CAD apparatus 10. For example, the circuit-designing CAD apparatus 100 checks the number of output pins by referring to the pin input/output attribute of the FPGA with respect to each of nets. In this manner, the circuit-designing CAD apparatus 100 performs the DRC by referring to the FPGA information such as the pin input/output attribute, and thus the DRC can be performed more precisely.
Furthermore, when a pin swap occurs in a package design, the circuit-designing CAD apparatus 100 retrieves pin swap information from the package-designing CAD apparatus 20, and reflects the pin swap in the symbol library, the circuit diagram, and the like. In addition, the circuit-designing CAD apparatus 100 reflects the pin swap in the package design in a constrained condition such as a length of a line between pins. In this manner, the circuit-designing CAD apparatus 100 also reflects the pin swap in the package design in the constrained condition, and thus it is possible to eliminate an inconsistency of circuit design information and package design information.
Furthermore, the circuit-designing CAD apparatus 100 records a history of the pin swap in the package design, and provides the history information of the pin swap to the FPGA-designing CAD apparatus 10. In this manner, the circuit-designing CAD apparatus 100 records the history of the pin swap in the package design, and provides the history information of the pin swap to the FPGA-designing CAD apparatus 10, and thus it is possible to ensure a consistency among the FPGA design, the circuit design, and the package design.
Subsequently, a configuration of an FPGA coordinated design system according to the first embodiment is explained.
The circuit-designing CAD apparatus 100 supports a circuit design in which an FPGA is used as a component in cooperation with the FPGA-designing CAD apparatus 10 and the package-designing CAD apparatus 20.
In a case of the FPGA, however, if a symbol is registered as a symbol library before a program is written thereon, pins are defined as input/output pins because the pins can be used for either an input or an output. Therefore, when the registered symbol library is used, a pin used for an input is located on the right, conversely, a pin used for an output is located on the left, or buses are not arranged sequentially as shown in
Therefore, it is necessary to create a symbol library each time a program is written. Consequently, in this case, the circuit-designing CAD apparatus 100 creates a symbol library of the FPGA each time a program is written. By creating a symbol library of the FPGA each time a program is written, as shown in
To return to the explanation of
The FPGA-information managing unit 110 is a processing unit for managing FPGA information. The FPGA-information managing unit 110 retrieves FPGA information, such as a correspondence between a physical pin and a logical pin, a pin input/output attribute, a voltage value, and a bank number, from a file output by the FPGA-designing CAD apparatus 10, and stores the retrieved FPGA information in the FPGA-information storing unit 115.
In such a case, after the FPGA-information managing unit 110 first stores the FPGA information in the FPGA-information storing unit 115, when the FPGA-information managing unit 110 retrieves FPGA information and stores anew the retrieved FPGA information in the FPGA-information storing unit 115, the FPGA-information managing unit 110 further stores a change history indicating a change of the FPGA-information in the change-history storing unit 165.
The FPGA-information storing unit 115 is a storing unit that stores therein FPGA-information under the control of the FPGA-information managing unit 110.
The library creating unit 120 is a processing unit for creating a symbol library of the FPGA by using the FPGA information stored in the FPGA-information storing unit 115, and stores the created symbol library in the symbol-library storing unit 125. The library creating unit 120 includes a portion dividing unit 121 and a symbol creating unit 122. The portion dividing unit 121 divides the circuit diagram into portions. The symbol creating unit 122 creates a symbol of each of the portions divided by the portion dividing unit 121.
The portion dividing unit 121 divides the circuit diagram into portions based on a portion dividing rule that is specified by a user via a GUI. As the portion dividing, the circuit diagram are divided into the portions by each bank number, each bank group, each logical pin name, or the like. Furthermore, the portion dividing unit 121 determines positions of the rightmost pin and the leftmost pin on a symbol based on input/output attributes, and determines the order of pins by sorting by attributes of the pins. Furthermore, the portion dividing unit 121 receives a specification for displacing a pin between portions from the user via the GUI, and displaces the pin.
Furthermore, when creating a symbol library, the library creating unit 120 checks whether a symbol of the FPGA subjected to create the symbol is arranged in the circuit diagram. If the symbol is arranged in the circuit diagram, the library creating unit 120 creates a symbol library by referring to information on the arranged symbol.
Specifically, the library creating unit 120 performs a portion assignment by referring a logical pin name as a key to the existing symbol library. Furthermore, the library creating unit 120 creates a symbol library in which a symbol pin is arranged in the same position as a position where a previous pin is located in the existing symbol library. Namely, the library creating unit 120 assigns a pin having a logical pin name, which is included in the existing symbol, to the same position of the same portion as a position where a previous pin is located in the existing portion, and assigns a pin having a logical pin name, which is not included in the existing symbol, to the same portion as a portion where a previous pin having the same physical pin name is located. Furthermore, the library creating unit 120 arranges a pin having a logical pin name, which is not identical to that is used in the existing symbol, in an unoccupied position on the symbol library. If there is no unoccupied position on the symbol library, the library creating unit 120 extends a size of the symbol library in a downward direction, and arranges the pin in the extended position.
When a symbol of the FPGA subjected to create the symbol is arranged in the circuit diagram, the library creating unit 120 creates a symbol library by referring to the information on the arranged symbol, and thus it is possible to minimize modifications of the circuit diagram due to a change of the FPGA design.
The symbol-library storing unit 125 is a storing unit that stores therein a symbol library of the FPGA.
The circuit-diagram reflecting unit 130 is a processing unit that replaces, if a symbol of the FPGA in which the symbol library is created by the library creating unit 120 is arranged in the circuit diagram, the arranged symbol with a newly-created symbol. If a line is connected to a pin having a logical pin name different from a previous logical pin name which is used before the replacement, the circuit-diagram reflecting unit 130 cuts off the line.
If a line is connected to a pin having a logical pin name different from a previous logical pin name which is used before the replacement, the circuit-diagram reflecting unit 130 cuts off the line, and thus it is possible to reduce missing a modification of the circuit diagram due to a change of the FPGA design.
The circuit-diagram storing unit 135 is a storing unit that stores therein information on the circuit diagram in which components are arranged. The circuit-diagram storing unit 135 is updated by the circuit-diagram reflecting unit 130, if a symbol of the FPGA in which the symbol library is created by the library creating unit 120 is arranged in the circuit diagram.
The DRC unit 140 is a processing unit that performs a DRC. The DRC unit 140 performs a DRC by referring to the FPGA information managed by the FPGA-information managing unit 110 in addition to information stored in a component library 30. Specifically, the DRC unit 140 checks an input/output attribute, a differential signal, a power supply voltage, and the like. The DRC unit 140 performs the DRC by referring to the FPGA information, and thus the DRC associated with the FPGA can be performed precisely.
The pin-swap processing unit 150 is a processing unit that receives pin swap information output by the package-designing CAD apparatus 20, and reflects the pin swap performed in the package design in the FPGA information, the symbol library, and the circuit diagram. In the FPGA, an operation inside the components can be changed by writing on a program, so that a pin replacement (a pin swap) of FPGA components is performed in a phase of the package design to make the pin assignment easily. Therefore, the pin-swap processing unit 150 performs a process of reflecting the pin swap in the package design in the circuit design.
The pin-swap processing unit 150 further reflects the pin swap in the package design in a constrained condition such as a length of a line distance between pins. The pin-swap processing unit 150 further reflects the pin swap in the package design in the constrained condition, and thus it is possible to ensure a consistency of design information between the circuit design and the package design.
Furthermore, the pin-swap processing unit 150 instructs the FPGA-information managing unit 110 to store a change history of the FPGA information due to the pin swap. Then, the FPGA-information managing unit 110 stores the change history in the change-history storing unit 165.
The constrained-condition storing unit 155 is a storing unit that stores therein a constrained condition relating to the circuit design, such as a length of a line between pins.
The history output unit 160 is a processing unit that outputs a change history of the FPGA information, which is changed in the process of reflecting the pin swap performed by the pin-swap processing unit 150, as notification information to a file in a form capable of inputting to the FPGA-designing CAD apparatus 10.
The change-history storing unit 165 is a storing unit that stores therein a change history of the FPGA information, and managed by the FPGA-information managing unit 110.
In this manner, the change-history storing unit 165 stores therein a change history of FPGA information, and the history output unit 160 outputs the change history as notification information to a file in a form capable of inputting to the FPGA-designing CAD apparatus 10. Thus, it is possible to ensure a consistency of design information among the package design, the circuit design, and the FPGA design.
Subsequently, processing procedures of creating a symbol library and a process of arranging a symbol, which are performed by the circuit-designing CAD apparatus 100, are explained.
As shown in the drawing, in the circuit-designing CAD apparatus 100, the FPGA-information managing unit 110 retrieves FPGA information, such as pin assignment information and attribute information, from a file output by the FPGA-designing CAD apparatus 10, and stores the retrieved FPGA information in the FPGA-information storing unit 115 (step S101).
Then, the library creating unit 120 determines whether a symbol corresponding to the FPGA information retrieved by the FPGA-information managing unit 110 is arranged in the circuit diagram (step S102). If the symbol is not arranged in the circuit diagram, the library creating unit 120 divides the circuit diagram into portions by using a portion dividing rule that is specified by the user (step S103), and determines a position of a symbol pin in accordance with a predetermined rule for creating a symbol, for example, by assigning pins to the right or left based on input/output attributes (step S104).
If the symbol is arranged in the circuit diagram, the library creating unit 120 assigns a pin having the same logical pin name as that of a previous pin to the same portion as a portion where the previous pin is located by referring to the previously-performed portion assignment (step S105). If a pin has a logical pin name that is not used by a previous pin, the library creating unit 120 assigns the pin to the same portion as a portion where a previous pin having the same physical pin name is located (step S106). Then, the pin having the same logical pin name as that of the previous pin is arranged in the same position as a position where the previous pin is located (step S107), and the pin having the logical pin name that is not used by the previous pin is arranged in an unoccupied position on the symbol (step S108).
The library creating unit 120 receives a specification for changing a portion assignment or a pin position from the user via the GUI. If the changes are specified, the library creating unit 120 creates a symbol library by changing the portion assignment or the pin position (step S109), and stores the created symbol library in the symbol-library storing unit 125 (step S110).
Then, the circuit-diagram reflecting unit 130 determines whether a previous symbol of the FPGA in which the symbol library is created by the library creating unit 120 is arranged in the circuit diagram (step S111). If the previous symbol is arranged in the circuit diagram, the circuit-diagram reflecting unit 130 replaces the arranged symbol with a newly-created symbol (step S112). If a line is connected to a pin to be arranged, which has a logical pin name different from a previous logical pin name which is used before, the circuit-diagram reflecting unit 130 cuts off the line (step S113).
Subsequently, the created symbol is arranged in the circuit diagram by a component input function that is specified by the user (step S114).
In this manner, if a symbol corresponding to FPGA information retrieved by the FPGA-information managing unit 110 is arranged in the circuit diagram, the library creating unit 120 creates a symbol library by referring to the previously-created symbol library, and the circuit-diagram reflecting unit 130 replaces the arranged symbol with a symbol in which the symbol library is newly created. Thus, it is possible to minimize modifications of the circuit diagram due to a change of the FPGA design.
Incidentally, in this case, the library creating unit 120 refers to the previously-created symbol library, if an FPGA subjected to create a symbol library is arranged in the circuit diagram. Alternatively, the library creating unit 120 can refer to the previously-created symbol library, if a symbol library of an FPGA subjected to create the symbol library is stored in the symbol-library storing unit 125.
Subsequently, a process for checking an input/output attribute, which is performed by the DRC unit 140, is explained.
As shown in the drawing, the DRC unit 140 focuses on any one of nets in a one-connection group, and obtains information on all pins included in the focused net (step S201). Then, the DRC unit 140 focuses on any one of the pins which information is obtained (step S202), and determines whether the focused pin is for an FPGA component (step S203).
As a result, if the focused pin is for an FPGA component, an input/output attribute of the pin is checked by referring to the FPGA information stored in the FPGA-information storing unit 115 (step S204). If the focused pin is not for an FPGA component, an input/output attribute of the pin is checked by referring to the component library 30 (step S205). Then, it is determined whether input/output attributes of all the pins are checked (step S206). If there is any pin that is not checked, the system control returns back to step S202, and a pin that is not checked is focused to check its input/output attribute.
If input/output attributes of all the pins are checked, it is determined whether the focused net includes two or more output pins (step S207). If two or more output pins are included, the user is informed about an error indicating that the net is connected between the output pins (step S208). Also, it is determined whether the focused net does not include any output pin (step S209). If any output pin is not included, the user is informed about an error indicating that no output pin exists in the focused net (step S210). If only one pin is an output pin, the user is informed that the focused net is in a proper state (step S211).
Then, all the nets are determined whether the number of output pins is checked (step S212). If there is any net that the number of output pins is not checked, the system control returns back to step S201, and a net that the number of output pins is not checked is focused to check the number of output pins. If all the nets are determined that the number of output pins is checked, the process of checking an input/output attribute is terminated.
In this manner, as for the FPGA component, the DRC unit 140 checks input/output attributes of pins by referring to the FPGA information, and thus it is possible to precisely check input/output attributes in the circuit including the FPGA.
Subsequently, a process for checking a differential signal, which is performed by the DRC unit 140, is explained.
As shown in the drawing, the DRC unit 140 focuses on any one of nets, and obtains information on all pins included in the focused net (step S301). Initial values of the number of positive pins, which denotes the number of pins which differential attribute is positive, and the number of negative pins, which denotes the number of pins which differential attribute is negative, are cleared to zero (step S302). Then, any one of the pins which information is obtained is focused (step S303), and it is determined whether the focused pin is for an FPGA component (step S304).
As a result, if the focused pin is for an FPGA component, a differential attribute of the pin is checked by referring to the FPGA information stored in the FPGA-information storing unit 115 (step S305). If the focused pin is not for an FPGA component, a differential attribute of the pin is checked by referring to the component library 30 (step S306). Then, if the differential attribute is positive, the number of positive pins is incremented by “1”, or if the differential attribute is negative, the number of negative pins is incremented by “1” (step S307).
It is determined whether differential attributes of all pins are checked (step S308). If there is any pin which differential attribute is not checked, the system control returns back to step S303, and a pin which differential attribute is not checked is focused to check its differential attribute.
If differential attributes of all the pins are checked, it is determined whether the number of positive pins is a plus quantity and also the number of negative pins is a plus quantity, i.e., whether both a pin with a positive attribute and a pin with a negative attribute exist in the focused net (step S309). If the number of positive pins is a plus quantity and also the number of negative pins is a plus quantity, the user is informed about an error indicating that a pin with a positive attribute is connected to a pin with a negative attribute (step S310). If either one of the number of positive pins or the number of negative pins is a plus quantity, the user is informed that the focused net is in a proper state (step S311).
Then, all nets are determined whether a differential signal is checked (step S312). If there is any net that a differential signal is not checked, the system control returns back to step S301, and a net that a differential signal is not checked is focused to check its differential signal. If all nets are determined that differential signal is checked, the process of checking a differential signal is terminated.
In this manner, as for the FPGA component, the DRC unit 140 checks differential attributes of pins by referring to the FPGA information, and thus it is possible to precisely check a differential signal in the circuit including the FPGA.
Subsequently, a process for checking a power supply voltage, which is performed by the DRC unit 140, is explained.
As shown in the drawing, the DRC unit 140 focuses on any one of components (step S401), and further focuses on any one of pins included in the focused component (step S402). Then, it is determined whether the focused pin is a power supply pin (step S403). If the focused pin is not a power supply pin, the system control proceeds to step S410.
If the focused pin is a power supply pin, it is determined whether the focused pin is for an FPGA component (step S404). If the focused pin is for an FPGA component, a power supply voltage of the pin is checked by referring to the FPGA information stored in the FPGA-information storing unit 115 (step S405). If the focused pin is not for an FPGA component, a power supply voltage of the pin is checked by referring to the component library 30 (step S406). Then, a voltage value of a net that the focused pin is connected thereto is checked (step S407), and it is determined whether the voltage value is identical to the power supply voltage of the pin (step S408). If the voltage value is not identical to the power supply voltage of the pin, the user is informed that the power supply voltage is not identical to the voltage value (step S409).
Then, it is determined whether all pins are checked (step S410). If there is any pin that is not checked, the system control returns back to step S402, and a pin that is not checked is focused to check a voltage value of the power supply pin.
If all the pins are checked, all the components are determined whether a power supply voltage is checked (step S411). If there is any component which a power supply voltage is not checked, the system control returns back to step S401, and a component which a power supply voltage is not checked is focused to check a power supply voltage. If all the components are determined that a power supply voltage is checked, the process of checking a power supply voltage is terminated.
In this manner, as for the FPGA component, the DRC unit 140 checks a voltage value of the power supply pin by referring to the FPGA information, and thus it is possible to precisely check a power supply voltage in the circuit including the FPGA.
Subsequently, a process for pin swapping, which is performed by the pin-swap processing unit 150, is explained.
As shown in the drawing, the pin-swap processing unit 150 retrieves pin swap information that is created by the package-designing CAD apparatus 20 (step S501), and replaces a physical pin name of a symbol library of an FPGA in which a pin swap is performed (step S502).
Then, a logical pin name and an attribute relating to a logic, which are included in FPGA information of the FPGA in which the pin swap is performed, are replaced (step S503), and a symbol in the circuit diagram is updated to the symbol in which the logical pin name and the attribute relating to the logic are replaced (step S504). As for a pin having a constrained condition, the constrained condition is replaced each time a pin swap is performed (step S505).
In this manner, as for a pin having a constrained condition, the pin-swap processing unit 150 replaces the constrained condition each time a pin swap is performed, and thus a pin swap in the package-designing CAD can be precisely reflected in information on the circuit design.
Subsequently, a process for outputting a change history, which is performed by the history-output unit 160, is explained.
Then, pins subjected to perform a pin swap during from the last process of outputting notification information till now are marked (step S602). The latest attributes of the marked pins are output as notification information to be notified to the FPGA-designing CAD apparatus 10 (step S603).
Namely, after the FPGA-information managing unit 110 retrieves the FPGA information from the FPGA-designing CAD apparatus 10 and updates the FPGA information stored in the FPGA-information storing unit 115, the history output unit 160 outputs the latest attributes of the pins subjected to perform a pin swap, which are not notified yet, as notification information.
In this manner, the history output unit 160 outputs the latest attributes of pins subjected to perform a pin swap as notification information to the FPGA-designing CAD apparatus 10 by using the change history stored in the change-history storing unit 165, and thus the pin swap in the package design can be reflected in the FPGA design information.
Furthermore, after the FPGA-information managing unit 110 retrieves the FPGA information from the FPGA-designing CAD apparatus 10 and updates the FPGA information stored in the FPGA-information storing unit 115, the latest attributes of pins only subjected to perform a pin swap, which are not notified yet, are output as notification information. As a result, it is possible to avoid outputting wasted notification information or overlapping notification information, and thus the pin swap in the package design can be efficiently reflected in the FPGA design information.
As described above, in the first embodiment, the FPGA-information managing unit 110 included in the circuit-designing CAD apparatus 100 retrieves FPGA information, such as pin assignment information and attribute information, which is created by the FPGA-designing CAD apparatus 10, and the library creating unit 120 creates a symbol library by using the FPGA information. Therefore, the circuit designer needs not create the symbol library of the FPGA, and thus it is possible to reduce workloads on the circuit designer.
Furthermore, at the time of creating a symbol library, if an FPGA subjected to create a symbol library is arranged in the circuit diagram, the library creating unit 120 manages not to change a portion assignment and a pin layout of the existing symbol library arranged in the circuit diagram as much as possible. Also, when the circuit-diagram reflecting unit 130 arranges a symbol of an FPGA that a symbol library is newly created in the circuit diagram, the symbol is arranged without changing the existing layout. Thus, it is possible to minimize modifications of the circuit diagram due to a change of the FPGA design.
Furthermore, in the first embodiment, when the DRC unit 140 included in the circuit-designing CAD apparatus 100 performs a DRC, as for an FPGA, an attribute of a pin and the like are checked by referring to the FPGA information that is retrieved from the FPGA-designing CAD apparatus 10 and stored in the FPGA-information storing unit 115 by the FPGA-information managing unit 110. Thus, it is possible to perform the DRC precisely.
Furthermore, in the first embodiment, the pin-swap processing unit 150 included in the circuit-designing CAD apparatus 100 retrieves pin swap information from the package-designing CAD apparatus 20, and reflects the pin swap in the constrained condition in addition to the symbol library, the FPGA information, and the circuit diagram. Thus, it is possible to eliminate an inconsistency of design information between the circuit design and the package design.
Furthermore, in the first embodiment, the change-history storing unit 165 included in the circuit-designing CAD apparatus 100 stores therein a change history of the FPGA information, and the history output unit 160 outputs information for notifying the pin swap to the FPGA-designing CAD apparatus 10 based on the change history stored in the change-history storing unit 165. Thus, it is possible to ensure a consistency of design information among the package design, the circuit design, and the FPGA design.
In the first embodiment, a case has been considered in which a package design of a printed circuit board is made based on a result of designing a circuit by using an FPGA component. To consider a desirable pin assignment for both the FPGA designer and the package designer in advance contributes greatly to shortening a period of designing. Consequently, in a second embodiment of the present invention, there is explained an FPGA coordinated design system that supports a coordinated design made between the FPGA designer and the package designer.
First, a concept of an FPGA coordinated design according to the second embodiment is explained.
The temporary-library creating apparatus 200 retrieves pin swap information from the package-designing CAD apparatus 20, and reflects the retrieved pin swap information in FPGA information that is managed by its own self, and also notifies the pin swap information to the FPGA-designing CAD apparatus 10.
In this manner, in the second embodiment, the temporary-library creating apparatus 200 receives the FPGA pin information that is created by the FPGA-designing CAD apparatus 10, and creates a temporary component shape type library with respect to the FPGA. Thus, it is possible to consider a pin assignment by using the package-designing CAD apparatus 20.
Subsequently, a configuration of the FPGA coordinated design system according to the second embodiment is explained.
The net-list retrieving unit 210 is a processing unit that retrieves a net list created by the user and passes the net list to the net-list managing unit 220.
As shown in the drawing, the net list includes a component defining unit that defines a component and a net defining unit that defines a net. In the component defining unit, a component name and a component library name are described with respect to a component used for consideration. However, as for an FPGA component, there is no component library, so that a module name (a name for distinguishing an FPGA) is described followed by “FPGA/”.
In the net defining unit, a net name and a component pin connected to the net are described with respect to each of nets. In this case, the component pin is described in the form of “(a component name). (a component pin name)”. Incidentally, as for an FPGA component, a logical pin name or a physical pin name is described as a pin name (the physical pin name is marked with “%”).
The net-list managing unit 220 is a managing unit that stores therein and manages the net list retrieved by the net-list retrieving unit 210. Upon receiving a change of the net list input by the user via the GUI, the net-list managing unit 220 changes the net list.
The net-list converting unit 230 is a processing unit that converts the net list managed by the net-list managing unit 220 into a format capable of inputting to the package-designing CAD apparatus 20. The net-list converting unit 230 refers to FPGA information managed by the FPGA-pin-information managing unit 250 upon the conversion of the net list.
The FPGA-design-CAD interface unit 240 is an interface to the FPGA-designing CAD apparatus 10. Specifically, the FPGA-design-CAD interface unit 240 retrieves FPGA pin information from the FPGA-designing CAD apparatus 10, and provides pin swap information to the FPGA-designing CAD apparatus 10.
The FPGA-pin-information managing unit 250 is a managing unit that stores therein and manages FPGA pin information retrieved by the FPGA-design-CAD interface unit 240. Furthermore, upon receiving an instruction for changing a pin interval or FPGA pin information from the user via the GUI, the FPGA-pin-information managing unit 250 changes the FPGA information.
The temporary-library creating unit 260 is a processing unit that creates a temporary library, i.e., a temporary component shape type library by using FPGA pin information managed by the FPGA-pin-information managing unit 250 with respect to an FPGA component.
Furthermore, in the temporary library, an area denoting a size of a component is also described. Information on the area is used to calculate a distance between components in designing the package design. Incidentally, a size of a component is calculated by the temporary-library creating unit 260 based on a pin interval.
The temporary-library creating unit 260 creates a temporary library based on FPGA pin information, and thus it is possible to consider a pin assignment in the package-designing CAD.
The pin-swap processing unit 270 is a processing unit that retrieves pin swap information from the package-designing CAD apparatus 20 and instructs the FPGA-pin-information managing unit 250 to change FPGA pin information. The FPGA-pin-information managing unit 250 changes the FPGA pin information, and also instructs the FPGA-design-CAD interface unit 240 to notify the pin swap information to the FPGA-designing CAD apparatus 10. Furthermore, the pin-swap processing unit 270 instructs the net-list managing unit 220 to change a net list based on the pin swap information.
Subsequently, a process for outputting information for package-designing CAD, which is performed by the temporary-library creating apparatus 200, is explained.
As shown in the drawing, in the temporary-library creating apparatus 200, the FPGA-design-CAD interface unit 240 retrieves pin assignment information created by the FPGA-designing CAD apparatus 10 and passes the pin assignment information to the FPGA-pin-information managing unit 250, and then the FPGA-pin-information managing unit 250 creates FPGA pin information (step S701).
Furthermore, the net-list retrieving unit 210 retrieves a net list (step S702), and passes the net list to the net-list managing unit 220. When receiving an instruction for changing the net list and the like from the user, the net-list managing unit 220 changes the net list managed by its own self. When receiving a specification of a pin interval and the like from the user (step S703), the FPGA-pin-information managing unit 250 changes the FPGA pin information managed by its own self.
Then, the temporary-library creating unit 260 obtains coordinates of a pin from the FPGA pin information and creates a temporary component shape type library (step S704), and the net-list converting unit 230 converts the net list (step S705). Then, the net-list converting unit 230 outputs the converted net list to a file, and the temporary-library creating unit 260 outputs the created temporary library to the file (step S706).
In this manner, the temporary-library creating apparatus 200 creates the temporary library, and thus it is possible to consider a pin assignment by using the package-designing CAD apparatus 20. Furthermore, upon receiving a specification of a pin interval and the like from the user, the FPGA-pin-information managing unit 250 changes the FPGA pin information managed by its own self. Thus, the user can consider a pin assignment at various pin intervals.
Subsequently, a process for reflecting a consideration result of a package, which is performed by the temporary-library creating apparatus 200, is explained.
As shown in the drawing, in the temporary-library creating apparatus 200, the pin-swap processing unit 270 retrieves pin swap information in the package-designing CAD (step S801), and replaces a net including a pin subjected to pin swap in the net list (step S802).
Then, the pin-swap processing unit 270 replaces a logical pin name and a logical attribute, which are included in FPGA information (step S803), and the FPGA-design-CAD interface unit 240 outputs information on the replaced pin to a file (step S804).
In this manner, the pin-swap processing unit 270 retrieves the pin swap information in the package-designing CAD, and reflects the pin swap in the net list and the FPGA pin information. And then, the FPGA-design-CAD interface unit 240 outputs information on the pin swap to the file. Thus, the pin swap in the package design can be reflected in the FPGA design information.
As described above, in the second embodiment, the FPGA-design-CAD interface unit 240 retrieves pin assignment information created by the FPGA-designing CAD apparatus 10, and the FPGA-pin-information managing unit 250 manages the pin assignment information retrieved by the FPGA-design-CAD interface unit 240 as FPGA pin information, and the temporary-library creating unit 260 creates a temporary component shape type library by using the FPGA pin information managed by the FPGA-pin-information managing unit 250 and outputs the temporary component shape type library in the form capable of being read by the package-designing CAD apparatus 20 to the file. Thus, it is possible to consider an early pin assignment by using the package-designing CAD apparatus 20, and also to shorten a period of designing a printed circuit board.
The circuit-designing CAD apparatus and the temporary-library creating apparatus are respectively explained in the first and second embodiments. Alternatively, it is also possible to achieve a circuit-designing CAD program and a temporary-library creating program, which respectively have the same function as the circuit-designing CAD apparatus and the temporary-library creating apparatus, by realizing structures of the circuit-designing CAD apparatus and the temporary-library creating apparatus with software. Consequently, a computer that performs the circuit-designing CAD program is explained below. Incidentally, the temporary-library creating program can be also performed by a similar computer.
The RAM 310 is a memory that stores therein a computer program, an intermediate result of executing the computer program, and the like. The CPU 320 is a central processing unit that reads a program from the RAM 310 and performs the program. The HDD 330 is a disk device that stores therein a program and data. The LAN interface 340 is an interface for connecting the computer 300 to other computers via a LAN. The input/output interface 350 is an interface for connecting the computer 300 to an input device, such as a mouse or a keyboard, and a display device. The DVD drive 360 is a device that reads/writes a DVD.
A circuit-designing CAD program 311 to be performed by the computer 300 is stored in a DVD, and read out from the DVD by the DVD drive 360, and then installed on the computer 300. Alternatively, the circuit-designing CAD program 311 is stored in, for example, a database of other computer system that is connected to the computer 300 via the LAN interface 340, and read out from the database, and then installed on the computer 300. Then, the installed circuit-designing CAD program 311 is stored in the HDD 330, and read out by the RAM 310, and then performed by the CPU 320.
In the present embodiments, a case in which an FPGA is used as a component is explained. However, the present invention is not limited to the above case. The present invention can also be applied to a case in which a PLD is generally used as a component.
According to an aspect of the invention, a change in a package design is reflected in circuit design information, and thus it can be easy to ensure a consistency of circuit design information and package design information.
According to another aspect of the invention, a change in the package design is reflected in a circuit diagram as well as a symbol library, and thus it can be easier to ensure the consistency of the circuit design information and the package design information.
According to still another aspect of the invention, a pin swap can be reflected in the symbol library, and thus it is possible to ensure a consistency of the symbol library and the package design information.
According to still another aspect of the invention, a change in the package design is also reflected in a constrained condition, and thus it can be easier to ensure the consistency of the circuit design information and the package design information.
According to still another aspect of the invention, a pin swap is reflected in a constraint on a length of a line between pins, and thus it can be easier to ensure the consistency of the circuit design information and the package design information.
According to still another aspect of the invention, a change in the package design is also reflected in the stored PLD information, and thus it can be easier to ensure the consistency of the circuit design information and the package design information.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2006-327390 | Dec 2006 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5297053 | Pease et al. | Mar 1994 | A |
5452239 | Dai et al. | Sep 1995 | A |
5625565 | Van Dyke | Apr 1997 | A |
5877942 | Kida et al. | Mar 1999 | A |
5978862 | Kou et al. | Nov 1999 | A |
5990891 | Fukaya | Nov 1999 | A |
6239611 | Matera | May 2001 | B1 |
6314550 | Wang et al. | Nov 2001 | B1 |
6347387 | Fischer | Feb 2002 | B1 |
6357036 | Eka et al. | Mar 2002 | B1 |
6725441 | Keller et al. | Apr 2004 | B1 |
6732349 | Sun et al. | May 2004 | B1 |
6898775 | Erickson et al. | May 2005 | B2 |
7024654 | Bersch et al. | Apr 2006 | B2 |
7051313 | Betz et al. | May 2006 | B1 |
7073158 | McCubbrey | Jul 2006 | B2 |
7080365 | Broughton et al. | Jul 2006 | B2 |
7143341 | Kohli | Nov 2006 | B1 |
7168041 | Durrill et al. | Jan 2007 | B1 |
7180074 | Crosetto | Feb 2007 | B1 |
7218567 | Trimberger et al. | May 2007 | B1 |
7281233 | Sivasubramaniam | Oct 2007 | B1 |
7299444 | Tai et al. | Nov 2007 | B1 |
7412668 | Duong | Aug 2008 | B1 |
7444612 | Ariyama et al. | Oct 2008 | B2 |
7711674 | Arthur et al. | May 2010 | B2 |
7831944 | Kato et al. | Nov 2010 | B2 |
20020073380 | Cooke et al. | Jun 2002 | A1 |
20030009731 | Wallace | Jan 2003 | A1 |
20050280438 | Park | Dec 2005 | A1 |
20060059447 | Ariyama et al. | Mar 2006 | A1 |
20070100784 | Arthur et al. | May 2007 | A1 |
20070250800 | Keswick | Oct 2007 | A1 |
20080092089 | Kobayashi | Apr 2008 | A1 |
20080134123 | Kato et al. | Jun 2008 | A1 |
20080134124 | Kato et al. | Jun 2008 | A1 |
20080134125 | Kato et al. | Jun 2008 | A1 |
20080172442 | Chen et al. | Jul 2008 | A1 |
20080263500 | Kato et al. | Oct 2008 | A1 |
20080276213 | Aoki et al. | Nov 2008 | A1 |
Number | Date | Country |
---|---|---|
1521830 | Aug 2004 | CN |
03-263179 | Nov 1991 | JP |
04-246778 | Sep 1992 | JP |
6-163690 | Jun 1994 | JP |
10-154055 | Jun 1998 | JP |
2000-99558 | Apr 2000 | JP |
2000-181942 | Jun 2000 | JP |
2001-092857 | Apr 2001 | JP |
2002-279010 | Sep 2002 | JP |
2003-30271 | Jan 2003 | JP |
2003-036281 | Feb 2003 | JP |
2006-079447 | Mar 2006 | JP |
Number | Date | Country | |
---|---|---|---|
20080263500 A1 | Oct 2008 | US |