The JLS startup file is used to force various circuit properties when JLS is run in batch mode. The startup file is ignored if JLS is started up in interractive mode.
TYPE type PROPDELAY delay
where type is one of
AndGate,
OrGate,
NotGate,
XorGate,
NandGate,
NorGate,
DelayGate,
TriState,
Register,
Memory,
MUX,
Adder,
Decoder,
and delay is a positive integer.
CLEAR WATCHES
CLEAR PROBES
RESET PROPDELAYS
ELEMENT name WATCHED true/false
where name is the name of an element in the circuit and true/false
is either the word true or the word false.
If name is an element in a subcircuit, then the sequence of subcircuit
names starting with subcircuit in the main circuit must be used, with
periods between the names.
For example, if the main circuit has a subcircuit called "cache" and the
cache subcircuit has a subcircuit called "control" and the control subcircuit
has a register element called "tag", then the name of the tag register is
cache.control.tag.
ELEMENT name PROPDELAY value
where name is the name of an element in the circuit and value is the propagation delay (or access time in the case of a memory element) and is a positive integer. If name is an element in a subcircuit, then it must be qualified as in the previous specification.
ELEMENT name INITIALLY value
where name is the name of a register element in the circuit and value is the initial value for that register, a positive integer. If name is an element in a subcircuit, then it must be qualified as in the previous specification.
ELEMENT name FILENAME filename
where name is the name of a memory element in the circuit and filename is the name of the file to read initial memory contents from when simulation begins. This overrides any builtin memory values. If name is an element in a subcircuit, then it must be qualified as in the previous specification.
The parameter file is read in order and each specification is processed in order. For example, to make exactly one register (say PC) be watched and everything else not watched, first specify that all elements be unwatched, then make the PC watched.
Note that all parameter file information is case sensitive. Otherwise no special formatting is required, other than words and numbers must be separated by white space (one or more spaces, tabs and/or new lines). If any errors are encountered when JLS reads the parameter file, an error message is printed and JLS terminates immediately.