Difference between revisions of "Simulink Tester Issues"

From T-VEC Wiki
Jump to: navigation, search
Line 4: Line 4:
 
===Test Vector Generation Failures===
 
===Test Vector Generation Failures===
 
If test vector failures occur there are some general guidelines that apply to any type of model (TTM or Simulink). See [[VGS Issues and Guidelines|VGS Issues and Guidelines]].
 
If test vector failures occur there are some general guidelines that apply to any type of model (TTM or Simulink). See [[VGS Issues and Guidelines|VGS Issues and Guidelines]].
 +
 +
===S-Functions===
 +
S-Functions allow users to specify the semantics of new blocks for simulation and code generation through several programming languages, including MATLAB, C, C++, Ada, and Fortran. While the blocks’ semantics are necessary to support test generation for subsystems that reference the S-Function, these semantics are not accessible by the translator through the standard approach.
 +
 +
To support translation of S-Functions, the translator allows for the substitution of a Simulink subsystem in place of a S-Functions. The subsystem that replaces the S-Function describes the functionality of the S-Function in terms of primitive Simulink blocks. This can be done using the Model Include mechanism.
 +
 +
Instructions for performing the model include are provided in the Simulink Tester User's Guide.
  
 
==Limitations==
 
==Limitations==
Line 73: Line 80:
  
 
There is a work around with the current schemas - all mapping descriptors are passed through a Perl function before going into the target file. The perl script parses in an external file that contains new replacement mapping information. The mapping can be defined with the descriptor or a mapping key. If the perl script finds a match then it uses the replacement from the file.  This function can be extended directly through the Perl script.
 
There is a work around with the current schemas - all mapping descriptors are passed through a Perl function before going into the target file. The perl script parses in an external file that contains new replacement mapping information. The mapping can be defined with the descriptor or a mapping key. If the perl script finds a match then it uses the replacement from the file.  This function can be extended directly through the Perl script.
 
===S-Functions===
 
S-Functions allow users to specify the semantics of new blocks for simulation and code generation through several programming languages, including MATLAB, C, C++, Ada, and Fortran. While the blocks’ semantics are necessary to support test generation for subsystems that reference the S-Function, these semantics are not accessible by the translator through the standard approach.
 
 
To support translation of S-Functions, the translator allows for the substitution of a Simulink subsystem in place of a S-Functions. The subsystem that replaces the S-Function describes the functionality of the S-Function in terms of primitive Simulink blocks. This can be done using the Model Include mechanism.
 
 
Instructions for performing the model include are provided in the Simulink Tester User's Guide.
 

Revision as of 15:04, 31 March 2007