File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11set clk_name clk
22set clk_port_name clk
33set clk_period 450
4- set clk_io_pct 0.2
54
6- set clk_port [get_ports $clk_port_name ]
5+ # Match the old set_input/output_delay = 0.2 * clk_period budget, as
6+ # optimization targets only (no set_input/output_delay — see rationale in
7+ # $PLATFORM_DIR/constraints.sdc).
8+ set in2reg_max [expr { $clk_period * 0.8 }]
9+ set reg2out_max [expr { $clk_period * 0.8 }]
10+ set in2out_max [expr { $clk_period * 0.6 }]
711
8- create_clock -name $clk_name -period $clk_period $clk_port
9-
10- set non_clock_inputs [all_inputs -no_clocks]
11-
12- set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
13- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
12+ source $::env(PLATFORM_DIR) /constraints.sdc
Original file line number Diff line number Diff line change 2828 "compare" : " <="
2929 },
3030 "cts__timing__setup__ws" : {
31- "value" : -78 .0 ,
31+ "value" : -113 .0 ,
3232 "compare" : " >="
3333 },
3434 "cts__timing__setup__tns" : {
35- "value" : -4840 .0 ,
35+ "value" : -7390 .0 ,
3636 "compare" : " >="
3737 },
3838 "cts__timing__hold__ws" : {
39- "value" : -52.3 ,
39+ "value" : -22.5 ,
4040 "compare" : " >="
4141 },
4242 "cts__timing__hold__tns" : {
43- "value" : -6310 .0 ,
43+ "value" : -90 .0 ,
4444 "compare" : " >="
4545 },
4646 "globalroute__antenna_diodes_count" : {
5252 "compare" : " >="
5353 },
5454 "globalroute__timing__setup__tns" : {
55- "value" : -3660 .0 ,
55+ "value" : -6000 .0 ,
5656 "compare" : " >="
5757 },
5858 "globalroute__timing__hold__ws" : {
59- "value" : -25.9 ,
59+ "value" : -22.5 ,
6060 "compare" : " >="
6161 },
6262 "globalroute__timing__hold__tns" : {
63- "value" : -1080 .0 ,
63+ "value" : -90 .0 ,
6464 "compare" : " >="
6565 },
6666 "detailedroute__route__wirelength" : {
67- "value" : 51873 ,
67+ "value" : 49870 ,
6868 "compare" : " <="
6969 },
7070 "detailedroute__route__drc_errors" : {
8080 "compare" : " <="
8181 },
8282 "finish__timing__setup__ws" : {
83- "value" : -94.0 ,
83+ "value" : -91.5 ,
8484 "compare" : " >="
8585 },
8686 "finish__timing__setup__tns" : {
87- "value" : -1470 .0 ,
87+ "value" : -2720 .0 ,
8888 "compare" : " >="
8989 },
9090 "finish__timing__hold__ws" : {
Original file line number Diff line number Diff line change 11set clk_name clk
22set clk_port_name clk
33set clk_period 380
4- set clk_io_pct 0.2
54
6- set clk_port [get_ports $clk_port_name ]
5+ # Match the old set_input/output_delay = 0.2 * clk_period budget, as
6+ # optimization targets only (no set_input/output_delay — see rationale in
7+ # $PLATFORM_DIR/constraints.sdc).
8+ set in2reg_max [expr { $clk_period * 0.8 }]
9+ set reg2out_max [expr { $clk_period * 0.8 }]
10+ set in2out_max [expr { $clk_period * 0.6 }]
711
8- create_clock -name $clk_name -period $clk_period $clk_port
9-
10- set non_clock_inputs [all_inputs -no_clocks]
11-
12- set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
13- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
12+ source $::env(PLATFORM_DIR) /constraints.sdc
Original file line number Diff line number Diff line change 88 "compare" : " =="
99 },
1010 "placeopt__design__instance__area" : {
11- "value" : 2103 ,
11+ "value" : 2087 ,
1212 "compare" : " <="
1313 },
1414 "placeopt__design__instance__count__stdcell" : {
2828 "compare" : " <="
2929 },
3030 "cts__timing__setup__ws" : {
31- "value" : -28.8 ,
31+ "value" : -26.6 ,
3232 "compare" : " >="
3333 },
3434 "cts__timing__setup__tns" : {
35- "value" : -164 .0 ,
35+ "value" : -146 .0 ,
3636 "compare" : " >="
3737 },
3838 "cts__timing__hold__ws" : {
4848 "compare" : " <="
4949 },
5050 "globalroute__timing__setup__ws" : {
51- "value" : -41.3 ,
51+ "value" : -37.1 ,
5252 "compare" : " >="
5353 },
5454 "globalroute__timing__setup__tns" : {
55- "value" : -1010 .0 ,
55+ "value" : -622 .0 ,
5656 "compare" : " >="
5757 },
5858 "globalroute__timing__hold__ws" : {
8484 "compare" : " >="
8585 },
8686 "finish__timing__setup__tns" : {
87- "value" : -235 .0 ,
87+ "value" : -185 .0 ,
8888 "compare" : " >="
8989 },
9090 "finish__timing__hold__ws" : {
9696 "compare" : " >="
9797 },
9898 "finish__design__instance__area" : {
99- "value" : 2206 ,
99+ "value" : 2180 ,
100100 "compare" : " <="
101101 }
102102}
Original file line number Diff line number Diff line change 11set clk_name clk
22set clk_port_name clk
33set clk_period 360
4- set clk_io_pct 0.2
54
6- set clk_port [get_ports $clk_port_name ]
5+ # Match the old set_input/output_delay = 0.2 * clk_period budget, as
6+ # optimization targets only (no set_input/output_delay — see rationale in
7+ # $PLATFORM_DIR/constraints.sdc).
8+ set in2reg_max [expr { $clk_period * 0.8 }]
9+ set reg2out_max [expr { $clk_period * 0.8 }]
10+ set in2out_max [expr { $clk_period * 0.6 }]
711
8- create_clock -name $clk_name -period $clk_period $clk_port
9-
10- set non_clock_inputs [all_inputs -no_clocks]
11-
12- set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
13- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
12+ source $::env(PLATFORM_DIR) /constraints.sdc
Original file line number Diff line number Diff line change 11{
22 "synth__design__instance__area__stdcell" : {
3- "value" : 1910 .0 ,
3+ "value" : 1780 .0 ,
44 "compare" : " <="
55 },
66 "constraints__clocks__count" : {
77 "value" : 1 ,
88 "compare" : " =="
99 },
1010 "placeopt__design__instance__area" : {
11- "value" : 1954 ,
11+ "value" : 1818 ,
1212 "compare" : " <="
1313 },
1414 "placeopt__design__instance__count__stdcell" : {
15- "value" : 17740 ,
15+ "value" : 17450 ,
1616 "compare" : " <="
1717 },
1818 "detailedplace__design__violations" : {
1919 "value" : 0 ,
2020 "compare" : " =="
2121 },
2222 "cts__design__instance__count__setup_buffer" : {
23- "value" : 1543 ,
23+ "value" : 1517 ,
2424 "compare" : " <="
2525 },
2626 "cts__design__instance__count__hold_buffer" : {
27- "value" : 1543 ,
27+ "value" : 1517 ,
2828 "compare" : " <="
2929 },
3030 "cts__timing__setup__ws" : {
6464 "compare" : " >="
6565 },
6666 "detailedroute__route__wirelength" : {
67- "value" : 68956 ,
67+ "value" : 65052 ,
6868 "compare" : " <="
6969 },
7070 "detailedroute__route__drc_errors" : {
8080 "compare" : " <="
8181 },
8282 "finish__timing__setup__ws" : {
83- "value" : -18.0 ,
83+ "value" : -46.8 ,
8484 "compare" : " >="
8585 },
8686 "finish__timing__setup__tns" : {
87- "value" : -72 .0 ,
87+ "value" : -219 .0 ,
8888 "compare" : " >="
8989 },
9090 "finish__timing__hold__ws" : {
9696 "compare" : " >="
9797 },
9898 "finish__design__instance__area" : {
99- "value" : 1992 ,
99+ "value" : 1846 ,
100100 "compare" : " <="
101101 }
102102}
Original file line number Diff line number Diff line change @@ -3,15 +3,14 @@ current_design jpeg_encoder
33set clk_name clk
44set clk_port_name clk
55set clk_period 680
6- set clk_io_pct 0.2
76
8- set clk_port [get_ports $clk_port_name ]
7+ # Match the old set_input/output_delay = 0.2 * clk_period budget, as
8+ # optimization targets only (no set_input/output_delay — see rationale in
9+ # $PLATFORM_DIR/constraints.sdc).
10+ set in2reg_max [expr { $clk_period * 0.8 }]
11+ set reg2out_max [expr { $clk_period * 0.8 }]
12+ set in2out_max [expr { $clk_period * 0.6 }]
913
10- create_clock -name $clk_name -period $clk_period $clk_port
11-
12- set non_clock_inputs [all_inputs -no_clocks]
13-
14- set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
15- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
14+ source $::env(PLATFORM_DIR) /constraints.sdc
1615
1716set_max_fanout 10 [current_design]
Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ current_design jpeg_encoder
33set clk_name clk
44set clk_port_name clk
55set clk_period 600
6- set clk_io_pct 0.2
76
8- set clk_port [get_ports $clk_port_name ]
7+ # Match the old set_input/output_delay = 0.2 * clk_period budget, as
8+ # optimization targets only (no set_input/output_delay — see rationale in
9+ # $PLATFORM_DIR/constraints.sdc).
10+ set in2reg_max [expr { $clk_period * 0.8 }]
11+ set reg2out_max [expr { $clk_period * 0.8 }]
12+ set in2out_max [expr { $clk_period * 0.6 }]
913
10- create_clock -name $clk_name -period $clk_period $clk_port
11-
12- set non_clock_inputs [all_inputs -no_clocks]
13-
14- set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
15- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
14+ source $::env(PLATFORM_DIR) /constraints.sdc
Original file line number Diff line number Diff line change 11set clk_name clock
22set clk_port_name clock
33set clk_period 300
4- set clk_io_pct 0.2
54
6- set clk_port [get_ports $clk_port_name ]
5+ # Match the old set_input_delay = 0.7 * clk_period (tight, stress-test)
6+ # and set_output_delay = 0.2 * clk_period budgets, as optimization targets
7+ # only (no set_input/output_delay — see rationale in
8+ # $PLATFORM_DIR/constraints.sdc).
9+ set in2reg_max [expr { $clk_period * 0.3 }]
10+ set reg2out_max [expr { $clk_period * 0.8 }]
11+ set in2out_max [expr { $clk_period * 0.1 }]
712
8- create_clock -name $clk_name -period $clk_period $clk_port
9-
10- set non_clock_inputs [all_inputs -no_clocks]
11-
12- set_input_delay [expr $clk_period * 0.7] -clock $clk_name $non_clock_inputs
13- set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
13+ source $::env(PLATFORM_DIR) /constraints.sdc
1414
1515set output_regs [get_cells *io_out_REG*]
1616if { [llength $output_regs ] == 0 } {
Original file line number Diff line number Diff line change 2828 "compare" : " <="
2929 },
3030 "cts__timing__setup__ws" : {
31- "value" : -308 .0 ,
31+ "value" : -289 .0 ,
3232 "compare" : " >="
3333 },
3434 "cts__timing__setup__tns" : {
35- "value" : -14100 .0 ,
35+ "value" : -18200 .0 ,
3636 "compare" : " >="
3737 },
3838 "cts__timing__hold__ws" : {
4848 "compare" : " <="
4949 },
5050 "globalroute__timing__setup__ws" : {
51- "value" : -321 .0 ,
51+ "value" : -309 .0 ,
5252 "compare" : " >="
5353 },
5454 "globalroute__timing__setup__tns" : {
55- "value" : -18100 .0 ,
55+ "value" : -20700 .0 ,
5656 "compare" : " >="
5757 },
5858 "globalroute__timing__hold__ws" : {
8080 "compare" : " <="
8181 },
8282 "finish__timing__setup__ws" : {
83- "value" : -303 .0 ,
83+ "value" : -292 .0 ,
8484 "compare" : " >="
8585 },
8686 "finish__timing__setup__tns" : {
87- "value" : -15700 .0 ,
87+ "value" : -18500 .0 ,
8888 "compare" : " >="
8989 },
9090 "finish__timing__hold__ws" : {
You can’t perform that action at this time.
0 commit comments