Compact bidirectional data memory module