Commit 4d82e298 authored by Peter Jansweijer's avatar Peter Jansweijer

adjust main script for designs without mmi and pps_in

parent 943d58b1
......@@ -170,7 +170,9 @@ close_design
# Create a senible name including date and time
set bitfile_name ${spec7_design}_[string range $device 3 6]_[clock format [clock seconds] -format %y%m%d_%H%M]
file copy ./work/${proj_name}.runs/impl_1/${proj_name}.bit ../${bitfile_name}.bit
file copy ./${proj_name}.mmi ../${bitfile_name}.mmi
if [file exists ./${proj_name}.mmi] {
file copy ./${proj_name}.mmi ../${bitfile_name}.mmi
}
set syn_dir [pwd]
# Get SHA codes for spec7, wr-cores and general-cores repositories
......@@ -183,7 +185,9 @@ set git_log_fp [open ../${bitfile_name}.log w]
puts $git_log_fp "Build with following project properties:"
puts $git_log_fp "spec7_design = $spec7_design"
puts $git_log_fp "device = $device"
puts $git_log_fp "pps_in = $pps_in"
if [info exists pps_in] {
puts $git_log_fp "pps_in = $pps_in"
}
puts $git_log_fp "Build was based on the following SHA codes:"
puts $git_log_fp "spec7.git $spec7_sha"
puts $git_log_fp "wr-cores.git $wr_cores_sha"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment