mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-06 14:55:14 +00:00
- 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.
8 lines
184 B
C++
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);
|
|
}
|
|
}
|