This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2011-071148, filed on Mar. 28, 2011, the entire contents of which are incorporated herein by reference.
This technique relates to a technique for supporting creation of a circuit diagram.
In recent years, large-scale integration of circuitry on printed circuit boards is advancing, so various methods are being devised for effectively performing the work such as sharing the design work and utilizing past assets. However, together with this, the occasions for a designer to perform the work of embedding or connecting circuits outside the range of their own responsibility are increasing, so there are cases in which errors occur and the work efficiency drops instead.
For example, as for circuits for which connections on the bus line have not been designed, it is presumed that the connecting work on the bus line is carried out.
In case of connecting the branch lines on the input side with the branch lines on the output side, often the branch lines with the same name are connected. However, in the example in
Conventionally, there is a following connection technique of the bus lines. For example, there is a technique for creating circuit diagrams that can easily express various wiring relationships. More specifically, in an upper-layer circuit diagram, the same symbol names and symbol numbers are given to elements having the same configuration, and plural elements having the same configuration are collectively notated as one element. Moreover, a terminal connection table is created that makes it possible to see at a glance the connection destinations for each symbol number at specific terminals of the collectively notated elements, and that table is placed on the upper layer circuit diagram. However, this technique presumes that the connection relationship has been settled, and it is not possible to determine a connection relationship for bus lines that are not connected. Therefore, this technique does not taken into consideration eliminating the occurrence of the work of changing circuits whose design has been completed, when connecting bus lines.
Moreover, there is a technique for automatically performing the work of creating and handling CAD (Computer Aided Design) library models as much as possible. In this technique, by designating pins, the designated pins are automatically connected.
Furthermore, there is a technique for designing electrical circuits having good wiring efficiency in the design of electrical circuits for multi-layered boards and LSI (Large Scale Integration). More specifically, when performing bus wiring with a virtual bus while assuming that the plural signal lines included in a bus is handled as one signal line, the virtual bus is displayed over a wiring path, when the wiring path is inputted on a computer screen. When the wiring direction changes, the wiring is carried out while virtual via holes are automatically generated on the virtual bus, and the wiring layers are automatically changed.
However, these techniques cannot resolve the aforementioned problems.
Namely, the conventional technique cannot efficiently conduct the connection of the bus lines.
A circuit diagram creation support method according to this technique includes: generating data of a first circuit diagram by disposing a block that represents a connection relationship between first branch lines included in a first bus line in a second circuit diagram and second branch lines included in a second bus line to be connected to the first bus line in the second circuit diagram so as to connect the first bus line with the second bus line through the block, wherein the block represents that the connection relationship identified by connection relationship data is depicted in detail in a lower-layer than a layer of the block; and generating display data including the connection relationship data and the first circuit diagram to output the generated display data.
The object and advantages of the embodiment will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the embodiment, as claimed.
The connection instruction receiver 101 reads data of a circuit diagram data, which is stored in the circuit diagram DB 102, and instructs the display unit 106 to display that circuit diagram. When an instruction is received from a user to connect bus lines, the connection instruction receiver 101 notifies the bus line splitting unit 103 of that instruction. The bus line splitting unit 103 uses data that is stored in the bus line data storage unit 104 to split bus lines in a circuit diagram into an input side and output side, and stores the splitting result data in the splitting data storage unit 105. When it is not possible to split the bus lines, the bus line splitting unit 103 instructs the display unit 106 to display a warning screen. The connection relationship identifying unit 107 uses data that is stored in the splitting data storage unit 105 and bus line data storage unit 104 to generate connection relationship data, and stores the generated data in the connection relationship data storage unit 108. The connection relationship identifying unit 107 also instructs the display unit 106 to display a screen for editing the connection relationship data. The circuit diagram editor 109 carries out a processing by using data that is stored in the circuit diagram DB 102 and connection relationship data storage unit 108, and stores the processing results in the edited circuit diagram storage unit 110. The display instruction receiver 111 instructs the display unit 106 to display the circuit diagram data that is stored in the edited circuit diagram storage unit 110. When receiving an instruction from the connection instruction receiver 101, bus line splitting unit 103, connection relationship identifying unit 107 or display instruction receiver 111, the display unit 106 displays the data relating to the instruction on a display device or the like.
The wiring order is explained in detail using
Next, the operation of the circuit diagram creation support apparatus 1 will be explained using
In this embodiment, the circuit diagram to be processed is the circuit diagram such as illustrated in
On the other hand, when the connection instruction receiver 101 receives a bus line connection instruction (
The bus line splitting unit 103 then counts the number of records stored in the bus line data storage unit 104 for the bus lines in the circuit diagram to be processed to identify the number of branch lines that are included in the bus lines in the circuit diagram to be processed, and then stores the counted number in a storage device such as a main memory. The bus line splitting unit 103 also identifies the coordinates of the bus line in that circuit diagram to be processed, from the data for the circuit diagram to be processed (i.e. coordinates of the starting points of the bus lines), and stores the results in the storage device such as a main memory (step S3).
The bus line splitting unit 103 also splits the bus line that is located on the furthest right in the circuit diagram to be processed to the right side and the other bus lines to the left side, based on the coordinates of the bus lines, which are identified at the step S3, and stores the data of the splitting results in the splitting data storage unit 105 (step S5). In this embodiment, the “right side” means the output side and the “left side” means the input side.
The bus line splitting unit 103 then determines whether or not the number of branch lines included in the busses that are split to the right side is the same as the number of branch lines included in the busses that are split to the left side (step S7). In the example in
On the other hand, when it is determined that the numbers of branch lines on the right side and on the left side are not the same (step S7: NO route), the bus line splitting unit 103 uses the data for the numbers of branch lines, which are stored the splitting data storage unit 105, to determine whether or not there is a bus line splitting method that can make the numbers of branch lines on the right side and on the left side the same (step S9). When it is determined that there is a bus line splitting method that can make the numbers of branch lines on the right side and on the left side the same (step S9: YES route), the bus line splitting unit 103 splits the bus lines again so that the numbers of branch lines on the right side and on the left side are the same, and updates the data that is stored in the splitting data storage unit 105 (step S11).
However, when it is determined that there is no splitting method that can make the numbers of branch lines on the right side and on the left side the same (step S9: NO route), the bus line splitting unit 103 instructs the display unit 106 to display a warning screen. The display unit 106 then displays a warning screen on the display device or the like to the effect that it was not possible to suitably split the bus lines (step S13). The processing then moves to the processing of the step S15 in
The processing from the step S5 to S11 will be explained in detail using another circuit diagram. For example, in the case of splitting bus lines in the diagram illustrated in
Moving on to an explanation of
The connection relationship identifying unit 107 then instructs the display unit 106 to display a confirmation screen that includes the connection relationship data. The display unit 106 displays a confirmation screen that includes the connection relationship data, on the display device or the like (step S17).
As a result, even when the connection relationship that is identified by the circuit diagram creation support apparatus 1 is not suitable, the user can carries out suitable corrections.
The connection relationship identifying unit 107 then determines whether or not a completion instruction was received (step S19). When a completion instruction was received (step S19: YES route), the connection relationship is settled, so the processing moves to the processing of step S23. On the other hand, when a completion instruction has not been received (step S19: NO route), the connection relationship identifying unit 107 determines whether or not a change instruction was received (step S21). When it is determined that a change instruction has not been received (step S21: NO route), the processing returns to the processing of the step S19 in order to wait for an instruction from the user.
On the other hand, when it is determined that a change instruction was received (step S21: YES route), the connection relationship identifying unit 107 generates connection relationship data again according to the change instruction, and updates the connection relationship data storage unit 108 with the generated data.
The circuit diagram editor 109 then reads the data for the circuit diagram to be processed, which is stored in the circuit diagram DB 102, edits data of the circuit diagram to be processed so that a block is placed at the connecting portion of the bus lines and so that a branch line correspondence table is added to that block, and generates data for a parent-layer circuit diagram (step S23). The circuit diagram editor 109 also stores the data for the parent-layer circuit diagram in the edited circuit diagram storage unit 110. The processing then moves to step S25 in
Moreover, a branch line correspondence table 111 is attached to the block 110. The branch line correspondence table 111 simply expresses the connection relationships between the branch lines on the input side and the branch lines on the output side. In the example in
In the example in
In the example in
Moving to an explanation of
Returning to the explanation of
The display instruction receiver 111 then reads the data of the parent-layer circuit diagram from the edited circuit diagram storage unit 110, and causes the display unit 106 to display the read data. In response to an instruction from the display instruction receiver 111, the display unit 106 displays the data of the parent-layer circuit diagram on the display device or the like (step S29). As a result, the user can check changed portions (in other words, the block portions) in the circuit diagram to be processed, and can check connection relationships of the branch lines in the block by the branch line correspondence table.
The display instruction receiver 111 then determines whether or not a display instruction for a child-layer circuit diagram was received (step S31). For example, when a user uses a mouse or the like and selects a block that is located on a parent-layer circuit diagram, a display instruction for the child-layer circuit diagram is outputted. When it is determined that the display instruction for the child-layer circuit diagram has not been received (step S31: NO route), the processing ends.
On the other hand, when it is determined that a display instruction for the child-layer circuit diagram was received (step S31: YES route), the display instruction receiver 111 reads data for the child-layer circuit diagram from the edited circuit diagram storage unit 110, and causes the display unit 106 to display the read data. The display unit 106 displays the data for the child-layer circuit diagram on the display device or the like (step S33). As a result, the user is able to check the details of the connection relationships between the branch lines in the block.
The display instruction receiver 111 then determines whether or not a display instruction for a grandchild-layer circuit diagram has been received (step S35). For example, when a user uses a mouse or the like to select a block that is located on the child-layer circuit diagram, a display instruction of the grandchild-layer circuit diagram is outputted. When it is determined that the display instruction for the grandchild-layer circuit diagram has not been received (step S35: NO route), the processing ends.
However, when it is determined that the display instruction for the grandchild-layer circuit diagram has been received (step S35: YES route), the display instruction receiver 111 reads data for the grandchild-layer circuit diagram from the edited circuit diagram storage unit 110, and causes the display unit 106 to display the read data. The display unit 106 displays the data for the grandchild-layer circuit diagram on the display device or the like (step S37). The processing then ends. As a result, the user is able to further check the detailed contents of the connection portions.
By carrying out the aforementioned processing, the bus lines that are not connected are connected. By doing so, only connection portions of the bus lines (in other words, the portions where a block is placed) are changed without changing the portions for which the design is already completed. Consequently, a user does not need to deeply understand portions for which the design is already completed, and does not need to change portions for which the design is already completed. Therefore, the burden of work on a user is reduced, and the work efficiency is improved.
Although one embodiment of this technique was explained, this technique is not limited to this embodiment. For example, the functional block diagram of the aforementioned circuit diagram creation support apparatus 1 does not always correspond to an actual program module configuration.
In addition, configurations of the respective table described above are mere examples, and the aforementioned configurations may be changed. Furthermore, as for the processing flows, the order of the steps may be exchanged as long as the processing results do not change. Moreover, the steps may be executed in parallel as long as the processing results do not change.
Incidentally, after identifying the connection relationship by the processing from the steps S3 to S15 in the aforementioned example, the results are displayed to the user. However, a processing may be carried out to simply list data of the bus lines to be connected on the confirmation screen in
In addition, the aforementioned circuit diagram creation support apparatus 1 is a computer device as shown in
Incidentally, the respective processing units depicted in
The aforementioned embodiment of this technique is summarized as follows:
A circuit diagram creation support method according to the embodiment includes: (A) generating data of a first circuit diagram by disposing a block that represents a connection relationship between first branch lines included in a first bus line in a second circuit diagram and second branch lines included in a second bus line to be connected to the first bus line in the second circuit diagram so as to connect the first bus line with the second bus line through the block, wherein the block represents that the connection relationship identified by connection relationship data stored in a storage device is depicted in detail in a lower-layer than a layer of the block; and (B) generating display data including the connection relationship data and the first circuit diagram to output the generated display data.
By doing so, it is possible to limit a portion to which change is added to a portion of the block. Therefore, there is no need to change the circuits for which the design is already complete. Thus, because there is no need to deeply understand the circuits for which the design is already complete, and carry out the change for which the design is already complete, the work efficiency is improved. In addition, as for the connection relationship within the block, it becomes possible to confirm it by using the connection relationship data.
Moreover, the aforementioned method may further include: (C) reading the connection relationship data from the storage device, and outputting the connection relationship data in a mode that a user is capable of editing the connection relationship data; and (D) in response to receipt of edited connection relationship data, updating the connection relationship data stored in the storage device by the edited connection relationship data. By enabling the user to edit the connection relationship data, it is possible to suppress inappropriate connection relationship remains.
Furthermore, the aforementioned method may further include: (E) first ordering the first branch lines according to names of the first branch lines or a temporal sequence that the first branch lines were disposed, by using first data including, for each bus line, names of branch lines included in the bus line or data of a temporal sequence that the branch lines included in the bus line were disposed, wherein the first data is stored in a bus line data storage unit; second ordering the second branch lines according to names of the second branch lines or a temporal sequence that the second branch lines were disposed, by using the first data; and (F) identifying connection relationship between the first branch lines and the second branch lines by associating the first branch lines with the second branch lines based on results of the first ordering and the second ordering. In this way, it becomes possible to automatically identify the probable connection relationship.
Moreover, the aforementioned method may further include: (G) identifying, for each bus line included in the second circuit diagram, the number of branch lines included in the bus line by using the first data stored in the bus line data storage unit; and (H) splitting bus lines to be connected to the first bus line and to the second bus line so as to make the number of branch lines in an input side and the number of branch lines in an output side coincide. By doing so, it is possible to appropriately split the bus lines to be connected in the circuit diagram to the input side and to the output side.
In addition, the aforementioned method may further include: (I) generating data of a third circuit diagram that is a circuit diagram within the block by using the connection relationship data stored in the storage device; and (J) outputting the data of the third circuit diagram in response to detecting that the block in the first circuit diagram is selected. Thus, it is possible to suitably check the circuit diagram in the lower-layer, in which the details of the connection relationship are illustrated.
Furthermore, at least one bus line of bus lines included in the third circuit diagram may be split to a plurality of sub-bus lines and the plurality of sub-bus lines may be disposed in the third circuit diagram, and an identifier representing a portion to be connected to another sub-bus line among the plurality of sub-bus lines may be assigned to each of the plurality of sub-bus lines. Thus, when the bus lines can be split to plural sub-bus lines, it is possible to create the circuit diagram, flexibly.
Incidentally, it is possible to create a program causing a computer to execute the aforementioned processing, and such a program is stored in a computer readable storage medium or storage device such as a flexible disk, CD-ROM, DVD-ROM, magneto-optic disk, a semiconductor memory, and hard disk. In addition, the intermediate processing result is temporarily stored in a storage device such as a main memory or the like.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present inventions have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-071148 | Mar 2011 | JP | national |