-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/sim: Extend simulation utilities for Occamy
- Loading branch information
Showing
16 changed files
with
210 additions
and
217 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
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,85 @@ | ||
# Copyright 2023 ETH Zurich and University of Bologna. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
runs: | ||
- elf: tests/build/atomics.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x4 | ||
- elf: tests/build/barrier.elf | ||
- elf: tests/build/data_mover.elf | ||
- elf: tests/build/dma_simple.elf | ||
- elf: tests/build/event_unit.elf | ||
- elf: tests/build/fence_i.elf | ||
- elf: tests/build/fp8_comparison_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with segfault | ||
- elf: tests/build/fp8_comparison_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with segfault | ||
- elf: tests/build/fp8_computation_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with JIT issue | ||
- elf: tests/build/fp8_computation_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x6 | ||
- elf: tests/build/fp8alt_comparison_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with segfault | ||
- elf: tests/build/fp8alt_comparison_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x10 | ||
- elf: tests/build/fp8alt_computation_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with JIT issue | ||
- elf: tests/build/fp8alt_computation_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x12 | ||
- elf: tests/build/fp16_comparison_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x10 | ||
- elf: tests/build/fp16_comparison_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x10 | ||
- elf: tests/build/fp16_computation_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with JIT issue | ||
- elf: tests/build/fp16_computation_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x6 | ||
- elf: tests/build/fp16alt_comparison_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x10 | ||
- elf: tests/build/fp16alt_comparison_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x10 | ||
- elf: tests/build/fp16alt_computation_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with JIT issue | ||
- elf: tests/build/fp16alt_computation_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x16 | ||
- elf: tests/build/fp32_comparison_scalar.elf | ||
- elf: tests/build/fp32_comparison_vector.elf | ||
- elf: tests/build/fp32_computation_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x2 | ||
- elf: tests/build/fp32_computation_vector.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with exit code 0x2 | ||
- elf: tests/build/fp32_conversions_scalar.elf | ||
simulators: [vsim, vcs, verilator] # banshee fails with illegal instruction | ||
- elf: tests/build/fp64_conversions_scalar.elf | ||
simulators: [vsim, vcs, verilator] | ||
# - elf: tests/build/interrupt.elf | ||
- elf: tests/build/interrupt_local.elf | ||
- elf: tests/build/multi_cluster.elf | ||
- elf: tests/build/openmp_parallel.elf | ||
- elf: tests/build/openmp_for_static_schedule.elf | ||
- elf: tests/build/openmp_double_buffering.elf | ||
- elf: tests/build/perf_cnt.elf | ||
- elf: tests/build/printf_simple.elf | ||
- elf: tests/build/printf_fmtint.elf | ||
- elf: tests/build/simple.elf | ||
- elf: tests/build/team_global.elf | ||
- elf: tests/build/tls.elf | ||
- elf: tests/build/varargs_1.elf | ||
- elf: tests/build/varargs_2.elf | ||
- elf: tests/build/zero_mem.elf | ||
- elf: tests/build/non_null_exitcode.elf | ||
exit_code: 14 | ||
- elf: apps/blas/axpy/build/axpy.elf | ||
cmd: ../../sw/blas/axpy/verify.py {sim_bin} {elf} | ||
- elf: apps/blas/gemm/build/gemm.elf | ||
- elf: apps/dnn/batchnorm/build/batchnorm.elf | ||
- elf: apps/dnn/linear/build/linear.elf | ||
- elf: apps/dnn/maxpool/build/maxpool.elf | ||
- elf: apps/dnn/gemm/build/gemm.elf | ||
# - elf: apps/dnn/gelu/build/gelu.elf # seems like it stalls | ||
# - elf: apps/dnn/conv2d/build/conv2d.elf # fails with exit code 32 | ||
# - elf: apps/dnn/fusedconv/build/fusedconv.elf # fails newly | ||
# - elf: apps/dnn/layernorm/build/layernorm.elf | ||
# throws illegal instruction on FDIV in simulation | ||
# - elf: apps/dnn/softmax/build/softmax.elf | ||
# throws illegal instruction on FDIV in simulation |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
# Copyright 2020 ETH Zurich and University of Bologna. | ||
# Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
# SPDX-License-Identifier: SHL-0.51 | ||
# Copyright 2023 ETH Zurich and University of Bologna. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Luca Colagrande <[email protected]> | ||
# | ||
|
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.