blob: 9ba12094b9c224222e84831c0a68761157357cf4 [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
Sam Elliottf6ff9652020-06-02 18:18:54 +010013 '*/vendor/*/*',
Sam Elliott0a3accf2020-07-20 17:13:56 +010014 'util/lowrisc_misc-linters/*',
Sam Elliottf6ff9652020-06-02 18:18:54 +010015
16 ## Hardware Exclusions
17
18 # DV Vendored test vectors
19 'hw/dv/sv/test_vectors',
20 # Vendored CRC model
21 'hw/dv/dpi/usbdpi/usb_crc.c',
22 # Vendored HMAC model
23 'hw/ip/hmac/dv/cryptoc_dpi/*',
Udi Jonnalagadda3d4f7b32020-06-30 16:26:10 -070024 # PRINCE C++ reference model from Sebastien Riou
25 'hw/ip/prim/dv/prim_prince/crypto_dpi_prince/prince_ref.h',
Michael Schaffnerc82f92c2021-01-26 11:33:59 -080026 # PRESENT Python reference model
27 'util/design/lib/Present.py',
Sam Elliottf6ff9652020-06-02 18:18:54 +010028 # Vendored FPGA information
29 'hw/top_earlgrey/data/*.xdc',
30 'util/fpga/bram_load.mmi',
31 # Manually checked, files contain additional copyright header lines
32 'hw/ip/usb_fs_nb_pe/rtl/*',
33 'hw/ip/usbdev/rtl/usbdev_iomux.sv',
34 'hw/ip/usbuart/rtl/usb_serial_*_ep.sv',
35
36 ## Software Exclusions
37
38 # Coremark Vendored Files
39 'sw/device/benchmarks/coremark/top_earlgrey/*',
Sam Elliottf6ff9652020-06-02 18:18:54 +010040
41 ## Other Exclusions
42
43 # Other Licences,
44 'util/wavegen/LICENSE.wavedrom',
45 # Site Assets
46 'site/**/assets/scss/**',
47 'site/landing/static/js/tiny-slider.js',
Philipp Wagner738a3002020-08-27 19:26:10 +010048 'util/opentitan-pgm-fpga/vivado_pgm.tcl',
Rupert Swarbrick1047ba22020-07-20 11:32:59 +010049 # Code taken from Chromium, so covered by the BSD licence
Philipp Wagnerb5b8c7f2020-10-27 10:44:27 +000050 'sw/otbn/code-snippets/modexp.s',
Felix Miller5363dc42020-11-16 12:58:12 +010051 'sw/otbn/code-snippets/p256.s',
Felix Millere99713b2021-04-08 15:42:33 +020052 'sw/otbn/code-snippets/rsa_verify.s',
Felix Miller0f6e7812021-05-30 23:04:36 +020053 'sw/otbn/code-snippets/rsa_verify_3072.s',
Alphan Ulusoye7128e02021-01-25 15:56:33 -050054 # Mersenne Twister PRNG
Miguel Osoriodff9e0d2021-02-13 20:41:47 -080055 'sw/device/sca/lib/prng.c',
Sam Elliottf6ff9652020-06-02 18:18:54 +010056 ],
57}