Reviving Rd53a emulator
Created a new development branch devel-Rd53aEmu-proposal
for Rd53a emulator discussion.
Just to take a test-driven development, the short-term main target is to pass the following test:
tools/rd53a_emu_proto_digitalscan.cpp
which is an almost dead-copy of tools/rd53a_proto_digitalscan.cpp but just replacing the Spec
hardware to EmuController
. Naturally, the next step will be to pass tools/rd53a_emu_proto_analogscan.cpp
(not existing yet) and eventually integrate to scanConsole
.
- Currently the emulator accepts all emitted command streams. But actions to those commands are not properly made at all (e.g.
Cal
command is not digested). Data output is also not made properly. - In this branch, the basic structure of
Rd53aEmu
was revisited in terms of "command pattern". - Concrete implementation in the command functions are almost keeping Nikola's impl, and currently not caring of exact validity of the behavior.
To test the feature, one can try in the branch devel-Rd53aEmu-proposal
and try:
./bin/rd53a_emu_proto_digitalscan
Tagging @theim for further discussion.