布局布线和时序分析
笔记本


2022-11-17 15:55:12ICC2抓instance数量和面积走来走去116.236.47.26

set j_std_count 0 
set j_mem_count 0

set j_std_area 0
set j_mem_area 0

set j_current_inst_area 0

foreach_in_collection j_obj [get_flat_cells -hier -all ] {
	set j_current_inst_area [get_attr $j_obj area ]
	if { [get_attr $j_obj design_type ] == "macro" } {
		set j_mem_area [expr $j_mem_area + $j_current_inst_area ]
		incr j_mem_count
	} else {
		set j_std_area [expr $j_std_area + $j_current_inst_area ]
		incr j_std_count
	}
}

puts "STD count :	$j_std_count"
puts "STD area :	$j_std_area"
puts "MEM count :	$j_mem_count"
puts "MEM area :	$j_mem_area"



回到首页时钟 , 联系信箱:yzbox#163.com(把#换成@) 粤ICP备18155639号