VeeR-ISS icon indicating copy to clipboard operation
VeeR-ISS copied to clipboard

Custom Instructions

Open Ankelih opened this issue 1 year ago • 1 comments

Hello,

Is there a feature to add custom instructions like adding custom CSR?

Ankelih avatar Dec 12 '23 08:12 Ankelih

As far as I can tell from the source codes, modifying

https://github.com/chipsalliance/VeeR-ISS/blob/e6b4fb17bd9bf15a9df225bea804be663648903a/InstId.hpp#L408 https://github.com/chipsalliance/VeeR-ISS/blob/e6b4fb17bd9bf15a9df225bea804be663648903a/Hart.hpp#L1335 https://github.com/chipsalliance/VeeR-ISS/blob/e6b4fb17bd9bf15a9df225bea804be663648903a/Hart.cpp#L6324 https://github.com/chipsalliance/VeeR-ISS/blob/e6b4fb17bd9bf15a9df225bea804be663648903a/InstEntry.cpp#L2201

These four source files' relative sections under "// Custom" comments could let us achieve this. But since I haven't used it yet and only plan to do so, an insight regarding it or a possible feature implementation such as Spike's would be nice.

yesilzeytin avatar Dec 12 '23 11:12 yesilzeytin