Arbitration code for Dual port SRAMs when accessed from both sides

Question: - Since there is no guarantee as to what data is read during simulatneous access, can I control that with logic?  - Do you have anything to help prevent corrupting of data when trying to write to the same location at the same time?



Cypress has developed a code which will work in an Ultra37000 CPLD that indicates a collision via a busy signal. A collision is whenever both ports are accessing the same address at the same time. This code can be simply altered to work with the other devices in this family. Please contact your local sales office for information about obtaining this code.