Skip to content

Commit

Permalink
- #3: Move constraints, update makefile and gitignore
Browse files Browse the repository at this point in the history
	* Move constraints file away from Vivado controlled directory
	* Update log file creation in makefile
  • Loading branch information
akberg committed Sep 21, 2021
1 parent b5d9eae commit 7ec95d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
*.xpr
*.hw

# spyware
*webtalk*

### macOS ###
# General
.DS_Store
Expand Down
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@

PROJECT = DMPRO_audio
SYNTH_DIR = logs/synth_$(shell date +"%y%m%d%H%M")
FLASH_DIR = logs/flash_$(shell date +"%y%m%d%H%M")

all:
-mkdir -p logs
-mkdir -p $(SYNTHDIR)
vivado \
-mode batch \
-source build.tcl \
-journal logs/vivado_build_$(shell date +"%y%m%d%H%M").jou \
-log logs/vivado_build_$(shell date +"%y%m%d%H%M").log
-journal $(SYNTH_DIR)/vivado_build.jou \
-log $(SYNTH_DIR)/vivado_build.log

program:
-mkdir -p logs
-mkdir -p $(FLASH_DIR)
vivado \
-mode batch \
-source program.tcl \
-journal logs/vivado_program_$(shell date +"%y%m%d%H%M").jou \
-log logs/vivado_program_$(shell date +"%y%m%d%H%M").log
-journal $(FLASH_DIR)/vivado_program_$(shell date +"%y%m%d%H%M").jou \
-log $(FLASH_DIR)/vivado_program_$(shell date +"%y%m%d%H%M").log
File renamed without changes.

0 comments on commit 7ec95d6

Please sign in to comment.