blob: 8e06570e83b95e5205e6c199e6de7f4895bf6319 [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "sw/device/lib/runtime/ibex.h"
#ifdef SIMULATION
const size_t kIbexClockFreqHz = 500 * 1000; // 500 kHz
#else
const size_t kIbexClockFreqHz = 50 * 1000 * 1000; // 50 MHz
#endif
extern uint64_t ibex_mcycle_read();