Constraints Example for Synthesis

#-------------------------------------------------------------------

# Design entry


analyze -format verilog sub1.v

analyze -format verilog sub2.v

analyze -format verilog top_block.v


eleborate top_block

current_design top_block

uniquify

check_design


#-------------------------------------------------------------------

# Setup operating conditions, wireload.clocks,resets


set_wire_load_model large_wl

set_wire_load_mode enclosed

set_operating_conditions WORST


create_clock -period 40 -waveform [list 0 20] CLK

set_clock_latency 2.0 [get_clocks CLK]

set_clock_uncertainty -setup 1.0 -hold 0.05 [get_clocks CLK]


set_dont_touch_network [list CLK RESET]


#-------------------------------------------------------------------

# Input dirives

set_driving_cell -cel [get_lib_cell buff3] -pin Z [all_inputs]

set_drive - [list CLK RST]


#-------------------------------------------------------------------

# Output loads

set_load 0.5 [all_outputs]


#-------------------------------------------------------------------

# Set input&output delays

set_input_delay 10.0 -clock CLK [all_inputs]

set_input_delay -max 19.0 -clock CLK {IN1 IN2}

set_input_delay -min -2.0 -clock CLK IN3

set_output_delay 10.0 -clock CLK [all_outputs]


#-------------------------------------------------------------------

# Advanced constraints

group_path -from IN4 -to OUT2 -name grp1

set_false_path -from IN5 -to sub1/dat_reg*/*

set_multicycle_path 2 -from sub1/addr_reg/CP \

                                      -to sub2/mem_reg/D


#-------------------------------------------------------------------

#Compile amd write the database

compile

current_design top_block

write -hierarchy -output top_block.db

write -formate verilog -hierarchy -output top_block.sv

#-------------------------------------------------------------------

# Create reports

report_timing -nworst 50

report_area








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值