forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fpga] Remove top_earlgrey_reduce.py dependency for CW310 FPGA board
Previously, we were still using that script to keep binary compatibility between the NexysVideo and the CW310 FPGA board. This commit removes this dependency, adds a new device in meson, adapts the CI jobs and modifies the documentation accordingly. Signed-off-by: Pirmin Vogel <[email protected]>
- Loading branch information
Showing
8 changed files
with
57 additions
and
27 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
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,27 @@ | ||
// 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 ChipWhisperer CW310 device. | ||
*/ | ||
|
||
const device_type_t kDeviceType = kDeviceFpgaCw310; | ||
|
||
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; | ||
|
||
const uint32_t kUartNCOValue = | ||
CALCULATE_UART_NCO(kUartBaudrate, kClockFreqPeripheralHz); | ||
|
||
const uintptr_t kDeviceTestStatusAddress = 0; | ||
|
||
const uintptr_t kDeviceLogBypassUartAddress = 0; |
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