Download Internal Memory (RAM and ROM) User Guide
Transcript
Memory Modes Page 3 In simple dual-port RAM mode, a dedicated address port is available for each read and write operation (one read port and one write port). A write operation uses write address from port A while read operation uses read address and output from port B. Figure 2 shows the block diagram of a simple dual-port RAM. Figure 2. Simple Dual-Port RAM data[] wraddress[] rdaddress[] rden wren byteena[] wr_addressstall wrclock wrclocken q[] rd_addressstall rdclock rdclocken ecc_status[] aclr In true dual-port RAM mode, two address ports are available for read or write operation (two read/write ports). In this mode, you can write to or read from the address of port A or port B, and the data read is shown at the output port with respect to the read address port. Figure 3 shows the block diagrams of a true dual-port RAM. Figure 3. True Dual-Port RAM data_a[] address_a[] wren_a byteena_a[] addressstall_a clock_a rden_a © November 2009 Altera Corporation data_b[] address_b[] wren_b byteena_b[] addressstall_b clock_b rden_b aclr_a aclr_b q_a[] q_b[] Internal Memory (RAM and ROM) User Guide