| |||
| Home > MBIST Instruction Register > Field descriptions > Read latency and write latency fields, MBIR[30:28] and MBIR[33:31] | |||
The read latency and write latency fields of the MBIR are used to specify the read and write latency of the RAM under test. Read and write latencies are the numbers of cycles that the RAM requires to complete read and write operations. For example, in a write to a RAM with a write latency of two cycles, the RAM inputs are valid for a single cycle. The next cycle is a NOP cycle with the chip enable negated. Similarly, in a read from a RAM with a read latency of three cycles, the RAM inputs are valid for a single cycle. After two NOP cycles, the read data is valid on the RAM outputs.
Even if the RAM under test uses the same latency for both read and write operations, you must still program both the read latency and write latency fields of the MBIR with the same value.
Table 3.4 shows the latency settings for read operations.
Table 3.4. Read latency field encoding
| Read latency MBIR[30:28] | Number of cycles per read operation |
|---|---|
| b000 | 1 |
| b001 | 2 |
| b010 | 3 |
| b011 | 4 |
| b100 | 5 |
| b101 | 6 |
| b110 | 7 |
| b111 | 8 |
Table 3.5 shows the latency settings for write operations.