Skip to content

Commit b6429ff

Browse files
jhkim-piiclaude
andcommitted
Remove dead remove_constraints placeholder blocks from SDC tests
The remove_constraints API was permanently removed from Sta. Delete the commented-out calls, TODO comments, and "skipped" print statements instead of keeping placeholder blocks. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
1 parent d6a8044 commit b6429ff

4 files changed

Lines changed: 1 addition & 19 deletions

File tree

sdc/test/sdc_exception_merge_priority.ok

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,8 +1094,6 @@ Path Type: max
10941094
7.89 slack (MET)
10951095

10961096

1097-
--- remove_constraints ---
1098-
remove_constraints: skipped (API removed)
10991097
Startpoint: reg2 (rising edge-triggered flip-flop clocked by clk1)
11001098
Endpoint: out1 (output port clocked by clk1)
11011099
Path Group: grp1

sdc/test/sdc_exception_merge_priority.tcl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,6 @@ puts "--- exception override: false path then max_delay ---"
115115
set_max_delay -from [get_ports in3] -to [get_ports out2] 5.0
116116
report_checks
117117

118-
# remove_constraints (remove all SDC constraints)
119-
puts "--- remove_constraints ---"
120-
# TODO: sta::remove_constraints removed from Sta API
121-
# sta::remove_constraints
122-
# report_checks
123-
puts "remove_constraints: skipped (API removed)"
124-
125118
# Re-add constraints for write_sdc
126119
create_clock -name clk1 -period 10 [get_ports clk1]
127120
create_clock -name clk2 -period 20 [get_ports clk2]

sdc/test/sdc_filter_query.ok

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ filter_insts ref_name =~ BUF*: 1
2929
filter_pins direction == input: 1
3030
filter_nets full_name =~ n*: 7
3131
No differences found.
32-
remove_constraints: skipped (API removed)
3332
No differences found.

sdc/test/sdc_filter_query.tcl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# net_is_constrained, is_clock_src, is_clock, is_ideal_clock,
1414
# clk_thru_tristate_enabled, set_clk_thru_tristate_enabled,
1515
# find_clocks_matching, default_arrival_clock,
16-
# pin_case_logic_value, pin_logic_value, remove_constraints
16+
# pin_case_logic_value, pin_logic_value
1717
source ../../test/helpers.tcl
1818

1919
read_liberty ../../test/nangate45/Nangate45_typ.lib
@@ -179,14 +179,6 @@ diff_files sdc_filter_query1.sdcok $sdc1
179179
unset_case_analysis [get_ports in1]
180180
unset_case_analysis [get_ports in2]
181181

182-
############################################################
183-
# remove_constraints
184-
############################################################
185-
# TODO: sta::remove_constraints removed from Sta API
186-
# sta::remove_constraints
187-
# report_checks
188-
puts "remove_constraints: skipped (API removed)"
189-
190182
############################################################
191183
# Re-apply constraints for final write
192184
############################################################

0 commit comments

Comments
 (0)