전공/Design Compiler

Timing 명령어 및 예제 정리(.sdc)

전자-공돌이 2021. 3. 31. 18:51

1. set_input_delay

: Module내의 입력 핀에 들어오는 입력과 Clock의 시간 차이를 조건으로 넣어주는 명령어

 

Input delay time

명령어 옵션

 

-clock clock_name
-clock_fall
-level_sensitive
-network_latency_included
-source_latency_included
-rise
-fall
-max
-min
-add_delay

 

 

명령어 예제

 

(1) A핀과 B핀이 clock과 비교하여 최대 2.3ns만큼의 input delay를 정의 하고 싶은 경우

 

set_input_delay 2.3 -max {A B}

-> 기본적으로 clock의 상승 에지가 기준이 된다.

 

 

(2) A핀이 clk의 하강 에지에 비교하여 최소 1.4ns만큼의 input delay를 정의 하고 싶은 경우

 

set_input_delay 1.4 -min -clock clk -clock_fall "A"

 

 

 

 

 

2. set_output_delay

: Module 내의 출력 핀에서 나가는 출력과 Clock의 시간 차이를 조건으로 넣어주는 명령어

 

 

 

명령어 옵션

 


-clock clock_name
-clock_fall
-level_sensitive
-network_latency_included
-source_latency_included
-rise
-fall
-max
-min
-add_delay

 

명령어 예제

 

input_delay와 쓰임새는 같다.

 

 

 

 

알면 좋을만한 정보

 

-network_latency_included

-source_latency_included

 

위 옵션들을 써주는 경우, 기준 clock latency가 추가되지 않는다.