Discipline definition can be applied to a design or to the design object by one of the following ways:
- Specify within the design itself in the source file
- Use the
–setdisciplineoption ofxrun/xmelab. For example:-setd "INSTTERM-top.I1.UP- wreal_voltage"-setd "INSTTERM-top.I1.DN- wreal_voltage"-setd "INSTTERM-top.I1.Z- wreal_current"
This provides a powerful mechanism to influence the simulator without changing the underlying design information.
-
Specify the disciplines in an ams control file (using the file extension *.scs) using the
realresolvestatement. For example:amsd {connectmap discipline="wreal_current" realresolve=sumconnectmap discipline="wreal_voltage" realresolve=avg
}
