C
comp.cad.cadence
Guest
Hi, pals
I'm trying to lean how to use OCEAN now. Upon reading the OCEAN
reference and some previous posts, I am still not so clear at some
point. Here I try to do a little summary of my confusion and thoughts.
I really appreciate that you can correct me or address any comments
there.
1. VT("/outp") is kinda Cadence Calculator styled expression and not
recommended in OCEAN. Instead, the v("/outp" ?result 'transient) is
better used there. But obviously the VT(...) expression is more
convenient, right?
2. pv is to get the value of the parameter of some component (most
likely, a mos transistor).
v("/t_net") is to get the value of some nod voltage
i("t_component") is to get the current through some component.
My question is:
i("/NM0") and pv("NM0" "id") are doing the same thing? (Here, to
get the drain current of a mos transistor.)
3. Is the expression getData("M0")~>cgd equivalent to pv("M0" "cgd")?
Is there difference between them? (Actually, I haven't found the
documentation about the caret expression ~>.)
4. Between the two expressions: getData("hier1.hier2.M0:1") and
getData("/hier1/hier2/M0/d"), which one should be favored to use in
writing OCEAN code? It seems that the OCEAN file you get by using "save
script" from ADE follows the second one. In previous posts, someone
mentioned that something like "terminal mapping" is responsible for the
conversion between the two ones.
5. It seems that the function getData(...) is more universal one, which
can access to any data (either single value or vector set). So it can
take place of the other functions like v(...), i(...), pv(...). Is that
right way to think of getData()?
6. As the subject of my post, Cadence is kinda mixture of many things.
Also, there exists a lot overlap among them. ?
Thanks a lot!
rgds
-Andy
I'm trying to lean how to use OCEAN now. Upon reading the OCEAN
reference and some previous posts, I am still not so clear at some
point. Here I try to do a little summary of my confusion and thoughts.
I really appreciate that you can correct me or address any comments
there.
1. VT("/outp") is kinda Cadence Calculator styled expression and not
recommended in OCEAN. Instead, the v("/outp" ?result 'transient) is
better used there. But obviously the VT(...) expression is more
convenient, right?
2. pv is to get the value of the parameter of some component (most
likely, a mos transistor).
v("/t_net") is to get the value of some nod voltage
i("t_component") is to get the current through some component.
My question is:
i("/NM0") and pv("NM0" "id") are doing the same thing? (Here, to
get the drain current of a mos transistor.)
3. Is the expression getData("M0")~>cgd equivalent to pv("M0" "cgd")?
Is there difference between them? (Actually, I haven't found the
documentation about the caret expression ~>.)
4. Between the two expressions: getData("hier1.hier2.M0:1") and
getData("/hier1/hier2/M0/d"), which one should be favored to use in
writing OCEAN code? It seems that the OCEAN file you get by using "save
script" from ADE follows the second one. In previous posts, someone
mentioned that something like "terminal mapping" is responsible for the
conversion between the two ones.
5. It seems that the function getData(...) is more universal one, which
can access to any data (either single value or vector set). So it can
take place of the other functions like v(...), i(...), pv(...). Is that
right way to think of getData()?
6. As the subject of my post, Cadence is kinda mixture of many things.
Also, there exists a lot overlap among them. ?
Thanks a lot!
rgds
-Andy