A random access memory architecture and method of handling data packets is
described. According to embodiments of the invention, an apparatus
includes a first processing unit for receiving serial data input, a
switch, and a plurality of serially connected random access memory
devices. The random access memory devices transmit data packets and
commands via write input ports, write output ports, read input ports, and
read output ports. A method for routing data includes receiving serial
data input in a first processing unit, generating a data packet based on
the serial data input, transmitting the data packet to a first random
access memory device via a write input port, decoding the data packet,
determining whether to perform a command in the first random access
memory device based on information in the data packet, and transmitting
the data packet to a second random access memory device.