Languages

CommunityCategory: XMODELSweeping parameter values in XMODEL simulations

XMODEL

Sweeping parameter values in XMODEL simulations

SA Support Team Staff 2018-11-08

Can I run XMODEL simulation while sweeping parameter values?

1 Answers
Best Answer
SA Support Team Staff 2018-11-08

Basically, you can perform parameter sweep simulations by supplying a --sweep option to the xmodel launcher command as below:

xmodel … --sweep <param_name>=<values_range>

where <param_name> is the full hierarchical name of the parameter you want to sweep the value (for instance, tb_top.my_param). The XMODEL simulation may halt with an error if the parameter is not found in the corresponding hierarchy.

<value_range> defines the range of parameter values to be swept in the following formats:

In GLISTER, you can add the --sweep option with the same format to the Extra Options field located in the Simulation tab of the XMODEL Testbench Editor.