| set script_dir [file dirname [file normalize [info script]]] |
| ## ORIGINAL FLOORPLAN FOR CONNECTIVITY INFO |
| set ::env(CONNECTIVITY_RUN) 1 |
| prep -design $script_dir -tag caravel_lvs -overwrite |
| set top_rtl $script_dir/../../verilog/rtl/caravel.v |
| set ::env(SYNTH_DEFINES) "USE_POWER_PINS" |
| logic_equiv_check -lhs $top_rtl -rhs $::env(yosys_result_file_tag).v |
| if { [info exists ::env(LVS_RUN_DIR)] } { |
| file copy -force $::env(CURRENT_DEF) $::env(LVS_RUN_DIR)/lvs.def |
| file copy -force $::env(CURRENT_NETLIST) $::env(LVS_RUN_DIR)/lvs.v |
| file copy -force $::env(MERGED_LEF_UNPADDED) $::env(LVS_RUN_DIR)/lvs.lef |
| puts "Warning: LVS_RUN_DIR not defined" |