|
楼主 |
发表于 2012-3-6 09:29:05
|
显示全部楼层
回复 9# catcat_2
感谢您的指导!忘了说明本项目用的FPGA器件为xc3s400a-4ft256!
在Using Block RAM in Spartan-3 Generation FPGAS (XAPP463 (v2.0) March 1, 2005)文档有点老 ;
As a dual-port RAM, the block RAM allows both ports to simultaneously access the same
memory cell. Potentially, conflicts arise under the following conditions.
1. If the clock inputs to the two ports are asynchronous, then conflicts occur if clock-to-clock
setup time requirements are violated.
2. Both memory ports write different data to the same RAM location during a valid write cycle.
3. If a port uses WRITE_MODE=NO_CHANGE or WRITE_FIRST, a write to the port
invalidates the read data output latches on the opposite port.
If Port A and Port B different memory organizations and consequently different widths, only the
overlapping bits are invalid when conflicts occur.
If Port A and Port B different memory organizations and consequently different widths, only the
overlapping bits are invalid when conflicts occur.
这个是针对的另外个端口的冲突说明! |
|