Mixed Width Port Configuration

Simple Dual-port RAM, True Dual-port RAM, and Dual-port ROM support mixed-width port configuration where you can set port A and port B to have different data widths. The support for mixed-width ports depends on the width ratio between port A and port B. You only set the Width Ratio, Port A: Data Bus Width, and Port A: BRAM Depth in the IP Manager. The core automatically set the Data Bus Width and BRAM Depth for Port B based on the ratio you select.

The ratio of the depths is always the inverse of the ratio of the widths. For instance, if the Write Data Width interface for Port A is 32 and the Read Data Width for Port B is 8 (4:1 ratio), then the memory depth ratio for Port A: Port B is 1:4.

Note that the range to set for Port A: Data Bus Width must be exactly divisible by the width ratio. For example of 2:1 ratio, you cannot set Port A: Data Bus Width of 1-bit.