|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
-----------------verilog code---------------------
module Add1(a, b, out, Sys_clk);
input a, b;
output out;
reg out;
input Sys_clk;
always @(posedge Sys_clk)
out <= a+b;
endmodule
-----------------constrain code---------------------
start_gui
#setup the libs
set target_library ./libs/typical.db
set symbol_library ./libs/tsmc090.sdb
set link_library {./libs/tsmc090.sdb ./libs/typical.db}
#read the design
analyze -format verilog {./rtl/Add1.v}
elaborate Add1
#set current design and link
current_design Add1
link
uniquify
check_design
#set clk
create_clock -period 4 -waveform {0 2} -name Sys_clk [get_ports Sys_clk]
set_ideal_network {Sys_clk}
set_dont_touch_network [get_clocks Sys_clk]
#set input output delay
set_input_delay -max 0.2 -clock Sys_clk [all_inputs]
set_output_delay -max 0.2 -clock Sys_clk [all_outputs]
#compile the design
compile -exact_map
综合结果
report_timing 结果不对啊。约束哪里出问题了?
|
|