RAMs vary in their size and number of ports.
Single-ported SRAM is the most important and most simple resource to connect to our bus. It is a target only.
Today's SoC designs have more than fifty percent of their silicon area devoted to SRAM for various purposes.
The `hren' signal is not shown since the RAM is reading at all times when it is not writing.
However, this wastes power, so it would be better to hold the address input stable when not needing to read the RAM.
Most RAMs in use on SoCs are synchronous with the data that is output being addressed the clock cycle before.
RAMs below a few hundred bits should typically be implemented as register files made of flip-flops.
RAMs for SoCs were normally supplied by companies such as Virage and Artizan (but these are now part of larger companies). A `RAM compiler' tool is run for each RAM in the SoC. It reads in the user's size, shape, access time and port definitions and creates a suite of models, including the physical data to be sent to the foundry.
High-density RAM (e.g. for L2 caches) may clock at half the main system clock rate and/or might need error correction logic to meet the system-wide reliability goal.
|17: (C) 2008-13, DJ Greaves, University of Cambridge, Computer Laboratory.|