extract_hypergraph.tcl 836 Bytes
Newer Older
sakundu committed
1 2 3 4 5 6 7 8 9
#######################################################################
### Author:  Zhiang, May, 2022
### Uses OpenROAD API to convert the netlist to a hypergraph (in hemtis format)
### This file cannot be used directly.  It will be called by
### generate_cluster.py
### All the parameters set here are meaningless.  
### !!! Please don't touch this file !!!
########################################################################

ZhiangWang033 committed
10 11 12 13 14 15 16 17
#read_verilog $netlist
#link_design $top_design
#read_sdc $sdc

read_def  $def_file
#read_sdc $sdc


sakundu committed
18 19 20 21 22 23 24 25

#Generate the hypergraph
partition_design -max_num_inst 2000000 -min_num_inst 40000 \
                 -max_num_macro 12 -min_num_macro 4 \
                 -net_threshold 20  -virtual_weight 50 \
                 -num_hop 0 -timing_weight 1000 \
                 -report_file ${top_design}.hgr
exit