|
<< Click to Display Table of Contents >> (TBench) 3.6 Create the Read Cycle Transaction Diagram |
![]() ![]()
|
The read cycle will initiate a read transaction with the clocked SRAM and also monitor the data bus to verify the result of the read. Since the signals for the read diagram are so similar to the write diagram, we will start by copying the write diagram and then modify the waveforms (instead of starting with the template).
Copy the tbwrite diagram to make tbread:
|
|
|
Modify the WRB Signal:
The write control signal, WRB, should stay high (inactive) for the duration of the read.
|
|
Modify the DBUS Signal:
Since our SRAM is clocked the data comes out on the clock cycle after the chip select signal, CSB, goes active. You can drag each edge of DBUS individually, or use the following technique to shift the whole signal.
|

During the read transaction, the DBUS signal will be driven by the SRAM so it will be an input signal to the test bench (not an output like in the write cycle).
|
|
|
The completed read diagram looks like the following:
