hi @wuzheng,
can you speak a bit more about the runtime environment you’d like to support? does your accelerator integrate with a system running a traditional OS such as linux, or is the ASIC meant to be run as bare metal?
if bare metal, µTVM would be the way to go. accelerator support hasn’t landed yet, but is forthcoming and would be done with the BYOC flow @comaniac mentioned above. TVM produces binary instructions using a backend such as LLVM, so if no compiler exists to emit those, you would need to implement one. you also need to build a control library to start and stop compute on the accelerator.
if on linux, you’ll also need to implement a driver. you can still target this accelerator with TVM, but TVM would be emitting an artifact to be passed to the driver.
-Andrew