|
| 1 | +# ---------------------------------------------------------------------- |
| 2 | +# |
| 3 | +# File: testRunner_tiled_siracusa_w_neureka.py |
| 4 | +# |
| 5 | +# Last edited: 08.05.2025 |
| 6 | +# |
| 7 | +# Copyright (C) 2023, ETH Zurich and University of Bologna. |
| 8 | +# |
| 9 | +# Author: Run Wang, ETH Zurich |
| 10 | +# |
| 11 | +# ---------------------------------------------------------------------- |
| 12 | +# SPDX-License-Identifier: Apache-2.0 |
| 13 | +# |
| 14 | +# Licensed under the Apache License, Version 2.0 (the License); you may |
| 15 | +# not use this file except in compliance with the License. |
| 16 | +# You may obtain a copy of the License at |
| 17 | +# |
| 18 | +# www.apache.org/licenses/LICENSE-2.0 |
| 19 | +# |
| 20 | +# Unless required by applicable law or agreed to in writing, software |
| 21 | +# distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| 22 | +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 23 | +# See the License for the specific language governing permissions and |
| 24 | +# limitations under the License. |
| 25 | + |
| 26 | +from testUtils.testRunner import TestRunner, TestRunnerArgumentParser |
| 27 | + |
| 28 | +if __name__ == "__main__": |
| 29 | + |
| 30 | + parser = TestRunnerArgumentParser( |
| 31 | + tiling_arguments = True, |
| 32 | + description = "Deeploy Code Generation Utility for the Siracusa Platform (Tiling & NEureka).") |
| 33 | + |
| 34 | + parser.add_argument('--cores', |
| 35 | + metavar = '<cores>', |
| 36 | + dest = 'cores', |
| 37 | + type = int, |
| 38 | + default = 1, |
| 39 | + help = 'Set number of cluster cores') |
| 40 | + args = parser.parse_args() |
| 41 | + |
| 42 | + testRunner = TestRunner(platform = "Siracusa_w_redmule", |
| 43 | + simulator = "gvsoc", |
| 44 | + tiling = True, |
| 45 | + argument_parser = parser) |
| 46 | + |
| 47 | + testRunner.cmake_args += f" -D NUM_CORES={args.cores}" |
| 48 | + |
| 49 | + |
| 50 | + testRunner.run() |
0 commit comments