Skip to content
Snippets Groups Projects
Commit 3a77878f authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

Added copy command to copy the .mif file

parent 141cf170
No related branches found
No related tags found
2 merge requests!100Removed text for XSub that is now written in Confluence Subband correlator...,!64Resolve L2SDP-189
......@@ -108,7 +108,7 @@ if {[file exists "$::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/$board_na
exit 2
}
# Copy memory initialization file
# Copy memory initialization files
if {[file exists "$::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/onchip_memory2_0.hex"] == 1} {
file copy -force $::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/onchip_memory2_0.hex onchip_memory2_0.hex
} else {
......@@ -116,9 +116,15 @@ if {[file exists "$::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/onchip_me
post_message -type error "quartus_config unb2b; run_qsys unb2b $board_name board.qsys"
post_message -type error "Terminating pre-flow script"
exit 2
}
if {[file exists "$::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/$board_name.mif"] == 1} {
file copy -force $::env(RADIOHDL_BUILD_DIR)/unb2b/quartus/$board_name/$board_name.mif $board_name.mif
} else {
post_message -type error "It seems that the BSP has not been initialized yet, please execute the following commands and try again:"
post_message -type error "quartus_config unb2b; run_qsys unb2b $board_name board.qsys"
post_message -type error "Terminating pre-flow script"
exit 2
}
post_message "Compiling $revision_name revision: generating and archiving board.qsys"
post_message " qsys-generate -syn --family=\"Arria 10\" --part=$device_name board.qsys"
qexec "qsys-generate -syn --family=\"Arria 10\" --part=$device_name board.qsys"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment