Synthesis Objective to Tcl Command Mapping - MATLAB & Simulink (original) (raw)

Main Content

The HDL Workflow Advisor guides you through the stages of generating HDL code for a Simulink® subsystem and the FPGA design process, such as:

When you specify a synthesis objective in the HDL Workflow Advisor Synthesis objective field, or in the HDL Workflow CLI workflow hdlcoder.Objective, the HDL Coder™ software generates Tcl commands that are specific to your synthesis tool.

Altera Quartus II

Synthesis objective Tcl Commands
Area Optimized set_global_assignment -name OPTIMIZATION_TECHNIQUE "Area" set_global_assignment -name FITTER_EFFORT "Standard Fit"
Compile Optimized set_global_assignment -name OPTIMIZATION_TECHNIQUE "Balanced" set_global_assignment -name FITTER_EFFORT "Fast Fit"
Speed Optimized set_global_assignment -name OPTIMIZATION_TECHNIQUE "Speed" set_global_assignment -name FITTER_EFFORT "Standard Fit"

Xilinx Vivado 2014.4

If your tool version is different, the Tcl commands are slightly different.

Synthesis objective Tcl Commands
Area Optimized set_property strategy {Vivado Synthesis Defaults} [get_runs synth_1] set_property strategy "Area_Explore" [get_runs impl_1]
Compile Optimized set_property strategy "Flow_RuntimeOptimized" [get_runs synth1] set_property strategy "Flow_Quick" [get_runs impl_1]
Speed Optimized set_property strategy {Vivado Synthesis Defaults} [get_runs synth_1] set_property strategy "Performance_Explore" [get_runs impl_1]

Xilinx ISE 14.7 with PlanAhead

If your tool version is different, the Tcl commands are slightly different.

Synthesis objective Tcl Commands
Area Optimized set_property strategy "AreaReduction" [get_runs synth_1] set_property strategy "MapCoverArea" [get_runs impl_1]
Compile Optimized set_property strategy "{XST Defaults}" [get_runs synth_1] set_property strategy "{ISE Defaults}" [get_runs impl_1]
Speed Optimized set_property strategy "TimingWithIOBPacking" [get_runs synth_1] set_property strategy "MapTiming" [get_runs impl_1]

See Also

Topics