blob: 9db43c6d152f2bd585d5fed7df292d87d9f80a75 [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/arch/device.h"
/**
* @file
* @brief Device-specific symbol definitions for the Nexysvideo device.
*/
const device_type_t kDeviceType = kDeviceFpgaNexysVideo;
const uint64_t kClockFreqCpuHz = 10 * 1000 * 1000; // 10MHz
const uint64_t kClockFreqPeripheralHz = 25 * 100 * 1000; // 2.5MHz
const uint64_t kClockFreqUsbHz = 48 * 1000 * 1000; // 48MHz
const uint64_t kUartBaudrate = 115200;
// No Device Stop Address in our FPGA implementation.
const uintptr_t kDeviceStopAddress = 0;
const uintptr_t kDeviceTestStatusAddress = 0;
const uintptr_t kDeviceLogBypassUartAddress = 0;