| replace_external rep |
| |
| rep set_verbose_level 3 |
| #rep set_plot_enable true |
| rep set_density $::env(PL_TARGET_DENSITY) |
| |
| rep import_lef $::env(MERGED_LEF) |
| # rep import_lef ./demo_sram/sram_16_256_8_scn4m_subm.lef |
| rep import_def $::env(ioPlacer_tmp_file_tag).def |
| rep set_output $::env(replacemacro_tmp_file_tag) |
| |
| rep set_timing_driven true |
| rep import_lib $::env(PL_LIB) |
| rep import_lib ./demo_sram/sram_16_256_8_scn4m_subm_TT_5p0V_25C.lib |
| rep import_sdc ./scripts/base.sdc |
| rep import_verilog $::env(yosys_result_file_tag).v |
| |
| |
| rep init_replace |
| rep place_cell_nesterov_place |
| rep print_instances |
| |
| rep export_def $::env(replacemacro_tmp_file_tag).def |
| |
| set hpwl [rep get_hpwl] |
| exec echo $hpwl >> $::env(replacemacro_report_file_tag)_hpwl.rpt |
| |
| set wns [rep get_wns] |
| set tns [rep get_tns] |
| puts "TNS after placement $tns" |
| puts "WNS after placement $wns" |
| exec echo $wns >> $::env(replacemacro_report_file_tag)_wns.rpt |
| exec echo $tns >> $::env(replacemacro_report_file_tag)_tns.rpt |