hi *,
i have the following question:
as i have finished now my simulation chain, i want to simulate it with many different settings.
These settings are changed simply by enable/disable instances of var-components.
But for every simulation i have also to change the file name of the dataset for storing via the dialog Simulation->Simulation Setup...
It would be very comfortable to change the dataset-name also by a var-component.
Is this possible, or does someone knows another solution for this purpose?
thx georg
i have the following question:
as i have finished now my simulation chain, i want to simulate it with many different settings.
These settings are changed simply by enable/disable instances of var-components.
But for every simulation i have also to change the file name of the dataset for storing via the dialog Simulation->Simulation Setup...
It would be very comfortable to change the dataset-name also by a var-component.
Is this possible, or does someone knows another solution for this purpose?
thx georg
Here are some other things you can try. Both of the following suggestions will save the simulation data in one dataset.
1) Try a Sweep.
Let's assume that you have 3 instances of VAR components that you select from and that each instance defines 2 variables, e.g. Var1 and Var2 with values Var1_1 and Var2_1 (for first instance), Var1_2 and Var2_2 (for second instance), Var1_3 and Var2_3 (for third instance). Replace the 3 VAR instances with one that looks as shown below:
SimID = 1
Var1_Values = makearray( 1, Var1_1, Var1_2, Var1_3 )
Var2_Values = makearray( 1, Var2_1, Var2_2, Var2_3 )
Var1 = Var1_Values[int(SimID)]
Var2 = Var2_Values[int(SimID)]
Then Sweep SimID from 1 to 3 with step of 1.
If your variable is complex then use makearray( 2, Var1_1, Var1_2, Var1_3 ).
2) Try the Sequencer controller.
This controller allows you to simulate a list of designs. Let's assume your design is called MyDesign. Create 3 instances of this design each having one of the VAR instances active. Let's call these new designs MyDesign1, MyDesign2, MyDesign3. Place these instances on a new schematic. You can do that by typing their name in the "Component History" drop down list or through the Library Browser (button next to VAR button in the second row of buttons). If you use the Library Browser look under the Sub-networks area. Place the Sequencer component on the schematic. Double click on it and select the "Test Benches" you want to simulate.
Instead of creating three instances of the same design you can add parameters to your design (Files menu > Design Parameters) and then place three instances of this parametric design on the schematic that will use the sequencer.