aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/rfnoc_mock_reg_iface.hpp
Commit message (Collapse)AuthorAgeFilesLines
* rfnoc: ctrlport: Separately validate and handle async messagesMartin Braun2019-11-261-0/+5
| | | | | | | | | | | This introduces the concept of an async message validator, an optional callback for functions to check if an async message has a valid payload. After validation, the async message is ack'd. Then, the async message handler is executed. This makes sure that an async message is ack'd as soon as possible, rather than after the async message handling, which can itself have all sorts of communication going on to the device.
* rfnoc: Added src port, EPID getters to register_iface, 64-bit callsAshish Chaudhari2019-11-261-2/+11
| | | | - Add peek64() and poke64() convenience calls
* rfnoc: adding client_zeroBrent Stapleton2019-11-261-0/+124
- Adding client_zero class, which gathers information about our device form the global registers on port 0 of the RFNoC backend registers. - adding unit tests to exercise client_zero - mock_reg_iface class: adding fake register_iface so we can run unit tests in software only Co-authored-by: Martin Braun <martin.braun@ettus.com>