blob: 81b77af3b9fb9fda9b2761bdebfdb280592a0c13 [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',
Timothy Trippel87d1f512021-09-14 23:31:48 +000026 # PRESENT C reference model from Thomas Siebert
27 'hw/ip/prim/dv/prim_present/crypto_dpi_present/boxes.inc'
28 'hw/ip/prim/dv/prim_present/crypto_dpi_present/comline.inc'
29 'hw/ip/prim/dv/prim_present/crypto_dpi_present/present.inc'
30 'hw/ip/prim/dv/prim_present/crypto_dpi_present/verbose.inc'
Michael Schaffnerc82f92c2021-01-26 11:33:59 -080031 # PRESENT Python reference model
32 'util/design/lib/Present.py',
Sam Elliottf6ff9652020-06-02 18:18:54 +010033 # Vendored FPGA information
34 'hw/top_earlgrey/data/*.xdc',
35 'util/fpga/bram_load.mmi',
36 # Manually checked, files contain additional copyright header lines
37 'hw/ip/usb_fs_nb_pe/rtl/*',
38 'hw/ip/usbdev/rtl/usbdev_iomux.sv',
39 'hw/ip/usbuart/rtl/usb_serial_*_ep.sv',
40
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',
Philipp Wagner738a3002020-08-27 19:26:10 +010053 'util/opentitan-pgm-fpga/vivado_pgm.tcl',
Rupert Swarbrick1047ba22020-07-20 11:32:59 +010054 # Code taken from Chromium, so covered by the BSD licence
Jade Philipoom2d3163a2021-10-13 11:57:48 +010055 'sw/device/silicon_creator/lib/crypto/ecdsa_p256/p256.s',
Philipp Wagnerb5b8c7f2020-10-27 10:44:27 +000056 'sw/otbn/code-snippets/modexp.s',
Felix Miller5363dc42020-11-16 12:58:12 +010057 'sw/otbn/code-snippets/p256.s',
Felix Millere99713b2021-04-08 15:42:33 +020058 'sw/otbn/code-snippets/rsa_verify.s',
Felix Miller0f6e7812021-05-30 23:04:36 +020059 'sw/otbn/code-snippets/rsa_verify_3072.s',
Alphan Ulusoye7128e02021-01-25 15:56:33 -050060 # Mersenne Twister PRNG
Miguel Osoriodff9e0d2021-02-13 20:41:47 -080061 'sw/device/sca/lib/prng.c',
Sam Elliottf6ff9652020-06-02 18:18:54 +010062 ],
63}