[TOPI] How to map our own instrcution set to the operator library?

Hello,

Our group has our own instruction set (.s files) of a FPGA-based accelerator. We hope to use VTA, but VTA doesn’t seem to support customization for different instruction sets. I saw one solution : create a TOPI Operator library for our accelerator.

May I directly override the operators by extern? To create such an operator library, should I refer to how you do with x86 or others? Are there any tutorials?

Thanks a lot