Download Block Parameters

Transcript
xlTBUtils
xlTBUtils
The xlTBUtils command provides access to several features of the Xilinx block. This includes
access to the layout, rerouting functions and to functions that return selected blocks and
lines.
Syntax
xlTBUtils(function, args)
e.g.
xlTBUtils('ToolBar')
xlTBUtils('Layout',struct('verbose',1,'autoroute',0))
xlTBUtils('Layout',optionStruct)
xlTBUtils('Redrawlines',struct('autoroute',0))
xlTBUtils('RedrawLines',optionStruct)
[lines,blks]=xlTBUtils('GetSelected','All')
Description
xlTBUtils(function [,args]) xlTBUtils is a collection of functions that are used by the Xilinx Toolbar block. The function
argument specifies the name of the function to execute. Further arguments (if required) can
be tagged on as supplementary arguments to the function call. Note that the function
argument string is not case sensitive. Possible values are enumerated below and explained
further in the relevant subtopics.
Function
Description
'ToolBar'
Launches the Xilinx Toolbar GUI. If the GUI is already open, it is
brought to the front.
'Layout'
Runs the layout algorithm on a model to place and reroute lines on
the model. Layout can be customized using the option structure that
is detailed below.
'RedrawLines'
Runs the routing algorithm on a model to reroute lines on the model.
RedrawLines can be customized using the option structure detailed
below.
'GetSelected'
Returns MATLAB Simulink handles to blocks and lines that are
selected on the system in focus
'xlTBUtils('Layout',optionStruct) Automatically places and routes a Simulink model. optionStruct is a MATLAB struct
data-type, that contains the parameters for Layout. The optionStruct argument is optional.
Vivado: Designing with System Generator
UG958 (v2012.3) November 16, 2012
www.xilinx.com
410