blob: b1fa37b9bb3b0d2e3ef7dc8dbcbb240098b6318a [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/*',
40 # Tock Vendored Files
41 'sw/device/tock/chips/opentitan_common/src/uart.rs',
42 'sw/device/tock/chips/opentitan_common/src/lib.rs',
43 'sw/device/tock/chips/opentitan_common/src/gpio.rs'
44 'sw/device/tock/chips/earlgrey/src/uart.rs',
45 'sw/device/tock/chips/earlgrey/src/timer.rs',
46 'sw/device/tock/chips/earlgrey/src/plic.rs',
47 'sw/device/tock/chips/earlgrey/src/lib.rs',
48 'sw/device/tock/chips/earlgrey/src/interrupts.rs',
49 'sw/device/tock/chips/earlgrey/src/gpio.rs',
50 'sw/device/tock/chips/earlgrey/src/chip.rs',
51 'sw/device/tock/boards/opentitan/src/main.rs',
52 'sw/device/tock/boards/opentitan/src/io.rs',
53 'sw/device/tock/boards/opentitan/layout.ld',
54 'sw/device/tock/boards/opentitan/build.rs',
55 'sw/device/tock/**/*.lock',
56 'sw/device/tock/boards/opentitan/rust-toolchain',
57
58 ## Other Exclusions
59
60 # Other Licences,
61 'util/wavegen/LICENSE.wavedrom',
62 # Site Assets
63 'site/**/assets/scss/**',
64 'site/landing/static/js/tiny-slider.js',
Philipp Wagner738a3002020-08-27 19:26:10 +010065 'util/opentitan-pgm-fpga/vivado_pgm.tcl',
Rupert Swarbrick1047ba22020-07-20 11:32:59 +010066 # Code taken from Chromium, so covered by the BSD licence
Philipp Wagnerb5b8c7f2020-10-27 10:44:27 +000067 'sw/otbn/code-snippets/modexp.s',
Felix Miller5363dc42020-11-16 12:58:12 +010068 'sw/otbn/code-snippets/p256.s',
Alphan Ulusoye7128e02021-01-25 15:56:33 -050069 # Mersenne Twister PRNG
70 'sw/device/sca/aes_serial/prng.c',
Sam Elliottf6ff9652020-06-02 18:18:54 +010071 ],
72}