Files
OpenSTA/sdf/test/sdf_read_write.tcl
T
Jaehyun KimandClaude 14af24bc93 Ignore SDF VERSION in diff_files to stabilize tests
Add (VERSION pattern to diff_files ignore parameter so SDF tests
don't break on every upstream version bump. Update golden .ok files
to reflect the now-clean diffs.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Jaehyun Kim <[email protected]>
2026-03-31 22:05:59 +09:00

19 lines
411 B
Tcl

# Test SDF read and annotation
source ../../test/helpers.tcl
set test_name sdf_read_write
read_liberty ../../test/nangate45/Nangate45_typ.lib
read_verilog sdf_test1.v
link_design sdf_test1
create_clock -name clk -period 10 [get_ports clk]
# Read SDF
read_sdf sdf_test1.sdf
# Write SDF
set sdf_out [make_result_file $test_name.sdf]
write_sdf $sdf_out
diff_files $test_name.sdfok $sdf_out {\(DATE|\(VERSION}