ProASIC3E RAM4K9

Features

RAM4K9 is a true dual port RAM and it supports the following features.

Description

The following signals are used to configure the RAM4Kx9 memory element.

WIDTHA and WIDTHB

These signals enable the RAM to be configured into one of the four allowable aspect ratios.

WIDTHA1, WIDTHA0

WIDTHB1, WIDTHB0

W x D

00

00

1 x 4K

01

01

2 x 2K

10

10

4 x 1K

11

11

9 x 512

BLKA and BLKB

These signals are active low and will enable the respective ports when asserted. When BLK signals are de-asserted the output holds the previous value.

WENA and WENB

These signals switch the RAM between Read and Write modes for the respective ports. A Low on these signals indicates Write operation and a High indicates a Read.

CLKA and CLKB

These are the clock signals for the synchronous read and write operations. These can be driven independently or with the same driver.

PIPEA and PIPEB

These signals are used to specify pipelined read on the output. A Low on the PIPEA or PIPEB indicates a non-pipelined read and the data appears on the output in the same clock cycle. A High indicates a pipelined read and data appears on the output in the next clock cycle.

WMODEA and WMODEB

These signals are used to configure the behavior of the output when RAM is in the write mode. A Low on this signal makes the output retain data from the previous read. A High indicates a pass-through behavior where the data being written will appear on the output immediately. This signal gets overridden when RAM is being read.

RESET

This Active Low signal resets the output to zero when asserted. It does not reset the content of the memory.

ADDRA and ADDRB

These are used as read or write addresses and are 12 bits wide. When a depth of less than 4K is specified, the unused higher order bits must be grounded.

W x D

ADDRA/ADDRB UNUSED

1 x 4K

N/A

2 x 2K

ADDRA[11], ADDRB[11]

4 x 1K

ADDRA[11:10], ADDRB[11:10]

9 x 512

ADDRA[11:9], ADDRB[11:9]

DINA and DINB

These are the input data signals and are 9 bits wide. But not all 9 bits are valid in all configurations. When a data width less than 9 is specified unused higher order signals must be grounded

W x D

ADDRA/ADDRB UNUSED

1 x 4K

DINA[8:1], DINB[8:1]

2 x 2K

DINA[8:2], DINB[8:2]

4 x 1K

DINA[8:4], DINB[8:4]

9 x 512

N/A

DOUTA and DOUTB

These are the output data signals and are 9 bits wide. But not all 9 bits are valid in all configurations. Similar to the DINA and DINB higher order bits become unusable. The output data on unused pins is undefined.

RAM4K9 Truth Table
 

Operation

Address

CLK

BLK

WMODE

WEN

RESET

DI

DO

Deselct

X

X

H

X

X

X

X

Data-Last

Reset

X

X

X

X

X

L

X

L

Read

WADDR

Rising Edge

L

L

H

H

X

Data

Write (0)

ADDR

Rising Edge

L

L

L

H

WData

Data-Last

Write (1)

ADDR

Rising Edge

L

H

L

H

WData

WData