Closed fpedd closed 2 years ago
This behavior is indeed intended at the moment. Several features have to be added manually to the generated models: exception behavior, MMU, decoding of variable-length instructions, endianness conversion, GDB server stuff and others. This tool's predecessor also did not generate these parts, simply because it had no way to do so. The situation has not changed very much unfortunately, although generating exception behavior is a planned feature for the future.
For your specific case, you can most likely just copy over the non-generated parts from the existing files in ETISS.
As of now, M2-ISA-R does not generate any code for register printing via GDB in
RISCVVGDBCore.h
. It only provides a commentFurther register should be added here to send data over gdbserver
. Is that intended?The ArchImpl in ETISS has the mapRegister method already implemented.