Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- 2) If the write addresses match compare the data being written. If all the ports are writing the same data then there is no problem. --- Quote End --- I don't think it's necessary to check the data being written unless you intended to separately accumulate statistics or otherwise report the collision. The match vs. not has no impact on how you actually process the pending writes (just always write whatever your chosen priority master is writing, and if it happens to match what everybody else wanted to write, fantastic). As far as priority goes, static priority based on port is probably simpler to implement and simpler to explain to a 3rd party using your module. This shouldn't be a frequently exercised piece of functionality, so minimizing the resources/time devoted to it is probably a good idea.