[sw/licence-checker] revendored to support autogen DIF templates
The licence checker script was revendored to support analyzing
additional file types used to create templates for auogenerating IRQ
DIFs.
Please refer to:
https://github.com/lowRISC/misc-linters/pull/19
-and-
https://github.com/lowRISC/misc-linters/pull/20
Signed-off-by: Timothy Trippel <ttrippel@google.com>
diff --git a/util/licence-checker.hjson b/util/licence-checker.hjson
index 9ba1209..33dd1aa 100644
--- a/util/licence-checker.hjson
+++ b/util/licence-checker.hjson
@@ -23,6 +23,11 @@
'hw/ip/hmac/dv/cryptoc_dpi/*',
# PRINCE C++ reference model from Sebastien Riou
'hw/ip/prim/dv/prim_prince/crypto_dpi_prince/prince_ref.h',
+ # PRESENT C reference model from Thomas Siebert
+ 'hw/ip/prim/dv/prim_present/crypto_dpi_present/boxes.inc'
+ 'hw/ip/prim/dv/prim_present/crypto_dpi_present/comline.inc'
+ 'hw/ip/prim/dv/prim_present/crypto_dpi_present/present.inc'
+ 'hw/ip/prim/dv/prim_present/crypto_dpi_present/verbose.inc'
# PRESENT Python reference model
'util/design/lib/Present.py',
# Vendored FPGA information
diff --git a/util/lowrisc_misc-linters.lock.hjson b/util/lowrisc_misc-linters.lock.hjson
index 57bda17..27a5872 100644
--- a/util/lowrisc_misc-linters.lock.hjson
+++ b/util/lowrisc_misc-linters.lock.hjson
@@ -9,6 +9,6 @@
upstream:
{
url: https://github.com/lowRISC/misc-linters.git
- rev: c751ca54f7a328be52da91e391c6c5ea04f0f843
+ rev: dfbdf958ee0dcf977231e82b0eabd9c08823c35c
}
}
diff --git a/util/lowrisc_misc-linters/licence-checker/licence-checker.py b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
index 5237da4..f20909f 100755
--- a/util/lowrisc_misc-linters/licence-checker/licence-checker.py
+++ b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
@@ -131,7 +131,10 @@
([".do"], SLASH_SLASH), # Cadence LEC dofile
# Software Files
- ([".c", ".c.tpl", ".h", ".h.tpl", ".cc", ".cpp"], SLASH_SLASH), # C, C++
+ ([
+ ".c", ".c.tpl", ".h", ".h.tpl", ".inc", ".inc.tpl", ".cc", ".cc.tpl",
+ ".cpp", ".cpp.tpl"
+ ], SLASH_SLASH), # C, C++
([".def"], SLASH_SLASH), # C, C++ X-Include List Declaration Files
([".S"], [SLASH_SLASH, SLASH_STAR]), # Assembly (With Preprocessing)
([".s"], SLASH_STAR), # Assembly (Without Preprocessing)