Skip to content

Commit

Permalink
Added regression for pevent generation
Browse files Browse the repository at this point in the history
  • Loading branch information
klingaard committed Feb 4, 2024
1 parent 871ddc5 commit 213d353
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ If `conda` is not already set up or the preference is to have a local

## Create a New Environment or Update Existing Conda Environment

** If these steps do no work, follow the directions on
[Map/Sparta](https://github.com/sparcians/map/tree/master#building-map)
instead **

A new environment can be created using `environment.yaml` file as follows:

```
Expand Down
9 changes: 9 additions & 0 deletions test/sim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,21 @@ sparta_named_test(olympia_coremark_test_report_html olympia -i 1M
--report reports/core_report.def
--workload traces/core_riscv.zstf)

# Test missing opcodes
sparta_named_test(olympia_json_test_missing_opcodes olympia
--workload json_tests/missing_opcodes.json)

# Test FP transfers
sparta_named_test(olympia_json_test_fp_transfers olympia
--workload json_tests/fp_transfers.json)

# Test PEvent generation
sparta_named_test(olympia_json_test_pevents olympia
--workload traces/dhry_riscv.zstf
--pevents test_pevent.out RETIRE
--pevents test_pevent.out DECODE
--pevents test_pevent.out ALL)

## Test the arches
file(GLOB TEST_YAML "${SIM_BASE}/arches/*.yaml")
foreach(ARCH_FULL_PATH ${TEST_YAML})
Expand Down

0 comments on commit 213d353

Please sign in to comment.