Parameterizable Macros for Intel® FPGAs User Guide

ID 772350
Date 9/30/2024
Public
Document Table of Contents

2.1.1. Simple Dual-Port RAM Parameterizable Macro Port Descriptions

Table 1.  Simple Dual-Port RAM Parameterizable Macro Port Descriptions
Port Type Required Description
clock0 Input Yes The following describes which memory clock you must connect to the clock0 port, and the port synchronization in different clocking modes:
  • Single clock: Connect your single source clock to clock0 port. The same source clock synchronizes all registered ports.
  • Read/Write: Connect your read clock to clock0 port. the write clock synchronizes all registered ports related to write operation, such as data_a port, address_a port, wren_a port, and byteena_a port.
  • Input Output: Connect your input clock to clock0 port. The input clock synchronizes all registered input ports.
  • Independent clock: Connect your port A clock to clock0 port. The port A clock synchronizes all registered input and output ports of port A.
clock1 Input Optional The following describes which memory clock you must connect to the clock1 port, and the port synchronization in different clocking modes:
  • Single clock: Not applicable. clock1 port synchronizes all registered ports.
  • Read/Write: Connect your read clock to clock1 port. The read clock synchronizes all registered ports related to read operation, such as address_b port and rden_b port.
  • Input Output: Connect your output clock to clock1 port. The output clock synchronizes all the registered output ports.
  • Independent clock: Connect your port B clock to clock1 port. The port B clock synchronizes all registered input and output ports of port B.
clocken0 Input Optional Clock enable input for clock0 port.
clocken1 Input Optional Clock enable input for clock1 port.
aclr0 Input Optional Asynchronous clear port. Clears the registered input and output ports clocked by clock0.
aclr1 Input Optional Asynchronous clear port. Clears the registered input and output ports clocked by clock1.
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.
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.
address_b Input Optional Address port at port B.
rden_b Input Optional Read enable port for port B.
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.
addressstall_a Input Optional Address clock enable input to hold the previous address of address_a port for provided that the addressstall_a port is high.
addressstall_b Input Optional Address clock enable input to hold the previous address of address_b port for provided that the addressstall_b port is high.