2024-08-13 04:40:49 +02:00
|
|
|
# Read in design and libraries
|
|
|
|
|
read_liberty asap7_invbuf.lib.gz
|
|
|
|
|
read_liberty asap7_seq.lib.gz
|
|
|
|
|
read_liberty asap7_simple.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 filters for each SDC command
|
|
|
|
|
puts "get_cells"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_cells -filter liberty_cell==BUFx2_ASAP7_75t_R *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_clocks"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_clocks -filter is_virtual==0 *]
|
|
|
|
|
puts "get_clocks 2"
|
|
|
|
|
report_object_full_names [get_clocks -filter is_virtual==1 *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_lib_cells"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_lib_cells -filter is_buffer==1 *]
|
|
|
|
|
puts "get_lib_cells 2"
|
|
|
|
|
report_object_full_names [get_lib_cells -filter is_inverter==1 *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_lib_pins"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_lib_pins -filter direction==input BUFx2_ASAP7_75t_R/*]
|
|
|
|
|
puts "get_lib_pins 2"
|
|
|
|
|
report_object_full_names [get_lib_pins -filter direction==output BUFx2_ASAP7_75t_R/*]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_libs"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_libs -filter name==asap7sc7p5t_INVBUF_RVT_TT_ccs_211120 *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_nets"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_nets -filter name=~*q *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_pins"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_pins -filter direction==input *]
|
|
|
|
|
puts "get_pins 2"
|
|
|
|
|
report_object_full_names [get_pins -filter direction==output *]
|
2024-08-13 04:40:49 +02:00
|
|
|
puts "get_ports"
|
2024-08-13 05:16:49 +02:00
|
|
|
report_object_full_names [get_ports -filter direction==input *]
|
|
|
|
|
puts "get_ports 2"
|
|
|
|
|
report_object_full_names [get_ports -filter direction==output *]
|