Everything
 

Timing Chart window


This window is used to display the output signals and input signals for pins in the form of a timing chart.

This window allows time measurement in main clock units.

The browsed signal data can be saved to the timing chart file (*.wvo) by selecting the [File] menu >> [Save]/[Save As...]. Moreover, the saved file contents can be restored by selecting [File] menu >> [Open...].

If the project file is saved, signal data is not saved but information of the set pins is saved. (Solely saving the project file is sufficient if saving of the measurement result is unnecessary.)

Caution 1.

If the saved timing chart file is opened or the project file is opened while Simulator GUI is running with a microcontroller different from the one used when the timing chart file was created, the settings of pins that are not provided in the microcontroller will not be restored.

Caution 2.

The main clock and sub clock waveforms cannot be displayed in this window. In addition, when using the external bus interface function, the waveforms of pins used for the external bus interface function cannot be displayed.

Figure A.59

Timing Chart Window

 

This section describes the following.

[How to open]

-

Click the button.

-

Select [Timing Chart] from the [Simulator] menu.

[Description of each area]

(1)

Information bar

It can be specified whether this area is displayed or not, by selecting the [View] menu >> [Information Bar].

 

Clock/time count from simulation start until marker A location.

 

Clock/time count from simulation start until marker B location.

 

Clock/time count between markers A and B. (Displayed as absolute value.)

 

Select from the drop-down list the time unit for the location information of markers A and B.

This item can also be set by using [Time unit] in the [Edit] menu or [Time unit] from the context menu.

 

Selects the waveform data display magnification ratio from the drop-down list.

If a part of waveform data may be lost as a result of changing the display magnification ratio, the confirmation dialog box is displayed.

Remark 1.

Up to 4,294,967,262 clocks can be counted from the simulation start up to the marker position. When the count reaches the maximum value, the counter is cleared to 0 and starts counting again.

Remark 2.

The menu for setting the magnify ratio appears dimmed during program execution, so changing the ratio is unavailable.

(2)

Client area

Pin Name area

Displays the names of the pins for which timing chart display is performed. Pin selection is performed by selecting the [Edit] menu >> [Select Pin...] to open the Select Pin dialog box.

Marker area

Displays the 2 marker headers. These markers can be moved by dragging them with the mouse over this area.

 

Maker A

 

Maker B

Waveform area

Performs timing chart display for the data of the pins specified in the Pin area.

The following color distinctions are used according to the signal by default.

Green

The HIGH and LOW signals of the pins

Red

High-impedance signals

Blue

Unsampled signals

Remark 1.

When the buffer is full, the data will be overwritten by the latest data starting from the oldest data because the buffer storing the pin data is in a ring buffer format.
The upper limit of the buffer size is one of the following.

-

The number of pin change points: 4,096

-

The number of clocks: 2,147,483,631

-

Horizontal draw width: 134,217,711 pixels

Remark 2.

The colors and fonts can be changed via the Customize dialog box that is opened by selecting the [Option] menu >> [Customize...].

[Dedicated menu (Timing Chart window)]

(1)

[Edit] menu

Clear

Deletes all the waveform data.

Find...

Opens the Search Data dialog box.

Waveform data search is performed in this dialog box.

Search backward

Searches for the change point of the selected pin in the backward direction (toward the left).

Search forward

Searches for the change point of the selected pin in the forward direction (toward the right).

Select Pin...

Opens the Select Pin dialog box. The pin for which the waveform data is to be displayed is selected in this dialog box.

Time unit

Selects the time unit.

 

main clock

Main clock (default)

usec

Microsecond

msec

Millisecond

(2)

[View] menu

Waveform

Switches on/off display of the Maker area and Waveform area.

Information Bar

Switches on/off display of the information bar.

Zoom

Selects the waveform data display magnification ratio from a cascade menu.

If a part of waveform data may be lost as a result of changing the display magnification ratio, the confirmation dialog box is displayed.

 

x 1/32

Sets the magnification ratio to 1/32.

x 1/16

Sets the magnification ratio to 1/16.

x 1/8

Sets the magnification ratio to 1/8.

x 1/4

Sets the magnification ratio to 1/4.

x 1/2

Sets the magnification ratio to 1/2.

x 1

Sets the magnification ratio to 1.

x 2

Sets the magnification ratio to 2.

x 4

Sets the magnification ratio to 4.

x 8

Sets the magnification ratio to 8.

x 16

Sets the magnification ratio to 16.

x 32

Sets the magnification ratio to 32.

(3)

[Option] menu

Customize...

Opens the Customize dialog box.

[Timing Chart toolbar]

 

Deletes all the waveform data.

 

Searches for the change point of the selected pin in the backward direction (toward the left).

 

Searches for the change point of the selected pin in the forward direction (toward the right).

 

Opens the Select Pin dialog box. The pin for which the waveform data is to be displayed is selected in this dialog box.

 

Selects the waveform data display magnification ratio from the drop-down list.

If a part of waveform data may be lost as a result of changing the display magnification ratio, the confirmation dialog box is displayed.

[Context menu]

The following context menus are available in the Client area.

Clear

Deletes all the waveform data.

Find...

Opens the Search Data dialog box.

Waveform data search is performed in this dialog box.

Search backward

Searches for the change point of the selected pin in the backward direction (toward the left).

Search forward

Searches for the change point of the selected pin in the forward direction (toward the right).

Select Pin...

Opens the Select Pin dialog box. The pin for which the waveform data is to be displayed is selected in this dialog box.

Waveform

Switches on/off display of the Maker area and Waveform area.

Time unit

Selects the time unit.

Zoom

Selects the waveform data display magnification ratio.

If a part of waveform data may be lost as a result of changing the display magnification ratio, the confirmation dialog box is displayed.

Move MakerA

Moves marker A to the cursor location. The same action can be accomplished by pressing the [Shift] key + left-clicking.

Move MakerB

Moves market B to the cursor location. The same action can be accomplished by pressing the [Ctrl] key + left-clicking.

[Operation]

(1) Pin selection

(2) Display of timing chart

(3) Clearing of timing chart

(4) Timing measurement for timing chart

(5) Data search function

(6) Operation at reset

(1)

Pin selection

To display the timing chart, it is first necessary to select the pin to be displayed.

Open the Select Pin dialog box by selecting the [Edit] menu >> [Select Pin...] and select the pin to be edited. Once a pin is selected, its name is displayed in the Pin Name area.

(2)

Display of timing chart

The waveforms of the selected pins are displayed in timing chart form through execution of the program.

Remark

The simulation speed can be increased by hiding the timing chart.
To hide the timing chart, select the [View] menu >> [Waveform] (deselect this item).
When the timing chart is hidden, the Maker area and Waveform area appear dimmed and "Display OFF" is displayed in the center.

(3)

Clearing of timing chart

Timing chart display is cleared by selecting the [Edit] menu >> [Clear].

(4)

Timing measurement for timing chart

The timing between two points can be measured by marking 2 locations using markers A and B.

The time of each marker and the time between markers are displayed in the information bar.

Each marker can be placed at the target position by dragging the marker head. Moreover, it can also be placed at the position of the current mouse cursor by selecting [Move MarkerA]/[Move MarkerB] from the context menu.

The marker that is clicked last becomes the selected marker and can be subjected to the Data search function.

Figure A.60

Maker A And Maker B

(5)

Data search function

There are two data search functions for timing charts.

(a)

Simple search

Simple search is a function used to search change points for one pin.

Select the name of the pin for which the search is to be performed in the Pin area and then select the [Edit] menu >> [Search backward] or [Search forward].

As a result, the selected marker moves to the data position at which the change point was detected.

(b)

Detailed search

In the case of detailed search, search using a combination of data of multiple pins can be executed.

The search data is set in theSearch Data dialog box displayed by selecting the [Edit] menu >> [Find...].

The selected marker moves to the data position that was hit, similarly to simple search results.

(6)

Operation at reset

If CPU reset or Simulator GUI reset occurs, the displayed waveforms of the timing chart are all cleared.