Patent ID: 7840930

Claim:
A non-transitory computer-readable medium which stores a signal connection program of a hierarchical logic circuit, causing a computer to execute: a logic circuit reading step of reading information on a logic circuit having a hierarchical structure; a connection target reading step of reading connection target information up to a connection target including a pin or a net via hierarchies of the logic circuit, and producing a tree structure in which a hierarchy is taken as a node and a connection target is taken as a leaf; an uppermost hierarchy adjusting step of referring to the tree structure from its root, and taking a node from which the tree branches as an uppermost node; a connection target correcting step of searching a leaf the connection target of which is taken as a net from the tree structure, and adding a hierarchy port or a net in a lower hierarchy as a leaf to a lower hierarchy node connected to the net via the hierarchy port; a connection processing step of performing a connection processing from bottom up to the tree structure and rewriting the logic circuit information; and a logic circuit outputting step of outputting logic circuit information in which the connection processing has been completed.