Parameterizable Macros for Intel® FPGAs User Guide

ID 772350
Date 11/05/2025
Public
Document Table of Contents

2.2.1. True Dual-Port RAM Parameterizable Macro Port Descriptions

Table 3.  True Dual-Port RAM Parameterizable Macro Port Descriptions
Port Type Required Description
clock0 Input Yes The following describes which clock to connect to the clock0 port and how it affects port synchronization in different clocking modes:
  • Single Clock Mode: Connect your clock to clock0. This clock synchronizes all registered ports.
  • Read/Write Clock Mode: Connect the write clock to clock0. This clock synchronizes all registered write-side ports, such as data_a, address_a, wren_a, and byteena_a.
  • Input/Output Clock Mode: Connect your input clock to clock0. This clock synchronizes all registered input ports.
  • Independent Clocks Mode: Connect the Port A clock to clock0. This clock synchronizes all registered input and output ports associated with Port A.
clock1 Input Optional The following describes which clock to connect to the clock1 port and how it affects port synchronization in different clocking modes:
  • Single Clock Mode: clock1 is not used. All registered ports are synchronized by clock0.
  • Read/Write Clock Mode: Connect the read clock to clock1. This clock synchronizes all registered read-side ports, such as address_b and rden_b.
  • Input/Output Clock Mode: Connect the output clock to clock1. This clock synchronizes all registered output ports.
  • Independent Clocks Mode: Connect the Port B clock to clock1. This clock synchronizes all registered input and output ports associated with Port B.
clocken0 Input Optional Clock enable input for clock0 port.
clocken1 Input Optional Clock enable input for clock1 port.
aclr Input Optional Asynchronous clear port which asynchronously clears the registered input data output port(s) clocked by clock0. You can control the effect of this port through the asynchronous clear parameters:
  • OUT_DATA_ACLR_A
  • OUT_DATA_ACLR_B
sclr Input Optional Synchronous clear port. Clears the registered data output ports.
data_a Input Yes Data input port at port A.
address_a Input Yes Address port at port A.
wren_a Input Optional (Always pull low if not connected) Write enable port at Port A.
rden_a Input Optional Read enable port for port A.
byteena_a Input Optional Byte enable port at Port A to mask the data_a port so that only specific bits of the data are written to the memory.
data_b Input Optional Data input port at port B.
address_b Input Optional Address port at port B.
wren_b Input Yes Write enable port at Port B.
rden_b Input Optional Read enable input for port B.
byteena_b Input Optional Byte enable port at Port B to mask the data_b port so that only specific bits of the data are written to the memory.
q_a Output Yes Data output port at port A. The width of q_a port must be equal to the width of data_a port.
q_b Output Yes Data output port at port B. The width of q_b port must be equal to the width of data_b port.