Files
OpenSTA/sdc/test/sdc_exception_thru2.sdcok
Jaehyun Kim b6d598a119 test: strengthen assertions, add sorted SDC diff, and clean up tests
- Add diff_files_sorted to test/helpers.tcl for hash-order-independent
  SDC comparison (fixes non-deterministic write_sdc output ordering)
- Use diff_files_sorted in sdc_derate_disable_deep and
  sdc_port_delay_advanced tests
- Remove stale coverage percentages from test comments (Comment 1)
- Remove unnecessary catch blocks in search property tests (Comment 3)
- Strengthen load-only tests with actual data verification (Comment 8)
- Remove orphan .ok files for deleted monolithic tests (Comment 9)
- Add golden .sdcok/.libok/.vok/.sdfok files for SDC/liberty/verilog
  write-and-diff tests
- Add -B (clean rebuild) option to make_coverage_report.sh
- Replace (void) casts and EXPECT_TRUE(true) with real assertions in
  TestSdc.cc and TestVerilog.cc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-02-23 11:50:23 +09:00

59 lines
2.3 KiB
Plaintext

###############################################################################
# Created by write_sdc
###############################################################################
current_design sdc_test2
###############################################################################
# Timing Constraints
###############################################################################
create_clock -name clk1 -period 10.0000 [get_ports {clk1}]
create_clock -name clk2 -period 20.0000 [get_ports {clk2}]
set_input_delay 2.0000 -clock [get_clocks {clk1}] -add_delay [get_ports {in1}]
set_input_delay 2.0000 -clock [get_clocks {clk1}] -add_delay [get_ports {in2}]
set_input_delay 2.0000 -clock [get_clocks {clk2}] -add_delay [get_ports {in3}]
set_output_delay 3.0000 -clock [get_clocks {clk1}] -add_delay [get_ports {out1}]
set_output_delay 3.0000 -clock [get_clocks {clk2}] -add_delay [get_ports {out2}]
group_path -default\
-from [get_ports {in1}]\
-to [get_ports {out1}]
group_path -name grp_thru\
-from [get_ports {in2}]\
-through [get_pins {and1/ZN}]\
-to [get_ports {out1}]
set_multicycle_path -hold -end\
-from [get_ports {in1}]\
-to [get_ports {out1}] 1
set_multicycle_path -setup -start\
-from [get_ports {in1}]\
-to [get_ports {out1}] 3
set_min_delay\
-from [get_ports {in1}]\
-to [get_ports {out1}] 1.0000
set_max_delay -ignore_clock_latency\
-from [get_ports {in1}]\
-to [get_ports {out1}] 8.0000
set_max_delay\
-from [get_ports {in2}]\
-through [get_nets {n2}]\
-to [get_ports {out1}] 6.0000
set_max_delay\
-from [get_ports {in3}]\
-through [get_cells {or1}]\
-to [get_ports {out2}] 7.0000
set_false_path -setup\
-from [get_clocks {clk1}]\
-to [get_ports {out1}]
set_false_path -setup\
-from [get_ports {in3}]\
-to [get_ports {out1}]
set_false_path\
-from [list [get_ports {in1}]\
[get_ports {in2}]]\
-to [list [get_ports {out1}]\
[get_ports {out2}]]
###############################################################################
# Environment
###############################################################################
###############################################################################
# Design Rules
###############################################################################