Home > Community > Forums > Custom IC Design > Minimum Value Function Exists in Waveform calculator?

## Email

Recipients email * (separate multiple addresses with commas)

Message *

 Send yourself a copy

## Subscribe

Intro copy of the newsletter section here, some intro copy of the newsletter. Instruction of how to subscribe to this newsletter.

First Name *

Last Name *

Email *

Company / Institution *

 Send Yourself A Copy

# Minimum Value Function Exists in Waveform calculator?

Last post Wed, Jan 2 2013 1:44 AM by Andrew Beckett. 1 replies.
 Started by canbaltaci 29 Oct 2012 08:17 AM. Topic has 1 replies and 748 views
• #### Mon, Oct 29 2012 8:17 AM

Minimum Value Function Exists in Waveform calculator?
 Hello,I am using ADE, IC5141. I perform a DC simulation and I defined two different scalar outputs (let's say O_1 and O_2). Now, I would like to define a new scalar output O_3 which is the minimum value among the scalar outputs O_1 and O_2. Is there a simple special function to define the output O_3? If there is not how can I define such an output? Best regards,Can
• Post Points: 20
• #### Wed, Jan 2 2013 1:44 AM

Re: Minimum Value Function Exists in Waveform calculator?
 In IC615 (and IC614) you can directly reference the name of the output as a variable. In IC5141 however, you'd have to make the output have an assignment. So for example, rather than having:O_1 : someFunction()you'd have to do:O_1: O_1=someFunction()O_2: O_2=someOtherFunction()O_3: min(O_1 O_2)note that you have to ensure that the outputs are in the right order - so that any variables are defined before they are used (in IC614/IC615 this is done automatically so that dependent expressions are evaluated in the correct order).Andrew.
• Post Points: 5