Patent ID: 8504977

Claim:
An electronic device, comprising: a storage device; at least one processor; and one or more modules that are stored in the storage device and are executed by the at least one processor, the one or more modules comprising: an importing module that imports a plurality of files of a circuit board from the storage device, the imported files comprising a component file that records components information, pins information, and wires information of the circuit board, a wiring file that records menus of group names and electrical rules of the components, a wiring group file that records a group name of each wiring group, a first electrical rule file that records first electrical rules of each wiring group; and a second electrical rule file that records second electrical rules of each wiring group, the component file and the wiring file being correlated using wire names; a first acquiring module that acquires the menus of group names and electrical rules of the components from the wiring file; a first inserting module that inserts the obtained menus into the component file according to the wire names to generate an integrated file; a second acquiring module that acquires group names of the wires from the wiring group file; a second inserting module that inserts the group names into the integrated file according to the wire names; a third acquiring module that acquires first electrical rules of the components from the first electrical rule file according to the group names; a third inserting module that inserts the first electrical rules into the integrated file according to the group names; a fourth acquiring module that acquires second electrical rules of the components from the second electrical rule file according to the group name; a fourth inserting module that inserts the second electrical rules into the integrated file according to the group names; a saving module that saves the integrated file into the storage device; and wherein the first electrical rules comprise maximum length value and minimum length value of a wire in each wiring group, and a maximum number of vias of the wire, the second electrical rules comprise length difference value between a longest wire and a shortest wire in each wiring group.