-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2244 from pascalgouedo/cv32e40p/dev_dd_pgo-embench
Updates to be able to run Embench on multiple configurations
- Loading branch information
Showing
17 changed files
with
1,390 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
############################################################################### | ||
# | ||
# Copyright 2020 OpenHW Group | ||
# | ||
# Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://solderpad.org/licenses/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
# | ||
############################################################################### | ||
|
||
# This is a python setting of parameters for the architecture. The following | ||
# parameters may be set (other keys are silently ignored). Defaults are shown | ||
# in brackets | ||
# - cc ('cc') | ||
# - ld (same value as for cc) | ||
# - cflags ([]) | ||
# - ldflags ([]) | ||
# - cc_define_pattern ('-D{0}') | ||
# - cc_incdir_pattern ('-I{0}') | ||
# - cc_input_pattern ('{0}') | ||
# - cc_output_pattern ('-o {0}') | ||
# - ld_input_pattern ('{0}') | ||
# - ld_output_pattern ('-o {0}') | ||
# - user_libs ([]) | ||
# - dummy_libs ([]) | ||
# - cpu_mhz (1) | ||
# - warmup_heat (1) | ||
|
||
# The "flags" and "libs" parameters (cflags, ldflags, user_libs, dummy_libs) | ||
# should be lists of arguments to be passed to the compile or link line as | ||
# appropriate. Patterns are Python format patterns used to create arguments. | ||
# Thus for GCC or Clang/LLVM defined constants can be passed using the prefix | ||
# '-D', and the pattern '-D{0}' would be appropriate (which happens to be the | ||
# default). | ||
|
||
# "user_libs" may be absolute file names or arguments to the linker. In the | ||
# latter case corresponding arguments in ldflags may be needed. For example | ||
# with GCC or Clang/LLVM is "-l" flags are used in "user_libs", the "-L" flags | ||
# may be needed in "ldflags". | ||
|
||
# Dummy libs have their source in the "support" subdirectory. Thus if 'crt0' | ||
# is specified, there should be a source file 'dummy-crt0.c' in the support | ||
# directory. | ||
|
||
# There is no need to set an unused parameter, and this file may be empty to | ||
# set no flags. | ||
|
||
# Parameter values which are duplicated in architecture, board, chip or | ||
# command line are used in the following order of priority | ||
# - default value | ||
# - architecture specific value | ||
# - chip specific value | ||
# - board specific value | ||
# - command line value | ||
|
||
# For flags, this priority is applied to individual flags, not the complete | ||
# list of flags. |
69 changes: 69 additions & 0 deletions
69
cv32e40p/tests/embench/config/corev32_pulp/boards/corev32_pulp/board.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
############################################################################### | ||
# | ||
# Copyright 2020 OpenHW Group | ||
# | ||
# Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://solderpad.org/licenses/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
# | ||
############################################################################### | ||
|
||
# This is a python setting of parameters for the board. The following | ||
# parameters may be set (other keys are silently ignored). Defaults are shown | ||
# in brackets | ||
# - cc ('cc') | ||
# - ld (same value as for cc) | ||
# - cflags ([]) | ||
# - ldflags ([]) | ||
# - cc_define_pattern ('-D{0}') | ||
# - cc_incdir_pattern ('-I{0}') | ||
# - cc_input_pattern ('{0}') | ||
# - cc_output_pattern ('-o {0}') | ||
# - ld_input_pattern ('{0}') | ||
# - ld_output_pattern ('-o {0}') | ||
# - user_libs ([]) | ||
# - dummy_libs ([]) | ||
# - cpu_mhz (1) | ||
# - warmup_heat (1) | ||
|
||
# The "flags" and "libs" parameters (cflags, ldflags, user_libs, dummy_libs) | ||
# should be lists of arguments to be passed to the compile or link line as | ||
# appropriate. Patterns are Python format patterns used to create arguments. | ||
# Thus for GCC or Clang/LLVM defined constants can be passed using the prefix | ||
# '-D', and the pattern '-D{0}' would be appropriate (which happens to be the | ||
# default). | ||
|
||
# "user_libs" may be absolute file names or arguments to the linker. In the | ||
# latter case corresponding arguments in ldflags may be needed. For example | ||
# with GCC or Clang/LLVM is "-l" flags are used in "user_libs", the "-L" flags | ||
# may be needed in "ldflags". | ||
|
||
# Dummy libs have their source in the "support" subdirectory. Thus if 'crt0' | ||
# is specified, there should be a source file 'dummy-crt0.c' in the support | ||
# directory. | ||
|
||
# There is no need to set an unused parameter, and this file may be empty to | ||
# set no flags. | ||
|
||
# Parameter values which are duplicated in architecture, board, chip or | ||
# command line are used in the following order of priority | ||
# - default value | ||
# - architecture specific value | ||
# - chip specific value | ||
# - board specific value | ||
# - command line value | ||
|
||
# For flags, this priority is applied to individual flags, not the complete | ||
# list of flags. | ||
|
||
cpu_mhz = 1 |
21 changes: 21 additions & 0 deletions
21
cv32e40p/tests/embench/config/corev32_pulp/boards/corev32_pulp/boardsupport.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
** | ||
** Copyright 2020 OpenHW Group | ||
** | ||
** Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** https://solderpad.org/licenses/ | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
** | ||
******************************************************************************* | ||
*/ | ||
|
||
#include "boardsupport.h" | ||
|
Oops, something went wrong.