Update the .gitignore
This commit is contained in:
+68
-8
@@ -1,16 +1,76 @@
|
|||||||
# Lattice Diamond 实现输出目录
|
# ============================================================
|
||||||
# 根目录 .gitignore 已覆盖大部分 pattern,此处仅确保 impl1/ 被忽略
|
# Lattice Diamond .gitignore
|
||||||
impl1/
|
#
|
||||||
|
# Strategy:
|
||||||
|
# 1. Ignore all junk with broad glob patterns
|
||||||
|
# 2. Negate ONLY the files Lattice Diamond needs to open a project
|
||||||
|
# ============================================================
|
||||||
|
|
||||||
# 中间文件/排序文件(含绝对路径,跨机器不可移植)
|
# ---------- Build output ----------
|
||||||
|
impl1/
|
||||||
|
*_tcr.dir/
|
||||||
|
tb_RelayConTop
|
||||||
|
|
||||||
|
# ---------- Auto-generated junk ----------
|
||||||
|
# Lattice intermediate / absolute-path files
|
||||||
*.lst
|
*.lst
|
||||||
*.naf
|
*.naf
|
||||||
|
*.tcl
|
||||||
|
|
||||||
# 明确保留: Lattice Diamond 打开项目必需的文件(覆盖根目录忽略规则)
|
# QuestaSim / VCS simulation junk
|
||||||
|
*.ado
|
||||||
|
*.adf
|
||||||
|
*.cr.mti
|
||||||
|
*.mdo
|
||||||
|
*.mpf
|
||||||
|
*.tops
|
||||||
|
*.dmp
|
||||||
|
*.vcd
|
||||||
|
vsim.wlf
|
||||||
|
transcript
|
||||||
|
hdlparser.log
|
||||||
|
|
||||||
|
# HTML reports
|
||||||
|
*.html
|
||||||
|
*.htm
|
||||||
|
|
||||||
|
# Generated XML
|
||||||
|
promote.xml
|
||||||
|
reportview.xml
|
||||||
|
|
||||||
|
# Reveal debug (re-generatable)
|
||||||
|
debug.rvl
|
||||||
|
debug.rvs
|
||||||
|
|
||||||
|
# ---------- Per-project sub-directories ----------
|
||||||
|
# Diamond GUI configs
|
||||||
|
*.ini
|
||||||
|
*.cfg
|
||||||
|
|
||||||
|
# CPLD work directories (simulation artifacts)
|
||||||
|
work/
|
||||||
|
|
||||||
|
# ---------- Negate: Lattice Diamond opens project ONLY with these ----------
|
||||||
|
|
||||||
|
# Verilog / SystemVerilog / VHDL source
|
||||||
|
!*.v
|
||||||
|
!*.sv
|
||||||
|
|
||||||
|
# Lattice project definition
|
||||||
|
!*.lpf
|
||||||
|
!*.ldf
|
||||||
|
!*.sty
|
||||||
|
!*.ccl
|
||||||
|
!*.tfi
|
||||||
|
|
||||||
|
# Bitstream and programming
|
||||||
|
!*.bit
|
||||||
|
!*.jed
|
||||||
!*.svf
|
!*.svf
|
||||||
!*.rva
|
!*.rva
|
||||||
!*.trc
|
!*.trc
|
||||||
!*.bit
|
|
||||||
!*.jed
|
|
||||||
!*.xcf
|
!*.xcf
|
||||||
!tb_RelayConTop/
|
|
||||||
|
# Simulation project files (.spf is needed by Diamond's sim engine)
|
||||||
|
!*.spf
|
||||||
|
_math_real.vhd
|
||||||
|
|||||||
Reference in New Issue
Block a user