mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-30 09:48:30 +02:00
Allow SDC get_* with 0 args and on object references
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Test get_* with no arguments and on object references
|
||||
|
||||
# Read in design and libraries
|
||||
read_liberty asap7_small.lib.gz
|
||||
read_verilog reg1_asap7.v
|
||||
link_design top
|
||||
create_clock -name clk -period 500 {clk1 clk2 clk3}
|
||||
create_clock -name vclk -period 1000
|
||||
|
||||
# Test each SDC get_* command with no arguments and on object references
|
||||
puts {[get_cells [get_cells]]}
|
||||
report_object_full_names [get_cells [get_cells]]
|
||||
puts {[get_clocks [get_clocks]]}
|
||||
report_object_full_names [get_clocks [get_clocks]]
|
||||
puts {[get_lib_cells [get_lib_cells]]}
|
||||
report_object_full_names [get_lib_cells [get_lib_cells]]
|
||||
puts {[get_lib_pins [get_lib_pins]]}
|
||||
report_object_full_names [get_lib_pins [get_lib_pins]]
|
||||
puts {[get_libs [get_libs]]}
|
||||
report_object_full_names [get_libs [get_libs]]
|
||||
puts {[get_nets [get_nets]]}
|
||||
report_object_full_names [get_nets [get_nets]]
|
||||
puts {[get_pins [get_pins]]}
|
||||
report_object_full_names [get_pins [get_pins]]
|
||||
puts {[get_ports [get_ports]]}
|
||||
report_object_full_names [get_ports [get_ports]]
|
||||
@@ -127,6 +127,7 @@ record_sta_tests {
|
||||
liberty_arcs_one2one_1
|
||||
liberty_arcs_one2one_2
|
||||
get_filter
|
||||
get_noargs_objrefs
|
||||
}
|
||||
|
||||
define_test_group fast [group_tests all]
|
||||
|
||||
Reference in New Issue
Block a user