Skip to content
Snippets Groups Projects
Unverified Commit 5e0c7b44 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

better `vivadow init`

parent 05d1efb0
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -154,10 +154,12 @@ function clean_real_project () { ...@@ -154,10 +154,12 @@ function clean_real_project () {
} }
function do_init () { function do_init () {
mkdir constraint build src mkdir -p constraint build src
[[ -f ./Vivadofile ]] && mv ./Vivadofile ./Vivadofile.backup [[ -f ./Vivadofile ]] && mv ./Vivadofile ./Vivadofile.backup
cp "$my_path"/template/Vivadofile ./Vivadofile 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 () { function do_build () {
......
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