genhdltdb
Generate timing databases for specified target device, device speed grade, and synthesis tool
Since R2021a
Description
genhdltdb('Name','Value')
generates timing databases for the target
device with options specified by using name-value arguments. You can specify the device
family name, the device name, the device package, and the device speed grade. This function
exports the generated timing database MAT-files to the specified timing database path.
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, see Critical Path Estimation Without Running Synthesis.
Note
This function generates timing databases for Xilinx® devices only, not Intel® and Microchip devices.
Examples
Generate Timing Data for Xilinx Artix-7 Target Device
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'
.
To generate timing database for the target device, specify target device
configuration parameters, such as device family, device name, device package, and device
speed grade, in a single argument
'SynthesisDeviceConfiguration'
.
genhdltdb('SynthesisDeviceConfiguration',{'Artix7','xa7a100t','csg324','-1I'}, ... 'TimingDatabaseDirectory','C:\Work\Database', ... 'SynthesisToolName','Xilinx Vivado', ... 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');
Alternatively, specify target device configuration parameter in separate arguments.
genhdltdb('SynthesisDeviceFamily','Artix7', ... 'SynthesisDeviceName','xa7a100t', ... 'SynthesisDevicePackage','csg324', ... 'SynthesisDeviceSpeedGrade','-1I', ... 'TimingDatabaseDirectory','C:\Work\Database', ... 'SynthesisToolName','Xilinx Vivado', ... 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');
Note
When you use the genhdltdb
function to generate a timing
database for a specific device, the function can run for a long time until the
database is created.
Generate Timing Data for Xilinx Kintex UltraScale+ Target Device
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 required for setting the part number. 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'
.
To generate timing database for the target device, specify target device
configuration parameters, such as device family and device name, in a single argument
'SynthesisDeviceConfiguration'
. In this target device, the device
package and speed grade is included in the device name.
genhdltdb( 'SynthesisDeviceConfiguration',{'Kintex Ultrascale+', ... 'xcku11p-ffva1156-1-e'}, ... 'TimingDatabaseDirectory','C:\Work\Database', ... 'SynthesisToolName','Xilinx Vivado', ... 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');
Alternatively, specify target device configuration parameters in separate arguments.
genhdltdb('SynthesisDeviceFamily','Kintex Ultrascale+', ... 'SynthesisDeviceName','xcku11p-ffva1156-1-e', ... 'TimingDatabaseDirectory','C:\Work\Database', ... 'SynthesisToolName','Xilinx Vivado', ... 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat');
Input Arguments
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat'
sets the synthesis tool path to
C:\Xilinx\Vivado\2019.2\bin\vivado.bat
.
SynthesisDevicePart
— Target device part number
character vector | string scalar
Specify target device part number, specified as a character vector or string scalar.
Example: 'SynthesisDevicePart','xczu19eg-ffve1924-1-i'
Data Types: char
| string
SynthesisDeviceConfiguration
— Target device configuration parameters
character vector | string scalar
Specify target device configuration parameters, such as device family name, device name, device package, and device speed grade, in a single argument, specified as a character vector or string scalar.
Example: 'SynthesisDeviceConfiguration',{'KintexU','xc7z100','ffg1156',-1'}
Data Types: char
| string
SynthesisDeviceFamily
— Target device family
character vector | string scalar
Target device family, specified as a character vector or string scalar.
Example: 'SynthesisDeviceFamily', 'Artix7'
Data Types: char
| string
SynthesisDeviceName
— Target device name
character vector | string scalar
Target device name, specified as a character vector or string scalar.
Example: 'SynthesisDeviceName','xa7a100t'
Data Types: char
| string
SynthesisDevicePackage
— Target device package
character vector | string scalar
Target device package, specified as a character vector or string scalar.
Example: 'SynthesisDevicePackage','csg324'
Data Types: char
| string
SynthesisDeviceSpeedGrade
— Target device speed grade
character vector | string scalar
Target device speed grade, specified as a character vector or string scalar.
Example: 'SynthesisDeviceSpeedGrade','-1I'
Data Types: char
| string
TimingDatabaseDirectory
— Export timing database MAT-files to the specified directory path
character vector | string scalar
Export timing database MAT-files to the specified folder path, specified as a character vector or string scalar.
Example: 'TimingDatabaseDirectory','C:\Work\Database'
Data Types: char
| string
SynthesisToolName
— Synthesis tool name
character vector | string scalar
Synthesis tool name, specified as a character vector or string scalar.
Example: 'SynthesisToolName','Xilinx Vivado'
Data Types: char
| string
SynthesisToolPath
— Full path to synthesis tool executable or batch file
character vector | string scalar
Full path to the synthesis tool executable or batch file, specified as a character
vector or string scalar. To set the synthesis tool path, use either this argument or
the hdlsetuptoolpath
function. If the
path is set by both, the genhdltdb
function uses the tool path
set by this argument.
Example: 'SynthesisToolPath','C:\Xilinx\Vivado\2019.2\bin\vivado.bat'
Data Types: char
| string
Override
— Override generated timing database MAT-files
'on'
(default) | 'off'
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
Version History
Introduced in R2021a
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)