Quantcast
Channel: Cadence RF Design Forum
Viewing all articles
Browse latest Browse all 956

Doing a swept simulation and for each simulated point save the snp

$
0
0

Hello everybody,

in a "sp" simulation there is the possibility to save the corresponding s2p in a file. If one enters a VAR (variable), he can also parametrize the corresponding file name.

On my testbench I create  several corners where each has a different content for the variable "output_file". Let's say

  • in "corner_v1" --> output_file="mysnp_v1.s2p"
  • in "corner_v2" --> output_file="mysnp_v2.s2p"
  • and so on...

when I run a sp simulation among 3 corners I get 3 snp files stored on the local folder. Each file correspond to a given corner.

To simplify the workload on my side, instead of creating corners, Is it possible to perform a variable sweep let's say from 0:1:10 and create 11 s2p files where each file is named with the corresponding index ? (e.g. "mysnp_0.s2p", "mysnp_1.s2p", "mysnp_2.s2p", ...,  "mysnp_10.s2p")

Thanks
Tommaso


Viewing all articles
Browse latest Browse all 956

Trending Articles