Main Content

genhdltdb

Generate timing databases for specified target device, device speed grade, and tool

    Description

    genhdltdb('SynthesisDeviceFamily',devfam,'SynthesisDeviceName',devname,'SynthesisDevicePackage',devpckg,'SynthesisDeviceSpeedGrade',devsg,'OutputPath',outpath,'SynthesisToolName',toolname) generates timing databases for the target device with device family name devfam, device name devname, device package devpckg, and device speed grade devsg. This function exports the generated timing database MAT-files to the outpath path. Set the target tool name for toolname.

    To generate timing databases, the function characterizes basic design components (such as Simulink® blocks, block architectures, and subcomponents of those blocks) for the specified target device. HDL Coder™ analyzes these timing databases to estimate the critical path in your design. For more information on critical path estimation, see Critical Path Estimation Without Running Synthesis.

    Note

    This function generates timing databases for Xilinx® devices only. It does not support Intel® and Microsemi® device families.

    example

    genhdltdb('SynthesisDeviceFamily',devfam,'SynthesisDeviceName',devname,'SynthesisDevicePackage',devpckg,'SynthesisDeviceSpeedGrade',devsg,'OutputPath',outpath,'SynthesisToolName',toolname,Name,Value) specified options using one or more name-value arguments in addition to the input arguments from the previous syntax.

    Examples

    collapse all

    Generate timing databases for the Xilinx Artix®-7 target device. Export generated timing database MAT-files to the C:\Work\Database folder. Set the synthesis tool path to 'C:\Xilinx\Vivado\2019.2\bin\vivado.bat'.

    genhdltdb('SynthesisDeviceFamily','Artix7', ...
              'SynthesisDeviceName','xa7a100t', ...
              'SynthesisDevicePackage','csg324', ...
              'SynthesisDeviceSpeedGrade','-1I', ...
              'OutputPath','C:\Work\Database', ...
              'SynthesisToolName','Xilinx Vivado', ...
              'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');

    Generate timing databases for the Xilinx Kintex® UltraScale+™ target device. The target device is xcku11p-CIV-ffva1156-1-e. Enter the device name without 'CIV', as it is not needed for setting the part number. The Export generated timing database MAT-files to the C:\Work\Database folder. Set the synthesis tool path to 'C:\Xilinx\Vivado\2019.2\bin\vivado.bat'.

    genhdltdb('SynthesisDeviceFamily','Kintex Ultrascale+', ...
              'SynthesisDeviceName','xcku11p-ffva1156-1-e', ...
              'SynthesisDevicePackage',[], ...
              'SynthesisDeviceSpeedGrade',[], ...
              'OutputPath','C:\Work\Database', ...
              'SynthesisToolName','Xilinx Vivado', ...
              'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');

    Input Arguments

    collapse all

    Target device family, specified as a character vector or string scalar.

    Example: 'Virtex7'

    Data Types: char | string

    Target device name, specified as a character vector or string scalar.

    Example: 'xc7v2000t'

    Data Types: char | string

    Target device package, specified as a character vector or string scalar.

    Example: 'fhg1761'

    Data Types: char | string

    Target device speed grade, specified as a character vector or string scalar.

    Example: '-1'

    Data Types: char | string

    Output path to export timing database MAT-files, specified as a character vector or string scalar.

    Example: 'C:\Work\Database'

    Data Types: char | string

    Synthesis tool name, specified as a character vector or string scalar.

    Example: 'Xilinx Vivado'

    Data Types: char | string

    Name-Value Arguments

    Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

    Example: 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat' sets the synthesis tool path to C:\Xilinx\Vivado\2019.2\bin\vivado.bat.

    Full path to the synthesis tool executable or batch file, specified as a character vector or string scalar. Use either this argument or the hdlsetuptoolpath function to set the synthesis tool path. If the path is set by both, the genhdltdb function uses the tool path set by this argument.

    Data Types: char | string

    Override the generated timing database MAT-files in the output path set by the outpath argument, specified as one of these values:

    • 'on' — Generate new timing database MAT-files for the blocks for every call to this function.

    • 'off' — Generate timing database MAT-files for only the blocks whose MAT-files are not present in the output path.

    Data Types: char | string

    Introduced in R2021a