| CAPI=2: |
| # Copyright 2023 Google LLC |
| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| name: "lowrisc:tool:chip_matcha_nexysvideo_size_check" |
| description: "Check if design size has been reduced for nexysvideo target" |
| |
| filesets: |
| files_chip_matcha_size_check: |
| files: |
| - ./chip_matcha_size_check.py : { copyto: util/chip_matcha_size_check.py } |
| |
| scripts: |
| chip_matcha_size_check: |
| cmd: |
| - python3 |
| - util/chip_matcha_size_check.py |
| - --target=nexysvideo |
| # TODO: Use this syntax once https://github.com/olofk/fusesoc/issues/353 is |
| # fixed. Remove the filesets from the default target, and also remove the |
| # copyto. |
| #filesets: |
| # - chip_matcha_size_check |
| |
| targets: |
| default: |
| filesets: |
| - files_chip_matcha_size_check |
| hooks: |
| pre_build: |
| - chip_matcha_size_check |