本文主要是介绍vivado xdc约束基础知识0:常用命令,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
先简单描述常用命令,后续将详细介绍。
1. 外部时钟输入的约束如下:
create_clock -period (clock period) -name (clock name) -waveform { (Traise), (Tfall) } [get_ports (clock port name)]create_generated_clock -name (clock name) [get_pins (path)]
set_input_delay -clock [get_clocks (clock name)] (delay time ns) [all inputs]
set_output_delay -clock [get_clocks (clock name)] (delay time ns) [all outputs]
set_clock_groups -name (group name) -asynchronous -group {(clock name) (clock name) }
set_clock_groups -name (group name) -asynchronous -group [get_clocks (clock name)]
set_property PACKAGE_PIN (pin location) [get_ports (port name)]
set_property IOSTANDARD (level:LVDS,LVCMOS18,LVCMOS33 etc.) [get_ports (port name)]
set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets (port_name)]
set_property PULLUP true [get_ports (port name)]
set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
set_property SEVERITY {Warning} [get_drc_checks UCIO-1]
这篇关于vivado xdc约束基础知识0:常用命令的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!