UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 4892

Foundation Simulator: Cannot Find Free Formula Stimulator when running command (script) file

Description

Keywords: free formula stimulator, f1.x, script editor, command file, ald_wfm

Urgency: standard

General Description:

When using the ALD_WFM command in simulation script file, you may see the
following error:
Cannot find free formula stimulator

This error is indicating that all of the 16 Aldec Formulas have been used. When
using the ALD_WFM command, the simulator is creating custom Formulas which
you may also enter via the Stimulator Selection dialog. There is only space for
16 of these formulas. Each time a new formula is specified via an ALD_WFM
command in the script file, one of these 16 formulas is used. When all 16 spaces
are filled, you will get the error indicated above.

To view the Formulas in the Stimulator Selection dialog, select Signal -> Add
Stimulators from the Simulator window. (You must have at least one signal added
to the Waveform Viewer to be able to bring up the Stimulator Selection window).
In the Stimulator Selection dialog, hit the Formula... button. You will now see all of
the used formulas shown in the Set Formulas window, and you should see that all
16 are being used. There are a couple alternatives of workarounds at this point.

Solution

1

If you see some Formulas listed in the Set Formulas window which you know aren't
being used anymore, you may delete these to free up some spots for new
formulas. Simply select the desired formula, and hit Delete.

2

If you must use more than 16 formulas, you can change some of them from using
the ALD_WFM command in the Script File to use the WFM command. These 2
commands perform the same type of functionality, but the format you use is
slightly different.

The format for the WFM command is as follows:

wfm signal_or_bus_name at_time_1=state_1 at_time_2=state_2 ...
at_time_n=state_n

wfm signal_or_bus_name (at_time_1=state_1 at_time_2=state_2 ...
at_time_n=state_n)*m

wfm signal_or_bus_name <file name

NOTE: In all formats, time is expressed in 100 ps units, unless explicitly stated
otherwise.

For example:
ald_wfm my_sig L100H100L100H100
would become:
wfm my_sig @0=0 100ns=1 100ns=0 100ns=1

For more examples and documentation on using this WFM command, please refer
to the Foundation online Help:
Help -> Foundation Help Contents
Hit the Help Topics button, and in the Find tab, type WFM. Locate the Help topic on
this command.

or,
Type the word WFM in the Script Editor, and then double-click on it to highlight it.
Hit the F1 key to invoke the context sensitive help on this command keyword.

AR# 4892
Date Created 10/23/1998
Last Updated 08/12/2003
Status Archive
Type General Article