P18
System Synchronous Input 系统同步输入
这部分描述的约束命令是create_clock 和 set_input_delay
Figure 1–12 展示了一个典型的chip-to-chip 输入接口,以及为了指定该接口输入延时所需要的参数。
P19
Example 1–14展示了对一个同步系统输入的约束
Example 1–14. System Synchronous Input Constraints
#specify the maximum external clock delay from the external device
set CLKs_max 0 .200
#specify the minimum external clock delay from the external device
set CLKs_min 0 .100
#specify the maximum external clock delay to the FPGA
set CLKd_max 0 .200
#specify the minimum external clock delay to the FPGA
set CLKd_min 0 .100
#specify the maximum clock-to-out of the external device
set tCO_max 0 .525
#specify the minimum clock-to-out of the external device
set tCO_min 0 .415
#specify the maximum board delay
set BD_max 0 .180
#specify the minimum board delay
set BD_min 0 .120
#create a clock 10ns
create_clock -period 10 -name sys_clk [get_ports sys_clk]
#create the associated virtual input clock
create_clock -period 10 -name virt_sys_clk
#create the input maximum delay for the data input to the FPGA that
#accounts for all delays specified
set_input_delay -clock virt_sys_clk \
-max [ expr $CLKs_max + $tCO_max + $BD_max - $CLKd_min] \
[get_ports {data_in}]
#create the input minimum delay for the data input to the FPGA that
#accounts for all delays specified
set_input_delay -clock virt_sys_clk \
-min [ expr $CLKs_min + $tCO_min + $BD_min - $CLKd_max] \
[get_ports {data_in}]
如果想要了解更多关于约束 源同步输入输出(source synchronous input and output)接口,请查询
AN 433: Constraining and Analyzing Source-Synchronous Interfaces.
文章评论(0条评论)
登录后参与讨论