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


2023-05-09 17:02:40ICC2中计算指定module中的cell/ram数量与面积走来走去116.236.47.26

set j_block_list "top/module1 top/module2 top/module3"

foreach j_obj0 $j_block_list {
	set j_area_sum 0.0
	foreach_in_collection j_obj [get_flat_cells -hier -all -filter "design_type != macro" $j_obj0/* ] {
		set j_area_sum [expr $j_area_sum + [get_attr $j_obj area ] ]
	}
	set j_inst_count [sizeof_coll [get_flat_cells -hier -all -filter "design_type != macro" $j_obj0/* ] ]
	puts "$j_obj0 std area is : $j_area_sum"
	puts "$j_obj0 std count is : $j_inst_count"

	puts ""

	set j_area_sum 0.0
	foreach_in_collection j_obj [get_flat_cells -hier -all -filter "design_type == macro" $j_obj0/* ] {
		set j_area_sum [expr $j_area_sum + [get_attr $j_obj area ] ]
	}
	set j_inst_count [sizeof_coll [get_flat_cells -hier -all -filter "design_type == macro" $j_obj0/* ] ]
	puts "$j_obj0 ram area is : $j_area_sum"
	puts "$j_obj0 ram count is : $j_inst_count"

	puts "\n"
}



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