Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
e1ffdbb97This file is pinned to the selected release. Download the original to open it in your design tool.
// Copyright 2020 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "benchmark.h"
#include "../../vendor/riscv-opcodes/encoding.h"
size_t benchmark_get_cycle() { return read_csr(mcycle); }