diff --git a/template/Nexys4_Master.xdc b/template/xc7a100tcsg324-1.xdc similarity index 100% rename from template/Nexys4_Master.xdc rename to template/xc7a100tcsg324-1.xdc diff --git a/vivado-wrapper b/vivado-wrapper index fd99f405be7d0f1ac00d761e18be0b444002aeaa..fe480c48bcc9161b7a66cfa962e01a5ab38c508c 100755 --- a/vivado-wrapper +++ b/vivado-wrapper @@ -154,10 +154,12 @@ function clean_real_project () { } function do_init () { - mkdir constraint build src + mkdir -p constraint build src [[ -f ./Vivadofile ]] && mv ./Vivadofile ./Vivadofile.backup cp "$my_path"/template/Vivadofile ./Vivadofile - echo "init done." + echo "I'll provide a constraint file for xc7a100tcsg324-1, which is used by HUST students. Remove it if it's not your case." + cp "$my_path"/template/xc7a100tcsg324-1.xdc ./constraint + echo "Vivadow project inited." } function do_build () {