Hey folks,
I've been working on custom instructions for RISC-V within Gem5 and am able
to manage basic logic. However, I'd like to implement a custom component
that interfaces with these new instructions and I'm having trouble figuring
out where to start. The custom instructions doc
<https://www.gem5.org/documentation/general_docs/architecture_support/isa_parser/>
doesn't give much information. I can see other types of instructions like
AtomicOps can get called but it's not clear how to extend this to my own
C++ class.

Are there any examples out there? If I have a CustomAdd instruction which
interfaces with a CustomAdder object, how do I connect the decoder.isa
instruction to that logic?
Thanks,
Nick
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to