Loading Data
To load data directly from Main IC-CAP into Statistics you should load the model file called load_stat_data.mdl, which contains macro files. This file is shipped with the software and found in the Examples area.
Before you use the macro, do the following:
1 |
In order to use the macro, your model files must be in the following format: |
<base filename>_<n>.mdl
- where n is an integer equal or greater than 1, and the first model file must start with 1. For example, bsim_1.mdl, bsim_2.mdl, bsim_3.mdl, or, eebjt_1.mdl, eebjt_2.mdl, eebjt_3.mdl, etc.
2 |
All the model files must reside in the same directory. You will indicate the pathname and the number of model files using model variables. |
3 |
If you want attribute information to be automatically transferred from the .mdl files, then the attribute values and labels (attribute parameter names) will have to be stored in variable arrays in the .mdl files. The attribute labels should be stored in an ICCAP_ARRAY called ATTRIBUTE_LABELS. The attribute values should be stored in an ICCAP_ARRAY called ATTRIBUTE_VALS. The size of the arrays is arbitrary, but you must explicitly specify it in the variable NUM_ATTRIBUTES. |
Now you are ready to use the macro.
1 |
From the Main IC-CAP program choose File > Examples. The Examples Open dialog box appears. |
2 |
Select the /statistics/load_data directory and then the load_stat_data.mdl file from the list of files and choose OK. The model file loads. |
3 |
Choose the Model Variables tab. A table appears with four items. Ignore the first item (called Local_VAR). Enter data for the three remaining items, as follows: |
|
|
numFiles
|
Enter the total number of model files you want to load into Statistics
|
filesDirPath
|
Enter the path to the directory that contains the model files
|
baseFileName
|
Enter the base filename for your model files, such as bsim or eebjt, as described above.
|
4 |
Choose the Macros tab and select Main in the Select Macro field. |
5 |
Choose the Execute button (left). The Statistics Parameters spreadsheet is filled with data. |
|