|
|
new_design -name "leon3mp" -family "Spartan3E"
|
|
|
set_device -die "xc3s1600e" -package " " -speed "-4" -voltage "1.5" -iostd "LVTTL" -jtag "yes" -probe "yes" -trst "yes" -temprange "" -voltrange ""
|
|
|
if {[file exist leon3mp.pdc]} {
|
|
|
import_source -format "edif" -edif_flavor "GENERIC" -merge_physical "no" -merge_timing "no" {synplify/leon3mp.edf} -format "pdc" -abort_on_error "no" {leon3mp.pdc}
|
|
|
} else {
|
|
|
import_source -format "edif" -edif_flavor "GENERIC" -merge_physical "no" -merge_timing "no" {synplify/leon3mp.edf}
|
|
|
}
|
|
|
compile -combine_register 1
|
|
|
if {[file exist ]} {
|
|
|
import_aux -format "pdc" -abort_on_error "no" {}
|
|
|
pin_commit
|
|
|
} else {
|
|
|
puts "WARNING: No PDC file imported."
|
|
|
}
|
|
|
if {[file exist ]} {
|
|
|
import_aux -format "sdc" -merge_timing "no" {}
|
|
|
} else {
|
|
|
puts "WARNING: No SDC file imported."
|
|
|
}
|
|
|
save_design {leon3mp.adb}
|
|
|
report -type status {./actel/report_status_pre.log}
|
|
|
layout -timing_driven -incremental "OFF"
|
|
|
save_design {leon3mp.adb}
|
|
|
backannotate -dir {./actel} -name "leon3mp" -format "SDF" -language "VHDL93" -netlist
|
|
|
report -type "timer" -analysis "max" -print_summary "yes" -use_slack_threshold "no" -print_paths "yes" -max_paths 100 -max_expanded_paths 5 -include_user_sets "yes" -include_pin_to_pin "yes" -select_clock_domains "no" {./actel/report_timer_max.txt}
|
|
|
report -type "timer" -analysis "min" -print_summary "yes" -use_slack_threshold "no" -print_paths "yes" -max_paths 100 -max_expanded_paths 5 -include_user_sets "yes" -include_pin_to_pin "yes" -select_clock_domains "no" {./actel/report_timer_min.txt}
|
|
|
report -type "pin" -listby "name" {./actel/report_pin_name.log}
|
|
|
report -type "pin" -listby "number" {./actel/report_pin_number.log}
|
|
|
report -type "datasheet" {./actel/report_datasheet.txt}
|
|
|
export -format "pdb" -feature "prog_fpga" -io_state "Tri-State" {./actel/leon3mp.pdb}
|
|
|
export -format log -diagnostic {./actel/report_log.log}
|
|
|
report -type status {./actel/report_status_post.log}
|
|
|
save_design {leon3mp.adb}
|
|
|
|