This tab configures block’s primary configuration parameters as described below
|
Group |
Parameter |
Description |
Default Value |
|
Basic |
Block ID |
Unique ID generated by CASP |
- |
|
Block Name |
Unique block name with valid alpha numeric characters. Special character including white spaces are not recommended. |
- |
|
|
Version |
Version number |
1.0 |
|
|
Block Primary/Secondary |
Primary or secondary blocks |
Secondary |
|
|
Simulation Type |
Select one of simulation type |
Time Domain |
|
|
Linear/Non-Linear Block |
This option is relevant for physical blocks during nodal network solution. For linear block, element matrix is updated only once before the simulation. For non-linear block, element matrix is updated based on user selected option during simulation setup. |
Linear |
|
|
Has Private Data |
Private data refers to block internally stored variables. |
Yes |
|
|
Hardware Block |
Indicates that the block is a hardware block supporting pin numbers as its parameters. |
No |
|
|
Step DeltaG Detection |
This option is relevant for physical blocks during nodal network solution. This option Is used to indicate sudden step changes to ‘through by cross’ variable. |
Not Required |
|
|
Advanced |
Simulation Panel Block |
Indicates that the block runs only on targets that support simulation panel. |
No |
|
Prefer Separate Thread |
Select Yes to allow block to execute thread |
No |
|
|
Is Workspace Block |
Applicable only for secondary blocks. This option allows to view workspace files for secondary block during modeling. |
No |
|
|
Has Dynamically Allocated Memory |
Indicates that block uses dynamically allocated memory. |
Yes |
|
|
Fixed Point Math Supported |
Indicates that block code supports fixed point math. |
No |
|
|
Requires File System Support |
Indicates that the block runs only on targets that support file system. |
No |
|
|
Other block object dependency |
Indicated that the block depends on other block. |
No |
|
|
Allow only single block instance |
If Yes then block can appear only once in CASP model. Multiple instances of the block is not allowed. |
No |
|
|
Supported Platforms |
- |
Select platforms that the block supports. |
Yes for Native. Rest all No. |
|
Code-Basic |
Embeds other language code |
Select relevant option to support other languages such as Python, Fortran or Verilog Code |
None |
|
Block Path Variable Required |
Creates a variable indicating block path. This is useful for accessing files such as data base files, image file that may be required during run time. |
No |
|
|
Class or Structure/Function |
Indicates that block code is based on C++ class or structure/function pair. |
Class |
|
|
Header File Name |
Enter header file name that represents block code. |
Recommended syntax: <block_name><block_id>.h |
|
|
Class/Structure Name (Integer32) |
Enter class/structure name for processing integer-32 data type. |
Same name for all. Recommended name: <block_name><block_id> |
|
|
Class/Structure Name (Integer64) |
Enter class/structure name for processing integer-64 data type. |
||
|
Class/Structure Name (Real32) |
Enter class/structure name for processing real-32 data type. |
||
|
Class/Structure Name (Real64) |
Enter class/structure name for processing real-64 data type. |
||
|
Code-Physical Ports |
Element update method batch execution supported |
This option is relevant for physical blocks during nodal network solution. It allows batch execution of elements represented by the block if number of block instances crosses 3. |
No |
|
Code-Signal Ports |
Call pointer to Run method instead of Run method |
Allows to use function/method pointer for calling function/method based on user selected parameters instead of calling same function/method from if conditions. |
No |
|
Generate code for signal ports |
Indicates to generate code for signal ports |
Yes |
|
|
Generate code for signal ports dimension & size |
Indicates to generate code for signal ports dimension & size |
Yes |
|
|
Additional Memory Requirement |
Cacheable Memory (Bytes) |
Additional cacheable/non-cacheable memory required for use in block code. The additional memory is supplied as an additional argument to various functions/methods called by CASP execution engine during run time. This can be used as alternate for dynamic memory. |
0 |
|
Non-Cacheable Memory (Bytes) |
0 |
||
|
Authentication |
Enable Password Protection |
Select enable or disable password protection to the block |
No |
|
Password & Re-type Password |
User supplied password. |
defaultpassword |