TestBencher Pro and Reactive Test Bench Help

5.2 End Diagram Markers

5.2 End Diagram Markers

Previous topic Next topic  

5.2 End Diagram Markers

Previous topic Next topic  

End Diagram Markers are used to indicate the execution end of a timing diagram. These markers are useful for extending a transaction past the last drawn waveform (or for terminating the transaction early than the drawn waveforms). In TestBencher, the End Diagram markers are especially useful for syncing up multiple timing diagrams that share the same clock. For example, it is convenient to place an End Diagram Marker at the exact ending transition of a clock cycle.

If there are no End Diagram markers, then the longest non-clock signal will determine the end of the timing diagram. If there is more than one End Diagram Marker then the earliest one will determine the end of the timing diagram. End Diagram Markers are displayed using a purple line.

To modify a marker to be an end diagram marker:

Add a marker and then double-click on the marker to open the Edit Time Marker dialog.

Select End Diagram from the Marker Type drop down list.

endDiagramMarkerProps

Since there is usually only one End Diagram marker in a diagram, it useful to set the Display Label to Type so that the marker will display "End Diagram" rather than its name.

Notice that the end diagram marker is drawn in purple to indicate that it will stop the simulation.

display_type_end_diagram

Graphically making waveforms end at common time:

The End Diagram Marker will make the testbench code end at the Marker time, however the drawn timing diagram may not look as neat as the the generated code. If you want all the signals to redraw themselves so that they end on the Marker line, use the following feature:

Double click on the Marker to open the Edit Time Marker dialog and check the Signal ends snap to marker box and close the dialog.

marker_snap_to_end

Then immediately, drag-and-drop the marker and notice that the ends of all the drawn signals snap to the new position of the marker.

snap_to_marker_4