FPGA TIMING CONSTRIANT(.sdc)

本文介绍了FPGA时序约束的重要性,详细阐述了如何设置内部‘假路径’,包括`set_multicycle_path`、`set_max_delay`、`set_min_delay`、`set_false_path`和`set_clock_group`。讨论了输入/输出延迟的设定,如`set_input_delay`和`set_output_delay`,并提供了实际应用示例。同时,提出了在设定时序约束时的一些技巧和注意事项,强调了保持逻辑和层次结构的重要性。
摘要由CSDN通过智能技术生成

目录

WHY WE NEED TIMING CONSTRAINT:

Part 1(set "false" path inside FPGA)

1.set_multicycle_path

          2.set_max_delay/set_min_delay

3.set_false_path

4.set_clock_group

         PART 2(I/O delay)

         PART 3 (SOME TIPS WITH TIMING CONSTRAINTS)

REFERENCE


WHY WE NEED TIMING CONSTRAINT:

RELAX TIMING REQUIREMENTS

Nomally set on "not real critical path"

Some logic paths need more than 1 cycle to propogate to next squential cell

Diffrenet delays in FPGA

Definition of slack

  • setup time: the amount of time the data at the synchronous input (D) must be stable before the active edge of clock
  • hold time:   the amount of time the data at the synchronous input (D) must be stable after the active edge of clock
  •  (Arrival time) < (MAX_DELAY – Tsetup), (Arrival time) > (MIN_DELAY +Thold)

Part 1(set "false" path inside FPGA)

1.set_multicycle_path

effect both setup/hold times, this is kinda like adding "pipeline" to the path. like 

If you want the same delay for both setup time and hold time, for example N cycle, uses

set_multicycle_path -from [get_pins  UFF0/Q] -to  [get_pins UFF1/D]-setup 4 //delay 4 clock cyc
set_multicycle_path -from [get_pins  UFF0/Q] -to [get_pins UFF1/D] -hold 3  // delay 3 clock cyc

Reference:

Setting Multicycle Path Exceptions

set_max_skew(qaurtus only)

set_max_skew -from_clock { clock } -to_clock { * } -from foo -to blat 2

Use the set_max_skew constraint to perform maximum
allowable skew analysis between sets of registers or
ports. In order to constrain skew across multiple
paths, 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值