A collision detection circuit for a multi-port memory system is presented.
The collision detection circuit detects a collision condition if the
addresses at two or more ports at the same time match and if one of the
two or more ports is writing to the memory location associated with that
address. A collision flag can then be set when the collision condition
exists. In some embodiments, arbitration can occur when the collision
flag is set.