arrseq / lightning_processor

Processor project including emulator and HDL implementing the xT3 architecture
https://discord.gg/b67Wcd62pD
MIT License
4 stars 2 forks source link

Bad design with paged read interface #77

Closed x4exr closed 2 months ago

x4exr commented 2 months ago

Read interface should not be a thing, it forces the Api user to also have a weird ownership (nearly impossible to implement) structure with half referenced data and some owned.

x4exr commented 2 months ago

New plan: Keep the read interface, use take to set it up. Internally make translate address only translate the address then allow the read interface to work between pages to create a seamless experience. The real processor would translate all the addresses for a word, dword and qword