Ocean Script for differential amplifier

Status
Not open for further replies.
Surely understand meaning of #8.
First of all, Spectre does not launch at all due to syntax error of netlist.
Surely see and understand logfile of Spectre.

And even if Spectre does run, post processing will fail since you don't define I, W, L at all.

And your "input.scs" does not include "paramset statement".

netlist header
You can not understand Cadence ADE at all.
Surely learn very basic operation.

I recommend you to attend kindergarten level training of Cadence ADE.

I have to write code for Nelder-Mead method in Ocean.
https://en.wikipedia.org/wiki/Nelder–Mead_method

Use ADE-GXL or OCEAN-XL.

The following fragments are case when we don't use Spectre's "paramset" ability.
Code:
I_list = list(150u, 155u, 170u, 180u)
W_list = list(0.5u, 0.8u, 0.9u, 1u)
L_list = list(10u, 15u, 17u, 22u)

n = length(I_list)
for(i, 0, n-1
  I = nth(i, I_list)
  W = nth(i, W_list)
  L = nth(i, L_list)

  desVar("I", I)
  desVar("W", W)
  desVar("L", L)

); for
 

Attachments

  • 170621-193625.png
    7.4 KB · Views: 74
  • 170621-201247.png
    59.9 KB · Views: 75
Last edited:

I have used this but still the code is not working.
Please can you check it once.

The code is
-----------------------------------------------
[CODE}
 


Error is coming like this. I think the list of input values are not allocating to desVar.
 

Yes. I have changed it.

 

 

Surely consider loop structure of script.

Your issues are too trivial and low level,
discuss with students who are same level as you.
 

I'm a student. I'm working on Cadence - Virtuoso. I have to write Ocean script for following Algorithm. I'm completely new to Ocean. So please help me to write code for the algorithm View attachment 139526

The file is attached.
Please help me to write Ocean Script for the algorithm which is attached.
Thank you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…