概要
Xilinx ISE向けのGit用.gitignoreファイル,検索しても公式のはひっかからなかった.
よそのGit HUBで使ってるファイルは見つかるものの,使ってみると,どうもいまひとつ.
Xilinx Vivado用のサンプルファイルが,XilinxのWebサイトで配布されていたので,これを元に構成.
ISE向け.gitignoreファイル
サンプルファイルからの変更点
サンプルファイルに対して,次のファイルを管理の対象として追加.
- *.xco
- IPコア用ファイル
- *.xise
- ISEプロジェクトファイル
- *.ucf
- 制約ファイル
これらのファイルがあれば,クローンしたプロジェクトは異状無く開いてくれると思う.
Vivado用なので,ISEでは不要な記述もありそうだが,そこはあえて見なかったことにしておく.
作った.gitignoreファイル
.gitignore
#########
#Exclude all
#########
*
!*/
!.gitignore
###########################################################################
## VIVADO
###########################################################################
#########
#Source files:
#########
#Do NOT ignore VHDL, Verilog, block diagrams or EDIF files.
!*.vhd
!*.v
!*.bd
!*.edif
#########
#IP files
#########
#.xci: synthesis and implemented not possible - you need to return back to the previous version to generate output products
#.xci + .dcp: implementation possible but not re-synthesis
#*.xci(www.spiritconsortium.org)
!*.xci
#*.dcp(checkpoint files)
!*.dcp
!*.vds
!*.pb
#All bd comments and layout coordinates are stored within .ui
!*.ui
!*.ooc
!*.xco
#########
#System Generator
#########
!*.mdl
!*.slx
!*.bxml
#########
#Simulation logic analyzer
#########
!*.wcfg
!*.coe
#########
#MIG
#########
!*.prj
!*.mem
#########
#Project files
#########
#XPR + *.XML ? XPR (Files are merged into a single XPR file for 2014.1 version)
#Do NOT ignore *.xpr files
!*.xise
!*.xpr
#Include *.xml files for 2013.4 or earlier version
!*.xml
#########
#Constraint files
#########
#Do NOT ignore *.xdc files
!*.xdc
!*.ucf
#########
#TCL - files
#########
!*.tcl
#########
#Journal - files
#########
!*.jou
#########
#Reports
#########
!*.rpt
!*.txt
!*.vdi
#########
#C-files
#########
!*.c
!*.h
!*.elf
!*.bmm
!*.xmp
メモ
コード表示のフォーマットは,とりあえず,awkにした.