Attention

This documentation is a work in progress. Expect to see errors and unfinished things.

dpram

Description

Dual port memory with independent clocks, port B is read-only
Altera and Xilinx synthesis tools successfully “find” this as block memory

Pinout

Schematic symbol

Parameters

Table 49 dpram_param_table

Name

Min

Max

Default

Description

aw

?

?

8

dw

?

?

8

initial_file

?

?

Ports

Table 50 dpram_port_table

Signal

Direction

Description

clka

Input

clkb

Input

addra[aw-1:0]

Input

douta[dw-1:0]

Output

dina[dw-1:0]

Input

wena

Input

addrb[aw-1:0]

Input

doutb[dw-1:0]

Output

Implementation and use

The portable Verilog implementation can be found in dpram Source File

Timing Diagram

A GTKWave-generated timing diagram is shown below:

Timing diagram