forked from openhwgroup/core-v-verif
-
Notifications
You must be signed in to change notification settings - Fork 0
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 openhwgroup#2314 from MikeOpenHWGroup/cv32e40s/vsi…
…m-take2 Restore Questasim (vsim) simulations for cv32e40s (take 2)
- Loading branch information
Showing
18 changed files
with
333 additions
and
179 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
log -r /uvmt_cv32_tb/* | ||
log -r /uvmt_cv32e40s_tb/* |
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
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
24 changes: 24 additions & 0 deletions
24
cv32e40s/tests/uvmt/base-tests/uvmt_cv32e40s_base_test_constraint_workarounds.sv
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,24 @@ | ||
// | ||
// Copyright 2023 OpenHW Group | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 | ||
// | ||
// 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. | ||
// | ||
|
||
`ifndef __UVMT_CV32E40S_BASE_TEST_CONSTRAINT_WORKAROUNDS_SV__ | ||
`define __UVMT_CV32E40S_BASE_TEST_CONSTRAINT_WORKAROUNDS_SV__ | ||
|
||
|
||
// This file should be empty by the end of the project | ||
|
||
`endif // __UVMT_CV32E40S_BASE_TEST_CONSTRAINT_WORKAROUNDS_SV__ |
33 changes: 33 additions & 0 deletions
33
cv32e40s/tests/uvmt/base-tests/uvmt_cv32e40s_base_test_elaboration_workarounds.sv
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,33 @@ | ||
// | ||
// Copyright 2023 OpenHW Group | ||
// SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 | ||
// | ||
|
||
`ifndef __UVMT_CV32E40S_BASE_TEST_ELABORATION_WORKAROUNDS_SV__ | ||
`define __UVMT_CV32E40S_BASE_TEST_ELABORATION_WORKAROUNDS_SV__ | ||
|
||
|
||
// This file is "`included" into the base-test end_of_elaboration function. | ||
// This is a good place to add in hacks and workarounds during development. | ||
// It should be empty by the end of the project. | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
// Example things that you might find useful to be running immediately following elaboration: | ||
// | ||
// uvm_root::get().print_topology(); | ||
// uvm_root::get().set_report_verbosity_level_hier(UVM_HIGH); | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
// Depreciate select errors to warnings. | ||
// | ||
// function void set_report_severity_id_override(uvm_severity cur_severity, string id, uvm_severity new_severity); | ||
// Note that "id" is the first argument in `uvm_error(), `uvm_warning(), etc. | ||
|
||
// A bunch of assertions in cv32e40s/tb/uvmt/uvmt_cv32e40s_triggers_assert_cov.sv | ||
// are firing with Questasim (do they fire with other simulators?). | ||
`ifdef QUESTA_VSIM | ||
uvm_root::get().set_report_severity_id_override(UVM_ERROR,"TRIGGER_ASSERT",UVM_WARNING); | ||
`endif // QUESTA_VSIM | ||
|
||
|
||
`endif // __UVMT_CV32E40S_BASE_TEST_ELABORATION_WORKAROUNDS_SV__ |
11 changes: 0 additions & 11 deletions
11
cv32e40s/tests/uvmt/base-tests/uvmt_cv32e40s_base_test_workarounds.sv
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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
Oops, something went wrong.