blob: 8bd3335e0d5e83a013937fc79d308c0cc8c08e4a [file] [log] [blame]
Ahmed Ghazy72154392020-11-11 14:56:52 +02001package require openlane
2set script_dir [file dirname [file normalize [info script]]]
3## ORIGINAL FLOORPLAN FOR CONNECTIVITY INFO
4set ::env(CONNECTIVITY_RUN) 1
5
6prep -design $script_dir -tag caravel_lvs -overwrite
7set top_rtl $script_dir/../../verilog/rtl/caravel.v
8
9set ::env(SYNTH_DEFINES) "USE_POWER_PINS"
10verilog_elaborate
11
12logic_equiv_check -lhs $top_rtl -rhs $::env(yosys_result_file_tag).v
13
14init_floorplan
15
16if { [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}