sim: add SimValue and reading/writing more than just a scalar
sim: add SimValue and reading/writing more than just a scalar
add a simulator
I think this should be complete enough to merge once I add tests for enums and memories.
there are a few missing minor features still that I probably won't implement before merging:
- proper…