Patent ID: 7206917

Claim:
A control circuit of memory address decoding for determining whether a given address is located in one of a plurality of sections, each section having at least one memory unit and each memory unit having a unique corresponding address, the corresponding address using the binary system, the control circuit comprising: an access module for receiving the given address; a sorting module for making the corresponding address of the section with greater size smaller than the corresponding address of the section with smaller size, and if the size of a first section is equal to the size of a second section, the first and the second sections are capable of being swapped; and a comparing module for building a bit-pattern for each section based on its corresponding addresses and sending a plurality of comparison signals after comparing the given address with those of each bit-pattern, the comparing module comprising a plurality of comparing units, each comparing unit comprising a plurality of first level AND gates, a plurality of NXOR gates, and a second level AND gate, each of the first level AND states having two inputs for respectively receiving a mask bit generated from the bit-patterns and an associated bit of the given address, each of the NXOR gates having two inputs for respectively receiving the output of one of the first level AND states and a standard address generated from the bit-patterns, the inputs of the second level AND state being connected to the outputs of the NXOR gates and thereby sending out the comparison signals.