Add batch 1 (YosysHQ_picorv32, alexforencich_verilog-ethernet, The-OpenROAD-Project_OpenROAD, darklife_darkriscv, corundum_corundum)
f61bac1 verified Download The-OpenROAD-Project_OpenROAD/src/cts/test/check_buffer_inference2.tcl from SAIFIINDUSTRIES/verilog_data-1: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD/src/cts/test/check_buffer_inference2.tcl
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-1/The-OpenROAD-Project_OpenROAD/src/cts/test/check_buffer_inference2.tcl
-
curl -L -o check_buffer_inference2.tcl https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD/src/cts/test/check_buffer_inference2.tcl
839 Bytes
| # Testing buffer inferece based on port | |
| # LEF USE CLOCK | |
| source "helpers.tcl" | |
| read_liberty Nangate45/Nangate45_typ.lib | |
| read_lef ModNangate45/ModNangate45.lef | |
| read_def check_buffers.def | |
| create_clock -period 5 clk | |
| set_wire_rc -clock -layer metal5 | |
| set_debug RSZ "inferClockBufferList" 1 | |
| set_debug CTS "buffering" 1 | |
| set_cts_config -wire_unit 20 \ | |
| -distance_between_buffers 100 \ | |
| -sink_clustering_size 10 \ | |
| -sink_clustering_max_diameter 60 \ | |
| -num_static_layers 1 \ | |
| -root_buf CLKBUF_X3 | |
| clock_tree_synthesis -sink_clustering_enable | |
| set unconnected_buffers 0 | |
| foreach buf [get_cells clkbuf_*_clk] { | |
| set buf_name [get_name $buf] | |
| set input_pin [get_pin $buf_name/A] | |
| set input_net [get_net -of $input_pin] | |
| if { $input_net == "NULL" } { | |
| incr unconnected_buffers | |
| } | |
| } | |
| puts "Found $unconnected_buffers unconnected buffers." | |