User`s guide

MPLAB
®
IDE User’s Guide
DS51519B-page 230 © 2006 Microchip Technology Inc.
18.2 SCL GENERATOR DIALOG
Use the SCL Generator dialog to create synchronous stimulus using the
behind-the-scenes, powerful Simulator Control Language (SCL). If you want to use
only asynchronous stimulus, you may go directly to the Stimulus Controller Dialog to
set this up. Otherwise, create the SCL stimulus file here, and then go to the Stimulus
Controller dialog to attach it.
The SCL Generator dialog allows you to enter stimulus information which is saved in a
file called a workbook. To open a new workbook, select Debugger>SCL Generator>
New Workbook. To open an existing workbook for editing, select Debugger>
SCL Generator>Open Workbook.
The SCL Generator dialog has the tabs listed below. All tabs have the same default unit
values.
Pin/Register Actions
Advanced Pin/Register
Clock Stimulus
Register Injection
Register Trace
When setting up multiple tabs, be aware of input interaction (see
Section 18.4 “Stimulus Input Interaction”).
Default Unit Values
For all tabs of the SCL Generator, the following applies:
Time Units are always in decimal.
PC values are always in hex.
Pin values are always either0’ or ‘1’.
Register values are always in hex.
Bitfield values are always in binary.
Label Constructs
Labels must be of the format:
alpha[_|alpha|numeric]
where:
alpha = alphabetic character(s)
_ = underscore character
numeric = numeric character(s)
All labels must:
begin with an alphabetic character
not end with an underscore (_)
not include two underscores together