cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
The processing template for the memory test. More...
Go to the source code of this file.
Functions | |
template<const unsigned int maximum_number_of_beats = 512> | |
void | pWriteDataflowMemTest (membus_t *lcl_mem0, local_mem_addr_t max_address_under_test, ap_uint< 64 > *writing_cntr, ap_uint< 32 > *testCounter, unsigned int burst_size) |
template<const unsigned int maximum_number_of_beats = 512> | |
void | pReadDataflowMemTest (membus_t *lcl_mem1, local_mem_addr_t max_address_under_test, ap_uint< 64 > *reading_cntr, ap_uint< 32 > *faulty_addresses_cntr, local_mem_addr_t *first_faulty_address, unsigned int burst_size) |
template<const unsigned int counter_width = 64> | |
void | pTHISProcessingData (stream< NetworkWord > &sRxpToProcp_Data, stream< NetworkWord > &sProcpToTxp_Data, stream< NetworkMetaStream > &sRxtoProc_Meta, stream< NetworkMetaStream > &sProctoTx_Meta, bool *start_stop) |
THIS processing the data once recieved a start command Template function for custom processing. More... | |
Variables | |
const unsigned int | top_param_maximum_number_of_beats = 4096 |
The processing template for the memory test.
A Memory test FSM for the processing of data. It contains the big FSM that manages the input data, parse the commands and set up stuffs, and handles the new meta production from RX. After setting up, begins to processing (so real memory test) that reads and write (impl. details in the memtest_pattern_library.hpp file), concludes with the output send to the TX functions. Interesting MACROS: FAULT_INJECTION (custom fault injection enable or not ifdef), SIMPLER_BANDWIDTH_TEST (employ the complex/controllable or the simpler non controllable version) Various BITWIDTH are used to define the command format of the memory test
Current format 63-24 Trgt addrss; 23-8 Iterations; 7-0 start cmd 127-88 Empty; 87-72 Burst Size; 71-64 burst cmd (or if u prefer the second 64 bits)
Definition in file memtest_processing.hpp.