blob: 6d0edb49b4d2fddd27057a99a26b635449c2f8b5 [file] [log] [blame]
Srikrishna Iyer86f6bce2020-02-27 19:02:04 -08001// 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 project: opentitan
Srikrishna Iyerdddf93b2020-12-04 18:24:46 -08006 repo_server: "github.com/lowrisc/opentitan"
Srikrishna Iyer86f6bce2020-02-27 19:02:04 -08007 doc_server: docs.opentitan.org
8 results_server: reports.opentitan.org
9
10 // Default directory structure for the output
Srikrishna Iyer981c36b2020-12-12 12:20:35 -080011 scratch_base_path: "{scratch_root}/{branch}"
12 scratch_path: "{scratch_base_path}/{dut}-{flow}-{tool}"
13
Eli Kim0bda9712022-11-30 10:41:32 -080014 // Common data structure
15 build_pass_patterns: []
16 // TODO: Add back FuseSoC fail pattern after
17 // https://github.com/lowRISC/opentitan/issues/7348 is resolved.
18 build_fail_patterns: []
19
Srikrishna Iyer981c36b2020-12-12 12:20:35 -080020 exports: [
21 { SCRATCH_PATH: "{scratch_path}" },
22 { proj_root: "{proj_root}" }
23 ]
Srikrishna Iyer86f6bce2020-02-27 19:02:04 -080024
25 // Results server stuff - indicate what command to use to copy over the results.
26 // Workaround for gsutil to fall back to using python2.7.
27 results_server_prefix: "gs://"
Srikrishna Iyer158a22b2021-10-13 00:37:52 -070028 results_server_cmd: "/usr/bin/gsutil"
Michael Schaffner400a5462022-08-16 18:20:11 -070029 results_html_name: "report.html"
Michael Schaffnercb61dc42020-07-10 16:36:39 -070030
31 // If defined, this is printed into the results md files
Srikrishna Iyerdddf93b2020-12-04 18:24:46 -080032 revision: '''{eval_cmd}
33 COMMIT_L=`git rev-parse HEAD`; \
34 COMMIT_S=`git rev-parse --short HEAD`; \
Michael Schaffner400a5462022-08-16 18:20:11 -070035 REV_STR="GitHub Revision: [\`$COMMIT_S\`](https://{repo_server}/tree/$COMMIT_L)"; \
Michael Schaffner4486faa2021-02-10 19:07:22 -080036 printf "$REV_STR"; \
37 if [ -d "{proj_root}/hw/foundry" ]; then \
38 COMMIT_FOUNDRY_S=`git -C {proj_root}/hw/foundry rev-parse --short HEAD`; \
39 REV_STR_FOUNDRY="Foundry Revision: \`$COMMIT_FOUNDRY_S\`"; \
40 printf "<br>$REV_STR_FOUNDRY"; \
41 fi
Srikrishna Iyerdddf93b2020-12-04 18:24:46 -080042 '''
Timothy Chenbe47dd72020-07-27 14:57:07 -070043
44 // The current design level
45 design_level: "ip"
Srikrishna Iyer86f6bce2020-02-27 19:02:04 -080046}