From c7e52288db3280ff510299335fb45fae02598fca Mon Sep 17 00:00:00 2001 From: Recolic Keghart <root@recolic.net> Date: Sun, 24 Jun 2018 13:05:41 +0800 Subject: [PATCH] init src folder --- template/Vivadofile | 2 +- vivado-wrapper | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/Vivadofile b/template/Vivadofile index e200fb1..599d22e 100644 --- a/template/Vivadofile +++ b/template/Vivadofile @@ -4,7 +4,7 @@ # You may use SystemVerilog, Verilog, or VHDL files as sources. # sources=(test_main.sv lib/* ./mod?.v) -sources=() +sources=(src/*) # The directory where generated bitstream is put bit_dir=./build diff --git a/vivado-wrapper b/vivado-wrapper index 626cf93..9f72365 100755 --- a/vivado-wrapper +++ b/vivado-wrapper @@ -139,7 +139,7 @@ function clean_real_project () { } function do_init () { - mkdir constraint build + mkdir constraint build src cp "$my_path"/template/Vivadofile ./Vivadofile echo "init done." } -- GitLab