Download Block Parameters
Transcript
Chapter 4: Programmatic Access PG API Error/Warning Handling & Messages xBlock Error Messages Condition Error Message(s) When calling xBlock(NoSubSourceBlock, …) and the source block does not exist Source block NoSubSourceBlock cannot be found. When calling xBlock(sourceblock, parameterBinding), and the parameters are illegal, xBlock will report the Illegal parameterization error. For example, xBlock(‘AddSub’, struct(‘latency’, -1)); Illegal parameterization: Latency Latency is set to a value of -1, but the value must be greater than or equal to 0 When the input port binding list contains objects other than xSignal or xInport: Only objects of xInport or xSignal can appear in inport binding list. When the output port binding list contains objects other than xSignal or xOutport: Only objects of xOutport or xSignal can appear in outport binding list. If the first argument of xBlock is a function pointer, the 2nd argument of xBlock is expected to be a cell array, otherwise, an error is thrown: Cell array is expected for the second argument of the xBlock call If the source configuration struct has toplevel defined, it must point to a Simulink Subsystem and it must be a char array, otherwise, an error is thrown: Top level must be a char array If an object in the outport binding list has already been driven by something, for example, if you try to have two driving sources, an error is thrown. (Note: the error message is not intuitive, we will fix it later.) Source of xSignal object already exists xInport Error Messages Condition Error Message(s) If you try to create an xInport object with the same name the second time, an error is thrown. For example, if you call p = xInport(‘a’, ‘a’). A new block named 'untitled/Subsystem/a' cannot be added. Vivado: Designing with System Generator UG958 (v2015.3) September 30, 2015 www.xilinx.com Send Feedback 412
Related documents
Vivado Design Suite Reference Guide: Model-Based DSP
Block Parameters
UG638 - Xilinx
EDK Processor
Xilinx System Generator for DSP User Guide
MacSADIE 1.2 User`s Manual
MATLAB FIXED-POINT TOOLBOX - RELEASE NOTES User guide
Design-in - ElectronicSpecifier
BugHunter Pro and the VeriLogger Simulators
Simulation
Xilinx System Generator for DSP User Guide
MATLAB SIMULINK HDL CODER - RELEASE NOTES User guide