You can ask "what if" questions about your model by interactively forcing objects to desired values and seeing if the patch fixes the problem. If it does, you can then edit your source file to incorporate the change.
The object that is being forced must have write access. To specify write access, use the -access or -afile option when you elaborate the design with xmelab.
To set an object to a given value,
-
If you are using the Tcl command-line interface, use the
forcecommand to set a specified object to a given value and force it to retain that value until you release it with a release command or place another force on it.You cannot use theforcecommand on an analog object. In addition, you cannot use theforcecommand on digital objects while the analog solver is active. -
If you are using SimVision, choose Simulation - Create Force to force a signal to a given value. To release a signal, position the pointer over the signal, click the right mouse button, and select Release Force to release the signal. This choice is not active while the analog solver is active because you cannot use the
forcecommand in that circumstance.You cannot use theforcecommand on an analog object. In addition, you cannot use theforcecommand on digital objects while the analog solver is active.
