Initial Pass at Attribute parsing

This commit is contained in:
Ethan Mahintorabi
2024-03-09 22:02:19 +00:00
parent 2cfbeb4672
commit 414e4e44aa
16 changed files with 5101 additions and 56 deletions
+15
View File
@@ -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