lzykkk

导航

时序约束2 常用指令

  1. 外部时钟输入的约束如下:

create_clock -period (clock period) -name (clock name) -waveform { (Traise), (Tfall) } [get_ports (clock port name)]

  1. 已建立的时钟改名
    create_generated_clock -name (clock name) [get_pins (path)]

3.input/output delay 设置
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]

  1. 建立时钟组
    set_clock_groups -name (group name) -asynchronous -group {(clock name) (clock name) }
    set_clock_groups -name (group name) -asynchronous -group [get_clocks (clock name)]

  2. 管脚分配
    set_property PACKAGE_PIN (pin location) [get_ports (port name)]
    set_property IOSTANDARD (level:LVDS,LVCMOS18,LVCMOS33 etc.) [get_ports (port name)]

  3. 管脚作为时钟线
    set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets (port_name)]

  4. 管脚拉高
    set_property PULLUP true [get_ports (port name)]

  5. 当 vivado 报错说有某些管脚没有分配时,加下面两句
    set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
    set_property SEVERITY {Warning} [get_drc_checks UCIO-1]

原文链接:https://blog.csdn.net/Times_poem/article/details/80000873

posted on 2024-01-11 16:41  tonyxpy  阅读(35)  评论(0编辑  收藏  举报