Files
retroSoC/tests/rtl/xpi_fast_flash_dpi.cpp
T
maksyuki 795b3a4b1d feat: add fast-flash support for Verilator simulation and XPI model
- Introduced  target in Makefile to run fast-flash HP Linux userspace acceptance tests with a 7200-second simulation time limit.
- Updated documentation to describe the new fast-flash model and its usage in simulations.
- Implemented Verilator-specific XPI core and fast flash model to handle slot-0 read operations with improved performance.
- Added new tests for the XPI fast flash model to verify protocol compliance and error handling.
- Enhanced existing tests to ensure proper integration of fast-flash features in the HP Linux simulation flow.
2026-08-28 11:29:52 +08:00

8 lines
184 B
C++

#include <cstdint>
extern "C" void flash_read_byte(std::uint32_t address, std::uint8_t *data) {
if (data != nullptr) {
*data = static_cast<std::uint8_t>(address);
}
}