You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making changes to the Enable register for test devices has no effect as they only update during a reset. Resetting in this context means restarting the whole program, which overwrites any changes made to the registers anyway.
It would be good to store a persistent state for test devices that can be loaded by oni-repl and applied, mimicking real world hardware via a virtual state. For Linux, this configuration could be placed in /tmp, but I don't know the best place to store it for Windows installations.
The text was updated successfully, but these errors were encountered:
For the record, Test0 devices that exist in actual hardware (like those used for debug during FPGA development) do store persistent state. What we want is for the onidriver_test's internal Test0 devices to have this behavior.
jonnew
changed the title
Store persistent state for onidriver_test
Store persistent state for devices in onidriver_test
Feb 22, 2024
Making changes to the Enable register for test devices has no effect as they only update during a reset. Resetting in this context means restarting the whole program, which overwrites any changes made to the registers anyway.
It would be good to store a persistent state for test devices that can be loaded by oni-repl and applied, mimicking real world hardware via a virtual state. For Linux, this configuration could be placed in /tmp, but I don't know the best place to store it for Windows installations.
The text was updated successfully, but these errors were encountered: