Truth Table/Functionality

The altdpram function represents asynchronous memory or memory with synchronous inputs and/or outputs.

Synchronous Write to Memory (all inputs registered)

inclock

inclocken

wren

Function

not

H

H

No change.



L

X

No change.

X

L

L

No change.



H

H

The memory location pointed to by wraddress[] is loaded with data[].

Synchronous Read from Memory

inclock

inclocken

rden

Function

not

H

H

No change.



L

X

No change.

X

L

L

No change.



H

H

The q[] port outputs the contents of the memory location.

Totally asynchronous memory operations occur when neither inclock nor outclock is connected.

Asynchronous Memory Operations

wren

Function

H

The memory location pointed to by wraddress[] is loaded with data[] and controlled by wren. The output q[] is asynchronous and reflects the memory location pointed to by rdaddress.

L

No change.