Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 1 | // 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 Elliott | 0a3accf | 2020-07-20 17:13:56 +0100 | [diff] [blame] | 12 | # Exclude anything in vendored directories |
Chris Frantz | 8d799de | 2022-04-04 11:19:15 -0700 | [diff] [blame] | 13 | 'third_party/**', |
Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 14 | '*/vendor/*/*', |
Sam Elliott | 0a3accf | 2020-07-20 17:13:56 +0100 | [diff] [blame] | 15 | 'util/lowrisc_misc-linters/*', |
Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 16 | |
| 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 Jonnalagadda | 3d4f7b3 | 2020-06-30 16:26:10 -0700 | [diff] [blame] | 25 | # PRINCE C++ reference model from Sebastien Riou |
| 26 | 'hw/ip/prim/dv/prim_prince/crypto_dpi_prince/prince_ref.h', |
Timothy Trippel | 87d1f51 | 2021-09-14 23:31:48 +0000 | [diff] [blame] | 27 | # 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 Schaffner | c82f92c | 2021-01-26 11:33:59 -0800 | [diff] [blame] | 32 | # PRESENT Python reference model |
| 33 | 'util/design/lib/Present.py', |
Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 34 | # 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 Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 40 | |
| 41 | ## Software Exclusions |
| 42 | |
| 43 | # Coremark Vendored Files |
| 44 | 'sw/device/benchmarks/coremark/top_earlgrey/*', |
Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 45 | |
| 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 Swarbrick | 1047ba2 | 2020-07-20 11:32:59 +0100 | [diff] [blame] | 53 | # Code taken from Chromium, so covered by the BSD licence |
Jade Philipoom | cc80879 | 2021-11-19 13:28:49 +0000 | [diff] [blame] | 54 | 'sw/otbn/crypto/modexp.s', |
| 55 | 'sw/otbn/crypto/p256.s', |
| 56 | 'sw/otbn/crypto/rsa_verify.s', |
Jade Philipoom | 69caba8 | 2022-01-18 12:21:05 +0000 | [diff] [blame] | 57 | 'sw/otbn/crypto/handwritten/rsa_verify_3072.s', |
Alphan Ulusoy | e7128e0 | 2021-01-25 15:56:33 -0500 | [diff] [blame] | 58 | # Mersenne Twister PRNG |
Miguel Osorio | dff9e0d | 2021-02-13 20:41:47 -0800 | [diff] [blame] | 59 | 'sw/device/sca/lib/prng.c', |
Pirmin Vogel | 0652ad9 | 2021-11-25 13:38:28 +0100 | [diff] [blame] | 60 | # 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 Vogel | ffb02b2 | 2021-11-25 14:00:30 +0100 | [diff] [blame] | 63 | 'hw/ip/aes/pre_sca/alma/cpp/verilator_tb_aes_sub_bytes.cpp', |
Pirmin Vogel | 7f3a166 | 2022-01-21 17:00:34 +0100 | [diff] [blame] | 64 | 'hw/ip/kmac/pre_sca/alma/cpp/verilator_tb_keccak_2share.cpp', |
Sam Elliott | f6ff965 | 2020-06-02 18:18:54 +0100 | [diff] [blame] | 65 | ], |
| 66 | } |