Hello,

I'm currently exploring adding new instructions to the RISC-V ISA. I
followed along with the gem5 bootcamp lectures on YouTube and successfully
created the add16 instruction.

Now, I'm curious if I can define an instruction that reads from a lookup
table. I'm hoping to simulate the functionality of a lookup table in the
instruction implementation. Can I define a global array in decoder.isa and
read from this global array in the instruction implementation in
decoder.isa? Or will this not work with the way code is autogenerated? Is
there a recommended way to implement this functionality?

Thank you!

Sincerely,

James
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to