By choosing "RAM" from the popup menu at the top of the Edit Modules dialog box, you can create, edit, or delete any number of RAMs of any length and cell size. The length refers to the number of cells (addressable locations) in the RAM. Each cell has an index, referred to as the address of the cell. The cell size refers to the width of, or number of bits in, each cell.
If you increase the length of an existing RAM, new memory locations containing the value 0 will be added at the end of the current cells. If you decrease the length of a RAM, some of the cells at the end will be deleted and their contents will be lost.
If you increase the cell size of an existing RAM, zeros are added to the left of each cell value. If you decrease the cell size, the left bits of each cell are lost.
You cannot edit the contents of a RAM using this dialog box. To edit a RAM's contents, use the pane on the right side of the desktop home screen.
Parameter:Length: a positive integer that specifies the number of cells in the RAM. If you wish to specify the length in binary or hexadecimal use the prefixes "0b" or "0x". The first cell has index (address) 0.
Cell size: the number of bits per cell. This must be a positive integer up to 64. If you wish to specify the size in binary or hexadecimal use the prefixes "0b" or "0x".