Xilinx 用 .gitignore
Xilinx 用の除外ルール 82 件。そのままリポジトリにコピーして使えます。
FPGA開発ツール
Xilinx 用 .gitignore の完全版
# LFGitignore によって生成 - https://lfgitignore.com
# 作成日:2026-10-31 21:52:25 UTC
# 技術:Xilinx
### Xilinx ###
*.jou
# Eclipse ワークスペースのメタデータ
.metadata
# Eclipseプロジェクトファイル
.project
*.debug
*.str
# 一時ファイル
*.tmp
*.rst
# ZIP アーカイブ
*.zip
*.os
*.html
*.js
# ログファイル
*.log
*.pb
*.dcp
*.hwdef
*.vds
*.veo
*.wdf
*.vdi
*.dmp
*.rpx
*.rpt
*_stub.v
*_stub.vhdl
*_funcsim.v
*_funcsim.vhdl
# キャッシュファイル
*.cache
*.data
*.ipdefs
.Xil
*.sdk
*.hw
*.ip_user_files
*_synth_*
.jobs
*/*.runs/synth*/*.xml
*/*.runs/synth*/*.txt
*/*.runs/synth*/*.sh
*/*.runs/synth*/*.tcl
*/*.runs/synth*/*.bat
*/*.runs/synth*/*.xdc
!*/*.runs/synth*/*utilization*.rpt
*.runs/synth*/*.xml
*.runs/synth*/*.txt
*.runs/synth*/*.sh
*.runs/synth*/*.tcl
*.runs/synth*/*.bat
*.runs/synth*/*.xdc
!*.runs/synth*/*utilization*.rpt
*/*.runs/impl*/*.xml
*/*.runs/impl*/*.html
*/*.runs/impl*/*.txt
*/*.runs/impl*/*.sh
*/*.runs/impl*/*.tcl
*/*.runs/impl*/*.bat
!*/*.runs/impl*/*utilization*.rpt
*.runs/impl*/*.xml
*.runs/impl*/*.html
*.runs/impl*/*.txt
*.runs/impl*/*.sh
*.runs/impl*/*.tcl
*.runs/impl*/*.bat
!*.runs/impl*/*utilization*.rpt
*/*/bd/*/hdl
*/*/*/bd/*/hdl
*/*/bd/*/*.xdc
*/*/*/bd/*/*.xdc
*/*/bd/*/ip/*/*.xdc
*/*/*/bd/*/ip/*/*.xdc
*/*/bd/*/ip/*/*/
*/*/*/bd/*/ip/*/*/
*/*/bd/*/ip/*/*.vhd
*/*/*/bd/*/ip/*/*.vhd
*/*/bd/*/ip/*/*.xml
*/*/*/bd/*/ip/*/*.xml
*.c
*.h
*.vho
*/*/bd/*/ip/*/*.tcl
*/*/*/bd/*/ip/*/*.tcl
hw_handoff
ipshared
Xilinx のルールで除外されるもの
以下の各パターンと、.gitignore に含める理由を説明します。
一般的な
| パターン | 除外対象 |
|---|---|
.metadata |
Eclipse ワークスペースのメタデータ |
.project |
Eclipseプロジェクトファイル |
*.jou |
[home] |
*.debug |
一般的な |
*.str |
一般的な |
*.tmp |
一時ファイル |
*.rst |
一般的な |
*.zip |
ZIP アーカイブ |
*.os |
一般的な |
*.html |
一般的な |
*.js |
一般的な |
*.log |
ログファイル |
*.pb |
一般的な |
*.dcp |
一般的な |
*.hwdef |
一般的な |
*.vds |
一般的な |
*.veo |
一般的な |
*.wdf |
一般的な |
*.vdi |
一般的な |
*.dmp |
一般的な |
*.rpx |
一般的な |
*.rpt |
一般的な |
*_stub.v |
一般的な |
*_stub.vhdl |
一般的な |
*_funcsim.v |
一般的な |
*_funcsim.vhdl |
一般的な |
*.cache |
キャッシュファイル |
*.data |
一般的な |
*.ipdefs |
一般的な |
.Xil |
一般的な |
*.sdk |
一般的な |
*.hw |
一般的な |
*.ip_user_files |
一般的な |
*_synth_* |
## IP の論理合成 |
.jobs |
一般的な |
*/*.runs/synth*/*.xml |
## プロジェクトの論理合成 |
*/*.runs/synth*/*.txt |
一般的な |
*/*.runs/synth*/*.sh |
一般的な |
*/*.runs/synth*/*.tcl |
一般的な |
*/*.runs/synth*/*.bat |
一般的な |
*/*.runs/synth*/*.xdc |
一般的な |
!*/*.runs/synth*/*utilization*.rpt |
一般的な |
*.runs/synth*/*.xml |
一般的な |
*.runs/synth*/*.txt |
一般的な |
*.runs/synth*/*.sh |
一般的な |
*.runs/synth*/*.tcl |
一般的な |
*.runs/synth*/*.bat |
一般的な |
*.runs/synth*/*.xdc |
一般的な |
!*.runs/synth*/*utilization*.rpt |
一般的な |
*/*.runs/impl*/*.xml |
## プロジェクトの配置配線 |
*/*.runs/impl*/*.html |
一般的な |
*/*.runs/impl*/*.txt |
一般的な |
*/*.runs/impl*/*.sh |
一般的な |
*/*.runs/impl*/*.tcl |
一般的な |
*/*.runs/impl*/*.bat |
一般的な |
!*/*.runs/impl*/*utilization*.rpt |
一般的な |
*.runs/impl*/*.xml |
一般的な |
*.runs/impl*/*.html |
一般的な |
*.runs/impl*/*.txt |
一般的な |
*.runs/impl*/*.sh |
一般的な |
*.runs/impl*/*.tcl |
一般的な |
*.runs/impl*/*.bat |
一般的な |
!*.runs/impl*/*utilization*.rpt |
一般的な |
*/*/bd/*/hdl |
## ブロックデザイン |
*/*/*/bd/*/hdl |
一般的な |
*/*/bd/*/*.xdc |
一般的な |
*/*/*/bd/*/*.xdc |
一般的な |
*/*/bd/*/ip/*/*.xdc |
一般的な |
*/*/*/bd/*/ip/*/*.xdc |
一般的な |
*/*/bd/*/ip/*/*/ |
一般的な |
*/*/*/bd/*/ip/*/*/ |
一般的な |
*/*/bd/*/ip/*/*.vhd |
一般的な |
*/*/*/bd/*/ip/*/*.vhd |
一般的な |
*/*/bd/*/ip/*/*.xml |
一般的な |
*/*/*/bd/*/ip/*/*.xml |
一般的な |
*.c |
一般的な |
*.h |
一般的な |
*.vho |
一般的な |
*/*/bd/*/ip/*/*.tcl |
一般的な |
*/*/*/bd/*/ip/*/*.tcl |
一般的な |
hw_handoff |
一般的な |
ipshared |
一般的な |
この Xilinx 用 .gitignore の使い方
- 上の Xilinx 用ルールをコピーするか、ファイルを直接ダウンロードしてください。
- Git リポジトリのルートに .gitignore という名前のファイルを作り、ルールを貼り付けます。
- 対象のファイルがすでに追跡されている場合は、git rm -r --cached . を実行して再度コミットしてください。Git の除外ルールは未追跡のファイルにのみ適用されます。
- チーム全員で同じルールを共有できるよう、.gitignore をコミットします。