Languages

CommunityCategory: XMODELSweeping multiple parameter values in XMODEL simulations
SA Support Team Staff asked 3 years ago

From this Q&A posting, I learned how to sweep parameter values in XMODEL simulations. How can I sweep the values of more than one parameters, though? For example, how should I specify the '--sweep' option if I want to sweep the parameter 'VDD' for two values of 0.9 and 1.0, and sweep the parameter 'FREQ' from 200e6 to 300e6 at increments of 50e6?

1 Answers
Best Answer
SA Support Team Staff answered 3 years ago

That's easy. Use multiple '--sweep' options.

For example, if you want to sweep the parameter 'VDD' for two values of 0.9 and 1.0, and sweep the parameter 'FREQ' from 200e6 to 300e6 at increments of 50e6, you can use the '--sweep' options as shown below. In this case, XMODEL will run simulations for a total of 2*3=6 cases.

xmodel … --sweep VDD=0.9,1.0 --sweep FREQ=200e6:300e6:50e6

For more detailed information on this '--sweep' option syntax, please refer to this Q&A posting.

SA Support Team Staff asked 3 years ago

이 Q&A 링크에서 파라메터 값을 sweep하면서 XMODEL 시뮬레이션을 수행하는 법을 배웠습니다. 그런데, 두개 이상의 파라메터 값을 sweep하려면 어떻게 하나요? 예를 들어, VDD 파라메터는 0.91.0의 두가지 값으로, FREQ 파라메터는 200e6에서 300e6까지 50e6 간격으로 sweep하려면, --sweep 옵션을 어떻게 지정해야 하나요?

1 Answers
Best Answer
SA Support Team Staff answered 3 years ago

That's easy. Use multiple '--sweep' options.

For example, if you want to sweep the parameter 'VDD' for two values of 0.9 and 1.0, and sweep the parameter 'FREQ' from 200e6 to 300e6 at increments of 50e6, you can use the '--sweep' options as shown below. In this case, XMODEL will run simulations for a total of 2*3=6 cases.

xmodel … --sweep VDD=0.9,1.0 --sweep FREQ=200e6:300e6:50e6

For more detailed information on this '--sweep' option syntax, please refer to this Q&A posting.