Question: MapleSim: Custom Component - How can I find min between three values ?

Hello everyone,

I am trying to create a custom component to find the minimum between 3 values.

I know that in Maple it is done by:

l := [5, 2, 3];
min(l[1], l[2], l[3]);

However I could not do the same with a custom component. I provided a screenshot below, where h(1), h(2), and h(3) are my input values and min(h1,h2,h3) is my output.

Thanks in advance,

Canberk

Please Wait...