I have a V2P chip and am using both PPCs. Each has its own PLB bus and each PLB bus is connected to a small dual-ported BRAM (amongst other things). The idea is for them to pass messages to each other through this BRAM, but I was noticing mangled data. The shared BRAM is dedicated to this message-passing (no code or other data lives there). Trying to reduce the problem, I started using XMD to debug. The two programs initiallizng the respective programming BRAMs are just a few lines each now and don't even reference the shared BRAM, so there is no code accessing the shared area. Now when I use XMD (on either processor), I can read/write the shared BRAM. The wierdness is that consecutive reads can give different results. I am assuming this is the behavior I was initially seeing with my message-passing program and isn't a problem with XMD. The read results are ususally not wildly different... it is as if a value from one location sort of jumps to an adjacent location or lives in a couple locations at once, then on the next read, something variant of this. Clearly not the behavior I'd hope for. When using XMD to fiddle with the off-chip RAM on the board, it holds values just fine.
I can provide more details if helpful, but I was just wondering if anyone has any idea what is going on here. Any advice on how to debug further would be appreciated. Unfortunately can't use ModelSim because of the license requirements on the IBM stuff (PLB bus, etc). Just hoping it is something simple I have neglected...
Thanks in advance, Joey