mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-02 10:48:35 +02:00
Initial Pass at Attribute parsing
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
read_liberty sky130hd_tt.lib
|
||||
read_verilog attribute_parsing_test.v
|
||||
link_design counter
|
||||
create_clock -name clk [get_ports clk] -period 50
|
||||
set timing_paths [find_timing_paths -sort_by_slack]
|
||||
set critical_path [lindex $timing_paths 0]
|
||||
set critical_path_length [expr {- [get_property $critical_path slack]}]
|
||||
report_checks -format full
|
||||
puts stderr "Critical path length is $critical_path_length\n"
|
||||
|
||||
set instance [sta::top_instance]
|
||||
set cell [$instance cell]
|
||||
set cell_name [$cell name]
|
||||
set src_location [$cell get_attribute "src"]
|
||||
puts "top_instance:\"$cell_name\" attribute \"src\" = $src_location \n"
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user