blob: 526f07c67580aded0eca2a5ee6856797033a16c3 [file] [log] [blame]
Sam Elliottf6ff9652020-06-02 18:18:54 +01001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4{
5 licence:
6 '''
7 Copyright lowRISC contributors.
8 Licensed under the Apache License, Version 2.0, see LICENSE for details.
9 SPDX-License-Identifier: Apache-2.0
10 ''',
11 exclude_paths: [
Sam Elliott0a3accf2020-07-20 17:13:56 +010012 # Exclude anything in vendored directories
Chris Frantz8d799de2022-04-04 11:19:15 -070013 'third_party/**',
Sam Elliottf6ff9652020-06-02 18:18:54 +010014 '*/vendor/*/*',
Sam Elliott0a3accf2020-07-20 17:13:56 +010015 'util/lowrisc_misc-linters/*',
Sam Elliottf6ff9652020-06-02 18:18:54 +010016
17 ## Hardware Exclusions
18
19 # DV Vendored test vectors
20 'hw/dv/sv/test_vectors',
21 # Vendored CRC model
22 'hw/dv/dpi/usbdpi/usb_crc.c',
23 # Vendored HMAC model
24 'hw/ip/hmac/dv/cryptoc_dpi/*',
Udi Jonnalagadda3d4f7b32020-06-30 16:26:10 -070025 # PRINCE C++ reference model from Sebastien Riou
26 'hw/ip/prim/dv/prim_prince/crypto_dpi_prince/prince_ref.h',
Timothy Trippel87d1f512021-09-14 23:31:48 +000027 # PRESENT C reference model from Thomas Siebert
28 'hw/ip/prim/dv/prim_present/crypto_dpi_present/boxes.inc'
29 'hw/ip/prim/dv/prim_present/crypto_dpi_present/comline.inc'
30 'hw/ip/prim/dv/prim_present/crypto_dpi_present/present.inc'
31 'hw/ip/prim/dv/prim_present/crypto_dpi_present/verbose.inc'
Michael Schaffnerc82f92c2021-01-26 11:33:59 -080032 # PRESENT Python reference model
33 'util/design/lib/Present.py',
Sam Elliottf6ff9652020-06-02 18:18:54 +010034 # Vendored FPGA information
35 'hw/top_earlgrey/data/*.xdc',
36 'util/fpga/bram_load.mmi',
37 # Manually checked, files contain additional copyright header lines
38 'hw/ip/usb_fs_nb_pe/rtl/*',
39 'hw/ip/usbdev/rtl/usbdev_iomux.sv',
Sam Elliottf6ff9652020-06-02 18:18:54 +010040
41 ## Software Exclusions
42
43 # Coremark Vendored Files
44 'sw/device/benchmarks/coremark/top_earlgrey/*',
Sam Elliottf6ff9652020-06-02 18:18:54 +010045
46 ## Other Exclusions
47
48 # Other Licences,
49 'util/wavegen/LICENSE.wavedrom',
50 # Site Assets
51 'site/**/assets/scss/**',
52 'site/landing/static/js/tiny-slider.js',
Rupert Swarbrick1047ba22020-07-20 11:32:59 +010053 # Code taken from Chromium, so covered by the BSD licence
Jade Philipoomcc808792021-11-19 13:28:49 +000054 'sw/otbn/crypto/modexp.s',
55 'sw/otbn/crypto/p256.s',
56 'sw/otbn/crypto/rsa_verify.s',
Jade Philipoom69caba82022-01-18 12:21:05 +000057 'sw/otbn/crypto/handwritten/rsa_verify_3072.s',
Alphan Ulusoye7128e02021-01-25 15:56:33 -050058 # Mersenne Twister PRNG
Miguel Osoriodff9e0d2021-02-13 20:41:47 -080059 'sw/device/sca/lib/prng.c',
Pirmin Vogel0652ad92021-11-25 13:38:28 +010060 # Alma testbench files
61 'hw/ip/aes/pre_sca/alma/cpp/testbench.h',
62 'hw/ip/aes/pre_sca/alma/cpp/verilator_tb_aes_sbox.cpp',
Pirmin Vogelffb02b22021-11-25 14:00:30 +010063 'hw/ip/aes/pre_sca/alma/cpp/verilator_tb_aes_sub_bytes.cpp',
Pirmin Vogel7f3a1662022-01-21 17:00:34 +010064 'hw/ip/kmac/pre_sca/alma/cpp/verilator_tb_keccak_2share.cpp',
Sam Elliottf6ff9652020-06-02 18:18:54 +010065 ],
66}