Truth Table/Functionality

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

text-align:left;

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[].

text-align:left;

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.

text-align:left;

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.