blob: 4e4fe6367efde8d3a5b8cc30e5cc60008432cb3e [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 Philipoomcc808792021-11-19 13:28:49 +000055 'sw/otbn/crypto/modexp.s',
56 'sw/otbn/crypto/p256.s',
57 'sw/otbn/crypto/rsa_verify.s',
Jade Philipoom69caba82022-01-18 12:21:05 +000058 'sw/otbn/crypto/handwritten/rsa_verify_3072.s',
Alphan Ulusoye7128e02021-01-25 15:56:33 -050059 # Mersenne Twister PRNG
Miguel Osoriodff9e0d2021-02-13 20:41:47 -080060 'sw/device/sca/lib/prng.c',
Pirmin Vogel0652ad92021-11-25 13:38:28 +010061 # Alma testbench files
62 'hw/ip/aes/pre_sca/alma/cpp/testbench.h',
63 'hw/ip/aes/pre_sca/alma/cpp/verilator_tb_aes_sbox.cpp',
Pirmin Vogelffb02b22021-11-25 14:00:30 +010064 'hw/ip/aes/pre_sca/alma/cpp/verilator_tb_aes_sub_bytes.cpp',
Pirmin Vogel7f3a1662022-01-21 17:00:34 +010065 'hw/ip/kmac/pre_sca/alma/cpp/verilator_tb_keccak_2share.cpp',
Sam Elliottf6ff9652020-06-02 18:18:54 +010066 ],
67}