Ahmed Ghazy | 7215439 | 2020-11-11 14:56:52 +0200 | [diff] [blame] | 1 | package require openlane |
| 2 | set script_dir [file dirname [file normalize [info script]]] |
| 3 | ## ORIGINAL FLOORPLAN FOR CONNECTIVITY INFO |
| 4 | set ::env(CONNECTIVITY_RUN) 1 |
| 5 | |
| 6 | prep -design $script_dir -tag caravel_lvs -overwrite |
| 7 | set top_rtl $script_dir/../../verilog/rtl/caravel.v |
| 8 | |
| 9 | set ::env(SYNTH_DEFINES) "USE_POWER_PINS" |
| 10 | verilog_elaborate |
| 11 | |
| 12 | logic_equiv_check -lhs $top_rtl -rhs $::env(yosys_result_file_tag).v |
| 13 | |
| 14 | init_floorplan |
| 15 | |
| 16 | if { [info exists ::env(LVS_RUN_DIR)] } { |
| 17 | file copy -force $::env(CURRENT_DEF) $::env(LVS_RUN_DIR)/lvs.def |
| 18 | file copy -force $::env(CURRENT_NETLIST) $::env(LVS_RUN_DIR)/lvs.v |
| 19 | file copy -force $::env(MERGED_LEF_UNPADDED) $::env(LVS_RUN_DIR)/lvs.lef |
| 20 | } else { |
| 21 | puts "Warning: LVS_RUN_DIR not defined" |
| 22 | } |